Class VideoInfo
public class VideoInfo
- Inheritance
-
VideoInfo
- Inherited Members
Methods
Align(VideoInfoHandle, VideoAlignmentHandle)
Calls native method gst_video_info_align.
public static extern bool Align(VideoInfoHandle info, VideoAlignmentHandle align)
Parameters
info
VideoInfoHandleTransfer ownership: None Nullable: False
align
VideoAlignmentHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
AlignFull(VideoInfoHandle, VideoAlignmentHandle, out nuint)
Calls native method gst_video_info_align_full. Version: 1.18
[Version("1.18")]
public static extern bool AlignFull(VideoInfoHandle info, VideoAlignmentHandle align, out nuint planeSize)
Parameters
info
VideoInfoHandleTransfer ownership: None Nullable: False
align
VideoAlignmentHandleTransfer ownership: None Nullable: False
planeSize
nuintTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Convert(VideoInfoHandle, Format, long, Format, out long)
Calls native method gst_video_info_convert.
public static extern bool Convert(VideoInfoHandle info, Format srcFormat, long srcValue, Format destFormat, out long destValue)
Parameters
info
VideoInfoHandleTransfer ownership: None Nullable: False
srcFormat
FormatTransfer ownership: None Nullable: False
srcValue
longTransfer ownership: None Nullable: False
destFormat
FormatTransfer ownership: None Nullable: False
destValue
longTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Copy(VideoInfoHandle)
Calls native method gst_video_info_copy. Version: 1.6
[Version("1.6")]
public static extern VideoInfoOwnedHandle Copy(VideoInfoHandle info)
Parameters
info
VideoInfoHandleTransfer ownership: None Nullable: False
Returns
- VideoInfoOwnedHandle
Transfer ownership: Full Nullable: False
Free(VideoInfoHandle)
Calls native method gst_video_info_free. Version: 1.6
[Version("1.6")]
public static extern void Free(VideoInfoHandle info)
Parameters
info
VideoInfoHandleTransfer ownership: None Nullable: False
GetGType()
Calls native function gst_video_info_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
IsEqual(VideoInfoHandle, VideoInfoHandle)
Calls native method gst_video_info_is_equal.
public static extern bool IsEqual(VideoInfoHandle info, VideoInfoHandle other)
Parameters
info
VideoInfoHandleTransfer ownership: None Nullable: False
other
VideoInfoHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
New()
Calls native constructor gst_video_info_new. Version: 1.6
[Version("1.6")]
public static extern VideoInfoOwnedHandle New()
Returns
- VideoInfoOwnedHandle
Transfer ownership: Full Nullable: False
NewFromCaps(CapsHandle)
Calls native constructor gst_video_info_new_from_caps. Version: 1.20
[Version("1.20")]
public static extern VideoInfoOwnedHandle NewFromCaps(CapsHandle caps)
Parameters
caps
CapsHandleTransfer ownership: None Nullable: False
Returns
- VideoInfoOwnedHandle
Transfer ownership: Full Nullable: True
SetFormat(VideoInfoHandle, VideoFormat, uint, uint)
Calls native method gst_video_info_set_format.
public static extern bool SetFormat(VideoInfoHandle info, VideoFormat format, uint width, uint height)
Parameters
info
VideoInfoHandleTransfer ownership: None Nullable: False
format
VideoFormatTransfer ownership: None Nullable: False
width
uintTransfer ownership: None Nullable: False
height
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SetInterlacedFormat(VideoInfoHandle, VideoFormat, VideoInterlaceMode, uint, uint)
Calls native method gst_video_info_set_interlaced_format. Version: 1.16
[Version("1.16")]
public static extern bool SetInterlacedFormat(VideoInfoHandle info, VideoFormat format, VideoInterlaceMode mode, uint width, uint height)
Parameters
info
VideoInfoHandleTransfer ownership: None Nullable: False
format
VideoFormatTransfer ownership: None Nullable: False
mode
VideoInterlaceModeTransfer ownership: None Nullable: False
width
uintTransfer ownership: None Nullable: False
height
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ToCaps(VideoInfoHandle)
Calls native method gst_video_info_to_caps.
public static extern CapsOwnedHandle ToCaps(VideoInfoHandle info)
Parameters
info
VideoInfoHandleTransfer ownership: None Nullable: False
Returns
- CapsOwnedHandle
Transfer ownership: Full Nullable: False