Table of Contents

Class BufferPool

Namespace
Gst
Assembly
Gst-1.0.dll
public class BufferPool : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
BufferPool
Implements
Derived
Inherited Members

Constructors

BufferPool()

public BufferPool()

BufferPool(params ConstructArgument[])

protected BufferPool(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

BufferPool(IntPtr, bool)

protected BufferPool(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

ConfigAddOption(Structure, string)

public static void ConfigAddOption(Structure config, string option)

Parameters

config Structure
option string

ConfigGetOption(Structure, uint)

public static string? ConfigGetOption(Structure config, uint index)

Parameters

config Structure
index uint

Returns

string

ConfigHasOption(Structure, string)

public static bool ConfigHasOption(Structure config, string option)

Parameters

config Structure
option string

Returns

bool

ConfigNOptions(Structure)

public static uint ConfigNOptions(Structure config)

Parameters

config Structure

Returns

uint

ConfigSetAllocator(Structure, Allocator?, AllocationParams?)

public static void ConfigSetAllocator(Structure config, Allocator? allocator, AllocationParams? @params)

Parameters

config Structure
allocator Allocator
params AllocationParams

ConfigSetParams(Structure, Caps?, uint, uint, uint)

public static void ConfigSetParams(Structure config, Caps? caps, uint size, uint minBuffers, uint maxBuffers)

Parameters

config Structure
caps Caps
size uint
minBuffers uint
maxBuffers uint

ConfigValidateParams(Structure, Caps?, uint, uint, uint)

[Version("1.4")]
public static bool ConfigValidateParams(Structure config, Caps? caps, uint size, uint minBuffers, uint maxBuffers)

Parameters

config Structure
caps Caps
size uint
minBuffers uint
maxBuffers uint

Returns

bool

GetConfig()

public Structure GetConfig()

Returns

Structure

GetGType()

public static Type GetGType()

Returns

Type

GetOptions()

public string[] GetOptions()

Returns

string[]

HasOption(string)

public bool HasOption(string option)

Parameters

option string

Returns

bool

IsActive()

public bool IsActive()

Returns

bool

New()

public static BufferPool New()

Returns

BufferPool

ReleaseBuffer(Buffer)

public void ReleaseBuffer(Buffer buffer)

Parameters

buffer Buffer

SetActive(bool)

public bool SetActive(bool active)

Parameters

active bool

Returns

bool

SetConfig(Structure)

public bool SetConfig(Structure config)

Parameters

config Structure

Returns

bool

SetFlushing(bool)

[Version("1.4")]
public void SetFlushing(bool flushing)

Parameters

flushing bool