Class PreprocessingConfig.Deinterlace.YadifConfig (1.39.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
TypeDescription
int

DISABLE_SPATIAL_INTERLACING_FIELD_NUMBER

public static final int DISABLE_SPATIAL_INTERLACING_FIELD_NUMBER
Field Value
TypeDescription
int

MODE_FIELD_NUMBER

public static final int MODE_FIELD_NUMBER
Field Value
TypeDescription
int

PARITY_FIELD_NUMBER

public static final int PARITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PreprocessingConfig.Deinterlace.YadifConfig getDefaultInstance()
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilder()
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder

newBuilder(PreprocessingConfig.Deinterlace.YadifConfig prototype)

public static PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilder(PreprocessingConfig.Deinterlace.YadifConfig prototype)
Parameter
NameDescription
prototypePreprocessingConfig.Deinterlace.YadifConfig
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder

parseDelimitedFrom(InputStream input)

public static PreprocessingConfig.Deinterlace.YadifConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Deinterlace.YadifConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PreprocessingConfig.Deinterlace.YadifConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
boolean

The deinterlaceAllFrames.

getDisableSpatialInterlacing()

public boolean getDisableSpatialInterlacing()

Disable spacial interlacing. The default is false.

bool disable_spatial_interlacing = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parity.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilderForType()
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreprocessingConfig.Deinterlace.YadifConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder toBuilder()
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException