Google Cloud Video Transcoder V1 Client - Class YadifConfig (0.9.1)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class YadifConfig.

Yet Another Deinterlacing Filter Configuration.

Generated from protobuf message google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfig

Namespace

Google \ Cloud \ Video \ Transcoder \ V1 \ PreprocessingConfig \ Deinterlace

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ mode string

Specifies the deinterlacing mode to adopt. The default is send_frame. Supported values: - send_frame: Output one frame for each frame - send_field: Output one frame for each field

↳ disable_spatial_interlacing bool

Disable spacial interlacing. The default is false.

↳ parity string

The picture field parity assumed for the input interlaced video. The default is auto. Supported values: - tff: Assume the top field is first - bff: Assume the bottom field is first - auto: Enable automatic detection of field parity

↳ deinterlace_all_frames bool

Deinterlace all frames rather than just the frames identified as interlaced. The default is false.

getMode

Specifies the deinterlacing mode to adopt.

The default is send_frame. Supported values:

  • send_frame: Output one frame for each frame
  • send_field: Output one frame for each field
Returns
TypeDescription
string

setMode

Specifies the deinterlacing mode to adopt.

The default is send_frame. Supported values:

  • send_frame: Output one frame for each frame
  • send_field: Output one frame for each field
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisableSpatialInterlacing

Disable spacial interlacing.

The default is false.

Returns
TypeDescription
bool

setDisableSpatialInterlacing

Disable spacial interlacing.

The default is false.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getParity

The picture field parity assumed for the input interlaced video.

The default is auto. Supported values:

  • tff: Assume the top field is first
  • bff: Assume the bottom field is first
  • auto: Enable automatic detection of field parity
Returns
TypeDescription
string

setParity

The picture field parity assumed for the input interlaced video.

The default is auto. Supported values:

  • tff: Assume the top field is first
  • bff: Assume the bottom field is first
  • auto: Enable automatic detection of field parity
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeinterlaceAllFrames

Deinterlace all frames rather than just the frames identified as interlaced. The default is false.

Returns
TypeDescription
bool

setDeinterlaceAllFrames

Deinterlace all frames rather than just the frames identified as interlaced. The default is false.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this