Table of Contents

Class VideoInfo

Namespace
GstVideo.Internal
Assembly
GstVideo-1.0.dll
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 VideoInfoHandle

Transfer ownership: None Nullable: False

align VideoAlignmentHandle

Transfer 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 VideoInfoHandle

Transfer ownership: None Nullable: False

align VideoAlignmentHandle

Transfer ownership: None Nullable: False

planeSize nuint

Transfer 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 VideoInfoHandle

Transfer ownership: None Nullable: False

srcFormat Format

Transfer ownership: None Nullable: False

srcValue long

Transfer ownership: None Nullable: False

destFormat Format

Transfer ownership: None Nullable: False

destValue long

Transfer 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 VideoInfoHandle

Transfer 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 VideoInfoHandle

Transfer 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 VideoInfoHandle

Transfer ownership: None Nullable: False

other VideoInfoHandle

Transfer 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 CapsHandle

Transfer 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 VideoInfoHandle

Transfer ownership: None Nullable: False

format VideoFormat

Transfer ownership: None Nullable: False

width uint

Transfer ownership: None Nullable: False

height uint

Transfer 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 VideoInfoHandle

Transfer ownership: None Nullable: False

format VideoFormat

Transfer ownership: None Nullable: False

mode VideoInterlaceMode

Transfer ownership: None Nullable: False

width uint

Transfer ownership: None Nullable: False

height uint

Transfer 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 VideoInfoHandle

Transfer ownership: None Nullable: False

Returns

CapsOwnedHandle

Transfer ownership: Full Nullable: False