Class VideoInfo
- Namespace
- GstVideo
- Assembly
- GstVideo-1.0.dll
public sealed class VideoInfo : BoxedRecord, IEquatable<VideoInfo>
- Inheritance
-
VideoInfo
- Implements
- Inherited Members
Constructors
VideoInfo()
public VideoInfo()
VideoInfo(VideoInfoOwnedHandle)
public VideoInfo(VideoInfoOwnedHandle handle)
Parameters
handle
VideoInfoOwnedHandle
Properties
ChromaSite
public VideoChromaSite ChromaSite { get; set; }
Property Value
Flags
public VideoFlags Flags { get; set; }
Property Value
FpsD
public int FpsD { get; set; }
Property Value
FpsN
public int FpsN { get; set; }
Property Value
Handle
public VideoInfoOwnedHandle Handle { get; }
Property Value
Height
public int Height { get; set; }
Property Value
InterlaceMode
public VideoInterlaceMode InterlaceMode { get; set; }
Property Value
ParD
public int ParD { get; set; }
Property Value
ParN
public int ParN { get; set; }
Property Value
Size
public nuint Size { get; set; }
Property Value
Views
public int Views { get; set; }
Property Value
Width
public int Width { get; set; }
Property Value
Methods
Align(VideoAlignment)
public bool Align(VideoAlignment align)
Parameters
align
VideoAlignment
Returns
AlignFull(VideoAlignment, out nuint)
[Version("1.18")]
public bool AlignFull(VideoAlignment align, out nuint planeSize)
Parameters
align
VideoAlignmentplaneSize
nuint
Returns
Convert(Format, long, Format, out long)
public bool Convert(Format srcFormat, long srcValue, Format destFormat, out long destValue)
Parameters
Returns
Copy()
[Version("1.6")]
public VideoInfo Copy()
Returns
Equals(VideoInfo?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(VideoInfo? other)
Parameters
other
VideoInfoAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
[Version("1.6")]
public void Free()
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsEqual(VideoInfo)
public bool IsEqual(VideoInfo other)
Parameters
other
VideoInfo
Returns
New()
[Version("1.6")]
public static VideoInfo New()
Returns
NewFromCaps(Caps)
[Version("1.20")]
public static VideoInfo? NewFromCaps(Caps caps)
Parameters
caps
Caps
Returns
SetFormat(VideoFormat, uint, uint)
public bool SetFormat(VideoFormat format, uint width, uint height)
Parameters
format
VideoFormatwidth
uintheight
uint
Returns
SetInterlacedFormat(VideoFormat, VideoInterlaceMode, uint, uint)
[Version("1.16")]
public bool SetInterlacedFormat(VideoFormat format, VideoInterlaceMode mode, uint width, uint height)
Parameters
format
VideoFormatmode
VideoInterlaceModewidth
uintheight
uint
Returns
ToCaps()
public Caps ToCaps()