GstVaapiPostproc

GstVaapiPostproc — A video postprocessing filter

Synopsis

struct              GstVaapiPostproc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstBaseTransform
                           +----GstVaapiPostproc

Implemented Interfaces

GstVaapiPostproc implements GstVideoContext.

Properties

  "brightness"               gfloat                : Read / Write
  "contrast"                 gfloat                : Read / Write
  "deinterlace-method"       GstVaapiDeinterlaceMethod  : Read / Write
  "deinterlace-mode"         GstVaapiDeinterlaceMode  : Read / Write
  "denoise"                  gfloat                : Read / Write
  "force-aspect-ratio"       gboolean              : Read / Write
  "format"                   GstVideoFormat        : Read / Write
  "height"                   guint                 : Read / Write
  "hue"                      gfloat                : Read / Write
  "saturation"               gfloat                : Read / Write
  "sharpen"                  gfloat                : Read / Write
  "width"                    guint                 : Read / Write

Description

vaapipostproc consists in various postprocessing algorithms to be applied to VA surfaces. So far, only basic bob deinterlacing is implemented.

Details

struct GstVaapiPostproc

struct GstVaapiPostproc;

Property Details

The "brightness" property

  "brightness"               gfloat                : Read / Write

The color brightness, expressed as a float value. Range is -1.0 to 1.0. Default value is 0.0 and represents no modification.

Allowed values: [-1,1]

Default value: 0


The "contrast" property

  "contrast"                 gfloat                : Read / Write

The color contrast, expressed as a float value. Range is 0.0 to 2.0. Default value is 1.0 and represents no modification.

Allowed values: [0,2]

Default value: 1


The "deinterlace-method" property

  "deinterlace-method"       GstVaapiDeinterlaceMethod  : Read / Write

This selects the deinterlacing method to apply.

Default value: Bob deinterlacing


The "deinterlace-mode" property

  "deinterlace-mode"         GstVaapiDeinterlaceMode  : Read / Write

This selects whether the deinterlacing should always be applied or if they should only be applied on content that has the "interlaced" flag on the caps.

Default value: Auto detection


The "denoise" property

  "denoise"                  gfloat                : Read / Write

The level of noise reduction to apply.

Allowed values: [0,1]

Default value: 0


The "force-aspect-ratio" property

  "force-aspect-ratio"       gboolean              : Read / Write

When enabled, scaling respects video aspect ratio; when disabled, the video is distorted to fit the width and height properties.

Default value: TRUE


The "format" property

  "format"                   GstVideoFormat        : Read / Write

The forced output pixel format, expressed as a GstVideoFormat.

Default value: GST_VIDEO_FORMAT_UNKNOWN


The "height" property

  "height"                   guint                 : Read / Write

The forced output height in pixels. If set to zero, the height is calculated from the width if aspect ration is preserved, or inherited from the sink caps height

Allowed values: <= G_MAXLONG

Default value: 0


The "hue" property

  "hue"                      gfloat                : Read / Write

The color hue, expressed as a float value. Range is -180.0 to 180.0. Default value is 0.0 and represents no modification.

Allowed values: [-180,180]

Default value: 0


The "saturation" property

  "saturation"               gfloat                : Read / Write

The color saturation, expressed as a float value. Range is 0.0 to 2.0. Default value is 1.0 and represents no modification.

Allowed values: [0,2]

Default value: 1


The "sharpen" property

  "sharpen"                  gfloat                : Read / Write

The level of sharpening to apply for positive values, or the level of blurring for negative values.

Allowed values: [-1,1]

Default value: 0


The "width" property

  "width"                    guint                 : Read / Write

The forced output width in pixels. If set to zero, the width is calculated from the height if aspect ration is preserved, or inherited from the sink caps width

Allowed values: <= G_MAXLONG

Default value: 0