Table of Contents

Class CollectPads

Namespace
GstBase.Internal
Assembly
GstBase-1.0.dll
public class CollectPads
Inheritance
CollectPads
Inherited Members

Methods

AddPad(IntPtr, IntPtr, uint, CollectDataDestroyNotify, bool)

Calls native method gst_collect_pads_add_pad.

public static extern CollectDataUnownedHandle AddPad(IntPtr pads, IntPtr pad, uint size, CollectDataDestroyNotify destroyNotify, bool @lock)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

pad IntPtr

Transfer ownership: None Nullable: False

size uint

Transfer ownership: None Nullable: False

destroyNotify CollectDataDestroyNotify

Transfer ownership: None Nullable: False

lock bool

Returns

CollectDataUnownedHandle

Transfer ownership: None Nullable: True

Available(IntPtr)

Calls native method gst_collect_pads_available.

public static extern uint Available(IntPtr pads)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

EventDefault(IntPtr, CollectDataHandle, EventHandle, bool)

Calls native method gst_collect_pads_event_default.

public static extern bool EventDefault(IntPtr pads, CollectDataHandle data, EventHandle @event, bool discard)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

data CollectDataHandle

Transfer ownership: None Nullable: False

event EventHandle
discard bool

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Flush(IntPtr, CollectDataHandle, uint)

Calls native method gst_collect_pads_flush.

public static extern uint Flush(IntPtr pads, CollectDataHandle data, uint size)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

data CollectDataHandle

Transfer ownership: None Nullable: False

size uint

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetGType()

Calls native function gst_collect_pads_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New()

Calls native constructor gst_collect_pads_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

Peek(IntPtr, CollectDataHandle)

Calls native method gst_collect_pads_peek.

public static extern BufferOwnedHandle Peek(IntPtr pads, CollectDataHandle data)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

data CollectDataHandle

Transfer ownership: None Nullable: False

Returns

BufferOwnedHandle

Transfer ownership: Full Nullable: True

Pop(IntPtr, CollectDataHandle)

Calls native method gst_collect_pads_pop.

public static extern BufferOwnedHandle Pop(IntPtr pads, CollectDataHandle data)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

data CollectDataHandle

Transfer ownership: None Nullable: False

Returns

BufferOwnedHandle

Transfer ownership: Full Nullable: True

QueryDefault(IntPtr, CollectDataHandle, QueryHandle, bool)

Calls native method gst_collect_pads_query_default.

public static extern bool QueryDefault(IntPtr pads, CollectDataHandle data, QueryHandle query, bool discard)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

data CollectDataHandle

Transfer ownership: None Nullable: False

query QueryHandle

Transfer ownership: None Nullable: False

discard bool

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ReadBuffer(IntPtr, CollectDataHandle, uint)

Calls native method gst_collect_pads_read_buffer.

public static extern BufferOwnedHandle ReadBuffer(IntPtr pads, CollectDataHandle data, uint size)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

data CollectDataHandle

Transfer ownership: None Nullable: False

size uint

Transfer ownership: None Nullable: False

Returns

BufferOwnedHandle

Transfer ownership: Full Nullable: True

RemovePad(IntPtr, IntPtr)

Calls native method gst_collect_pads_remove_pad.

public static extern bool RemovePad(IntPtr pads, IntPtr pad)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

pad IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetBufferFunction(IntPtr, CollectPadsBufferFunction, IntPtr)

Calls native method gst_collect_pads_set_buffer_function.

public static extern void SetBufferFunction(IntPtr pads, CollectPadsBufferFunction func, IntPtr userData)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

func CollectPadsBufferFunction

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

SetCompareFunction(IntPtr, CollectPadsCompareFunction, IntPtr)

Calls native method gst_collect_pads_set_compare_function.

public static extern void SetCompareFunction(IntPtr pads, CollectPadsCompareFunction func, IntPtr userData)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

func CollectPadsCompareFunction

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

SetEventFunction(IntPtr, CollectPadsEventFunction, IntPtr)

Calls native method gst_collect_pads_set_event_function.

public static extern void SetEventFunction(IntPtr pads, CollectPadsEventFunction func, IntPtr userData)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

func CollectPadsEventFunction

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

SetFlushFunction(IntPtr, CollectPadsFlushFunction, IntPtr)

Calls native method gst_collect_pads_set_flush_function. Version: 1.4

[Version("1.4")]
public static extern void SetFlushFunction(IntPtr pads, CollectPadsFlushFunction func, IntPtr userData)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

func CollectPadsFlushFunction

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

SetFlushing(IntPtr, bool)

Calls native method gst_collect_pads_set_flushing.

public static extern void SetFlushing(IntPtr pads, bool flushing)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

flushing bool

Transfer ownership: None Nullable: False

SetFunction(IntPtr, CollectPadsFunction, IntPtr)

Calls native method gst_collect_pads_set_function.

public static extern void SetFunction(IntPtr pads, CollectPadsFunction func, IntPtr userData)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

func CollectPadsFunction

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

SetQueryFunction(IntPtr, CollectPadsQueryFunction, IntPtr)

Calls native method gst_collect_pads_set_query_function.

public static extern void SetQueryFunction(IntPtr pads, CollectPadsQueryFunction func, IntPtr userData)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

func CollectPadsQueryFunction

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

SetWaiting(IntPtr, CollectDataHandle, bool)

Calls native method gst_collect_pads_set_waiting.

public static extern void SetWaiting(IntPtr pads, CollectDataHandle data, bool waiting)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

data CollectDataHandle

Transfer ownership: None Nullable: False

waiting bool

Transfer ownership: None Nullable: False

SrcEventDefault(IntPtr, IntPtr, EventHandle)

Calls native method gst_collect_pads_src_event_default. Version: 1.4

[Version("1.4")]
public static extern bool SrcEventDefault(IntPtr pads, IntPtr pad, EventHandle @event)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

pad IntPtr

Transfer ownership: None Nullable: False

event EventHandle

Returns

bool

Transfer ownership: None Nullable: False

Start(IntPtr)

Calls native method gst_collect_pads_start.

public static extern void Start(IntPtr pads)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

Stop(IntPtr)

Calls native method gst_collect_pads_stop.

public static extern void Stop(IntPtr pads)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

TakeBuffer(IntPtr, CollectDataHandle, uint)

Calls native method gst_collect_pads_take_buffer.

public static extern BufferOwnedHandle TakeBuffer(IntPtr pads, CollectDataHandle data, uint size)

Parameters

pads IntPtr

Transfer ownership: None Nullable: False

data CollectDataHandle

Transfer ownership: None Nullable: False

size uint

Transfer ownership: None Nullable: False

Returns

BufferOwnedHandle

Transfer ownership: Full Nullable: True