Class BufferPool
public class BufferPool
- Inheritance
-
BufferPool
- Inherited Members
Methods
ConfigAddOption(StructureHandle, NonNullableUtf8StringHandle)
Calls native function gst_buffer_pool_config_add_option.
public static extern void ConfigAddOption(StructureHandle config, NonNullableUtf8StringHandle option)
Parameters
config
StructureHandleTransfer ownership: None Nullable: False
option
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
ConfigGetOption(StructureHandle, uint)
Calls native function gst_buffer_pool_config_get_option.
public static extern NullableUtf8StringUnownedHandle ConfigGetOption(StructureHandle config, uint index)
Parameters
config
StructureHandleTransfer ownership: None Nullable: False
index
uintTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
ConfigHasOption(StructureHandle, NonNullableUtf8StringHandle)
Calls native function gst_buffer_pool_config_has_option.
public static extern bool ConfigHasOption(StructureHandle config, NonNullableUtf8StringHandle option)
Parameters
config
StructureHandleTransfer ownership: None Nullable: False
option
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ConfigNOptions(StructureHandle)
Calls native function gst_buffer_pool_config_n_options.
public static extern uint ConfigNOptions(StructureHandle config)
Parameters
config
StructureHandleTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
ConfigSetAllocator(StructureHandle, IntPtr, AllocationParamsHandle)
Calls native function gst_buffer_pool_config_set_allocator.
public static extern void ConfigSetAllocator(StructureHandle config, IntPtr allocator, AllocationParamsHandle @params)
Parameters
config
StructureHandleTransfer ownership: None Nullable: False
allocator
IntPtrTransfer ownership: None Nullable: True
params
AllocationParamsHandle
ConfigSetParams(StructureHandle, CapsHandle, uint, uint, uint)
Calls native function gst_buffer_pool_config_set_params.
public static extern void ConfigSetParams(StructureHandle config, CapsHandle caps, uint size, uint minBuffers, uint maxBuffers)
Parameters
config
StructureHandleTransfer ownership: None Nullable: False
caps
CapsHandleTransfer ownership: None Nullable: True
size
uintTransfer ownership: None Nullable: False
minBuffers
uintTransfer ownership: None Nullable: False
maxBuffers
uintTransfer ownership: None Nullable: False
ConfigValidateParams(StructureHandle, CapsHandle, uint, uint, uint)
Calls native function gst_buffer_pool_config_validate_params. Version: 1.4
[Version("1.4")]
public static extern bool ConfigValidateParams(StructureHandle config, CapsHandle caps, uint size, uint minBuffers, uint maxBuffers)
Parameters
config
StructureHandleTransfer ownership: None Nullable: False
caps
CapsHandleTransfer ownership: None Nullable: True
size
uintTransfer ownership: None Nullable: False
minBuffers
uintTransfer ownership: None Nullable: False
maxBuffers
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetConfig(IntPtr)
Calls native method gst_buffer_pool_get_config.
public static extern StructureOwnedHandle GetConfig(IntPtr pool)
Parameters
pool
IntPtrTransfer ownership: None Nullable: False
Returns
- StructureOwnedHandle
Transfer ownership: Full Nullable: False
GetGType()
Calls native function gst_buffer_pool_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetOptions(IntPtr)
Calls native method gst_buffer_pool_get_options.
public static extern Utf8StringArrayNullTerminatedUnownedHandle GetOptions(IntPtr pool)
Parameters
pool
IntPtrTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: False
HasOption(IntPtr, NonNullableUtf8StringHandle)
Calls native method gst_buffer_pool_has_option.
public static extern bool HasOption(IntPtr pool, NonNullableUtf8StringHandle option)
Parameters
pool
IntPtrTransfer ownership: None Nullable: False
option
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsActive(IntPtr)
Calls native method gst_buffer_pool_is_active.
public static extern bool IsActive(IntPtr pool)
Parameters
pool
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
New()
Calls native constructor gst_buffer_pool_new.
public static extern IntPtr New()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
ReleaseBuffer(IntPtr, BufferUnownedHandle)
Calls native method gst_buffer_pool_release_buffer.
public static extern void ReleaseBuffer(IntPtr pool, BufferUnownedHandle buffer)
Parameters
pool
IntPtrTransfer ownership: None Nullable: False
buffer
BufferUnownedHandleTransfer ownership: Full Nullable: False
SetActive(IntPtr, bool)
Calls native method gst_buffer_pool_set_active.
public static extern bool SetActive(IntPtr pool, bool active)
Parameters
pool
IntPtrTransfer ownership: None Nullable: False
active
boolTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SetConfig(IntPtr, StructureUnownedHandle)
Calls native method gst_buffer_pool_set_config.
public static extern bool SetConfig(IntPtr pool, StructureUnownedHandle config)
Parameters
pool
IntPtrTransfer ownership: None Nullable: False
config
StructureUnownedHandleTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SetFlushing(IntPtr, bool)
Calls native method gst_buffer_pool_set_flushing. Version: 1.4
[Version("1.4")]
public static extern void SetFlushing(IntPtr pool, bool flushing)