public static final class PreprocessingConfig.Deinterlace.YadifConfig extends GeneratedMessageV3 implements PreprocessingConfig.Deinterlace.YadifConfigOrBuilder
Yet Another Deinterlacing Filter Configuration.
Protobuf type
google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfig
Static Fields
DEINTERLACE_ALL_FRAMES_FIELD_NUMBER
public static final int DEINTERLACE_ALL_FRAMES_FIELD_NUMBER
Field Value
DISABLE_SPATIAL_INTERLACING_FIELD_NUMBER
public static final int DISABLE_SPATIAL_INTERLACING_FIELD_NUMBER
Field Value
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
Field Value
PARITY_FIELD_NUMBER
public static final int PARITY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PreprocessingConfig.Deinterlace.YadifConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilder()
Returns
newBuilder(PreprocessingConfig.Deinterlace.YadifConfig prototype)
public static PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilder(PreprocessingConfig.Deinterlace.YadifConfig prototype)
Parameter
Returns
public static PreprocessingConfig.Deinterlace.YadifConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PreprocessingConfig.Deinterlace.YadifConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PreprocessingConfig.Deinterlace.YadifConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PreprocessingConfig.Deinterlace.YadifConfig getDefaultInstanceForType()
Returns
getDeinterlaceAllFrames()
public boolean getDeinterlaceAllFrames()
Deinterlace all frames rather than just the frames identified as
interlaced. The default is false
.
bool deinterlace_all_frames = 4;
Returns
Type | Description |
boolean | The deinterlaceAllFrames.
|
getDisableSpatialInterlacing()
public boolean getDisableSpatialInterlacing()
Disable spacial interlacing.
The default is false
.
bool disable_spatial_interlacing = 2;
Returns
Type | Description |
boolean | The disableSpatialInterlacing.
|
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
string mode = 1;
Returns
Type | Description |
String | The mode.
|
getModeBytes()
public ByteString getModeBytes()
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
string mode = 1;
Returns
getParity()
public String 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
string parity = 3;
Returns
Type | Description |
String | The parity.
|
getParityBytes()
public ByteString getParityBytes()
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
string parity = 3;
Returns
getParserForType()
public Parser<PreprocessingConfig.Deinterlace.YadifConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PreprocessingConfig.Deinterlace.YadifConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions