Google Cloud Video Transcoder V1 Client - Class BwdifConfig (1.0.0-RC1)

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

Bob Weaver Deinterlacing Filter Configuration.

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

Namespace

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

Methods

__construct

Constructor.

Parameters
Name Description
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

↳ 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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getDeinterlaceAllFrames

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

Returns
Type Description
bool

setDeinterlaceAllFrames

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

Parameter
Name Description
var bool
Returns
Type Description
$this