Google Cloud Video Transcoder V1 Client - Class BwdifConfig (0.8.2)

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
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

↳ 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

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