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
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 |
↳ disable_spatial_interlacing |
bool
Disable spacial interlacing. The default is |
↳ parity |
string
The picture field parity assumed for the input interlaced video. The default is |
↳ deinterlace_all_frames |
bool
Deinterlace all frames rather than just the frames identified as interlaced. The default is |
getMode
Specifies the deinterlacing mode to adopt.
The default is send_frame
.
Supported values:
send_frame
: Output one frame for each framesend_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 framesend_field
: Output one frame for each field
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisableSpatialInterlacing
Disable spacial interlacing.
The default is false
.
Returns | |
---|---|
Type | Description |
bool |
setDisableSpatialInterlacing
Disable spacial interlacing.
The default is false
.
Parameter | |
---|---|
Name | Description |
var |
bool
|
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 firstbff
: Assume the bottom field is firstauto
: 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 firstbff
: Assume the bottom field is firstauto
: 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 |