Table of Contents

Class EncodingProfile

Namespace
GstPbutils.Internal
Assembly
GstPbutils-1.0.dll
public class EncodingProfile
Inheritance
EncodingProfile
Inherited Members

Methods

Copy(IntPtr)

Calls native method gst_encoding_profile_copy. Version: 1.12

[Version("1.12")]
public static extern IntPtr Copy(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

Find(NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle)

Calls native function gst_encoding_profile_find.

public static extern IntPtr Find(NonNullableUtf8StringHandle targetname, NullableUtf8StringHandle profilename, NullableUtf8StringHandle category)

Parameters

targetname NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

profilename NullableUtf8StringHandle

Transfer ownership: None Nullable: True

category NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: True

FromDiscoverer(IntPtr)

Calls native function gst_encoding_profile_from_discoverer.

public static extern IntPtr FromDiscoverer(IntPtr info)

Parameters

info IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

GetAllowDynamicOutput(IntPtr)

Calls native method gst_encoding_profile_get_allow_dynamic_output.

public static extern bool GetAllowDynamicOutput(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetDescription(IntPtr)

Calls native method gst_encoding_profile_get_description.

public static extern NullableUtf8StringUnownedHandle GetDescription(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetElementProperties(IntPtr)

Calls native method gst_encoding_profile_get_element_properties. Version: 1.20

[Version("1.20")]
public static extern StructureOwnedHandle GetElementProperties(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

StructureOwnedHandle

Transfer ownership: Full Nullable: True

GetFileExtension(IntPtr)

Calls native method gst_encoding_profile_get_file_extension.

public static extern NullableUtf8StringUnownedHandle GetFileExtension(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetFormat(IntPtr)

Calls native method gst_encoding_profile_get_format.

public static extern CapsOwnedHandle GetFormat(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

CapsOwnedHandle

Transfer ownership: Full Nullable: False

GetGType()

Calls native function gst_encoding_profile_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetInputCaps(IntPtr)

Calls native method gst_encoding_profile_get_input_caps.

public static extern CapsOwnedHandle GetInputCaps(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

CapsOwnedHandle

Transfer ownership: Full Nullable: False

GetName(IntPtr)

Calls native method gst_encoding_profile_get_name.

public static extern NullableUtf8StringUnownedHandle GetName(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetPresence(IntPtr)

Calls native method gst_encoding_profile_get_presence.

public static extern uint GetPresence(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetPreset(IntPtr)

Calls native method gst_encoding_profile_get_preset.

public static extern NullableUtf8StringUnownedHandle GetPreset(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetPresetName(IntPtr)

Calls native method gst_encoding_profile_get_preset_name.

public static extern NullableUtf8StringUnownedHandle GetPresetName(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetRestriction(IntPtr)

Calls native method gst_encoding_profile_get_restriction.

public static extern CapsOwnedHandle GetRestriction(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

CapsOwnedHandle

Transfer ownership: Full Nullable: True

GetSingleSegment(IntPtr)

Calls native method gst_encoding_profile_get_single_segment. Version: 1.18

[Version("1.18")]
public static extern bool GetSingleSegment(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetTypeNick(IntPtr)

Calls native method gst_encoding_profile_get_type_nick.

public static extern NonNullableUtf8StringUnownedHandle GetTypeNick(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

IsEnabled(IntPtr)

Calls native method gst_encoding_profile_is_enabled.

public static extern bool IsEnabled(IntPtr profile)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsEqual(IntPtr, IntPtr)

Calls native method gst_encoding_profile_is_equal.

public static extern bool IsEqual(IntPtr a, IntPtr b)

Parameters

a IntPtr

Transfer ownership: None Nullable: False

b IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetAllowDynamicOutput(IntPtr, bool)

Calls native method gst_encoding_profile_set_allow_dynamic_output.

public static extern void SetAllowDynamicOutput(IntPtr profile, bool allowDynamicOutput)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

allowDynamicOutput bool

Transfer ownership: None Nullable: False

SetDescription(IntPtr, NullableUtf8StringHandle)

Calls native method gst_encoding_profile_set_description.

public static extern void SetDescription(IntPtr profile, NullableUtf8StringHandle description)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

description NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetElementProperties(IntPtr, StructureUnownedHandle)

Calls native method gst_encoding_profile_set_element_properties. Version: 1.20

[Version("1.20")]
public static extern void SetElementProperties(IntPtr self, StructureUnownedHandle elementProperties)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

elementProperties StructureUnownedHandle

Transfer ownership: Full Nullable: False

SetEnabled(IntPtr, bool)

Calls native method gst_encoding_profile_set_enabled. Version: 1.6

[Version("1.6")]
public static extern void SetEnabled(IntPtr profile, bool enabled)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

enabled bool

Transfer ownership: None Nullable: False

SetFormat(IntPtr, CapsHandle)

Calls native method gst_encoding_profile_set_format.

public static extern void SetFormat(IntPtr profile, CapsHandle format)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

format CapsHandle

Transfer ownership: None Nullable: False

SetName(IntPtr, NullableUtf8StringHandle)

Calls native method gst_encoding_profile_set_name.

public static extern void SetName(IntPtr profile, NullableUtf8StringHandle name)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

name NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetPresence(IntPtr, uint)

Calls native method gst_encoding_profile_set_presence.

public static extern void SetPresence(IntPtr profile, uint presence)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

presence uint

Transfer ownership: None Nullable: False

SetPreset(IntPtr, NullableUtf8StringHandle)

Calls native method gst_encoding_profile_set_preset.

public static extern void SetPreset(IntPtr profile, NullableUtf8StringHandle preset)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

preset NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetPresetName(IntPtr, NullableUtf8StringHandle)

Calls native method gst_encoding_profile_set_preset_name.

public static extern void SetPresetName(IntPtr profile, NullableUtf8StringHandle presetName)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

presetName NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetRestriction(IntPtr, CapsUnownedHandle)

Calls native method gst_encoding_profile_set_restriction.

public static extern void SetRestriction(IntPtr profile, CapsUnownedHandle restriction)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

restriction CapsUnownedHandle

Transfer ownership: Full Nullable: True

SetSingleSegment(IntPtr, bool)

Calls native method gst_encoding_profile_set_single_segment. Version: 1.18

[Version("1.18")]
public static extern void SetSingleSegment(IntPtr profile, bool singleSegment)

Parameters

profile IntPtr

Transfer ownership: None Nullable: False

singleSegment bool

Transfer ownership: None Nullable: False