## GstInterpolationControlSource GstInterpolationControlSource — interpolation control source |

## Synopsis

    #include <libs/controller/gstinterpolationcontrolsource.h>

    struct              GstInterpolationControlSource;
    enum                GstInterpolationMode;
    GstControlSource *  gst_interpolation_control_source_new
                                                            (void);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GstObject
                   +----GstControlSource
                         +----GstTimedValueControlSource
                               +----GstInterpolationControlSource

## Properties

      "mode"                     GstInterpolationMode  : Read / Write

## Description

GstInterpolationControlSource is a GstControlSource, that interpolates values between user-given control points. It supports several interpolation modes and property types.

To use GstInterpolationControlSource get a new instance by calling `gst_interpolation_control_source_new()`, bind it to a GParamSpec and set some control points by calling `gst_timed_value_control_source_set()`.

All functions are MT-safe.

## Details

### struct GstInterpolationControlSource

    struct GstInterpolationControlSource;

The instance structure of GstControlSource.

### enum GstInterpolationMode

    typedef enum {
      GST_INTERPOLATION_MODE_NONE,
      GST_INTERPOLATION_MODE_LINEAR,
      GST_INTERPOLATION_MODE_CUBIC
    } GstInterpolationMode;

The various interpolation modes available.

`GST_INTERPOLATION_MODE_NONE` | steps-like interpolation, default
`GST_INTERPOLATION_MODE_LINEAR` | linear interpolation
`GST_INTERPOLATION_MODE_CUBIC` | cubic interpolation

### gst_interpolation_control_source_new ()

    GstControlSource *  gst_interpolation_control_source_new
                                                            (void);

This returns a new, unbound GstInterpolationControlSource.

Returns : | a new, unbound GstInterpolationControlSource. [transfer full]

## Property Details

### The `"mode"` property

      "mode"                     GstInterpolationMode  : Read / Write

Interpolation mode.

Default value: GST_INTERPOLATION_MODE_NONE