Class PreprocessingConfig.Deinterlace.YadifConfig (1.52.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PreprocessingConfig.Deinterlace.YadifConfig

Static Fields

DEINTERLACE_ALL_FRAMES_FIELD_NUMBER

public static final int DEINTERLACE_ALL_FRAMES_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_SPATIAL_INTERLACING_FIELD_NUMBER

public static final int DISABLE_SPATIAL_INTERLACING_FIELD_NUMBER
Field Value
Type Description
int

MODE_FIELD_NUMBER

public static final int MODE_FIELD_NUMBER
Field Value
Type Description
int

PARITY_FIELD_NUMBER

public static final int PARITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PreprocessingConfig.Deinterlace.YadifConfig getDefaultInstance()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilder()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

newBuilder(PreprocessingConfig.Deinterlace.YadifConfig prototype)

public static PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilder(PreprocessingConfig.Deinterlace.YadifConfig prototype)
Parameter
Name Description
prototype PreprocessingConfig.Deinterlace.YadifConfig
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

parseDelimitedFrom(InputStream input)

public static PreprocessingConfig.Deinterlace.YadifConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PreprocessingConfig.Deinterlace.YadifConfig> parser()
Returns
Type Description
Parser<YadifConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PreprocessingConfig.Deinterlace.YadifConfig getDefaultInstanceForType()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig

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

public String 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
Type Description
ByteString

The bytes for mode.

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
Type Description
ByteString

The bytes for parity.

getParserForType()

public Parser<PreprocessingConfig.Deinterlace.YadifConfig> getParserForType()
Returns
Type Description
Parser<YadifConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilderForType()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder toBuilder()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException