Class VideoBufferInfo
public sealed class VideoBufferInfo : Google.Protobuf.IMessage<VideoBufferInfo>, Google.Protobuf.IBufferMessage
- Inheritance
-
VideoBufferInfo
- Implements
-
IBufferMessage
- Extension Methods
Constructors
VideoBufferInfo()
public VideoBufferInfo()
VideoBufferInfo(VideoBufferInfo)
public VideoBufferInfo(VideoBufferInfo other)
Parameters
otherVideoBufferInfo
Fields
ComponentsFieldNumber
Field number for the "components" field.
public const int ComponentsFieldNumber = 7
Field Value
DataPtrFieldNumber
Field number for the "data_ptr" field.
public const int DataPtrFieldNumber = 4
Field Value
HeightFieldNumber
Field number for the "height" field.
public const int HeightFieldNumber = 3
Field Value
StrideFieldNumber
Field number for the "stride" field.
public const int StrideFieldNumber = 6
Field Value
TypeFieldNumber
Field number for the "type" field.
public const int TypeFieldNumber = 1
Field Value
WidthFieldNumber
Field number for the "width" field.
public const int WidthFieldNumber = 2
Field Value
Properties
Components
public Google.Protobuf.Collections.RepeatedField<VideoBufferInfo.Types.ComponentInfo> Components { get; }
Property Value
- RepeatedField<ComponentInfo>
DataPtr
public ulong DataPtr { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasDataPtr
Gets whether the "data_ptr" field is set
public bool HasDataPtr { get; }
Property Value
HasHeight
Gets whether the "height" field is set
public bool HasHeight { get; }
Property Value
HasStride
Gets whether the "stride" field is set
public bool HasStride { get; }
Property Value
HasType
Gets whether the "type" field is set
public bool HasType { get; }
Property Value
HasWidth
Gets whether the "width" field is set
public bool HasWidth { get; }
Property Value
Height
public uint Height { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<VideoBufferInfo> Parser { get; }
Property Value
- MessageParser<VideoBufferInfo>
Stride
only for packed formats
public uint Stride { get; set; }
Property Value
Type
public VideoBufferType Type { get; set; }
Property Value
Width
public uint Width { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearDataPtr()
Clears the value of the "data_ptr" field
public void ClearDataPtr()
ClearHeight()
Clears the value of the "height" field
public void ClearHeight()
ClearStride()
Clears the value of the "stride" field
public void ClearStride()
ClearType()
Clears the value of the "type" field
public void ClearType()
ClearWidth()
Clears the value of the "width" field
public void ClearWidth()
Clone()
public VideoBufferInfo Clone()
Returns
Equals(VideoBufferInfo)
public bool Equals(VideoBufferInfo other)
Parameters
otherVideoBufferInfo
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(VideoBufferInfo)
public void MergeFrom(VideoBufferInfo other)
Parameters
otherVideoBufferInfo
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream