BaseParseFrame

Frame (context) data passed to each frame parsing virtual methods. In addition to providing the data to be checked for a valid frame or an already identified frame, it conveys additional metadata or control information from and to the subclass w.r.t. the particular frame in question (rather than global parameters). Some of these may apply to each parsing stage, others only to some a particular one. These parameters are effectively zeroed at start of each frame's processing, i.e. parsing virtual method invocation sequence.

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this(gst.buffer.Buffer buffer, gstbase.types.BaseParseFrameFlags flags, int overhead)

Allocates a new #GstBaseParseFrame. This function is mainly for bindings, elements written in C should usually allocate the frame on the stack and then use gstbase.base_parse_frame.BaseParseFrame.init_ to initialise it.

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
copy
gstbase.base_parse_frame.BaseParseFrame copy()

Copies a #GstBaseParseFrame.

init_
void init_()

Sets a #GstBaseParseFrame to initial state. Currently this means all public fields are zero-ed and a private flag is set to make sure gstbase.base_parse_frame.BaseParseFrame.free only frees the contents but not the actual frame. Use this function to initialise a #GstBaseParseFrame allocated on the stack.

self
BaseParseFrame self()

Returns this, for use in with statements.

Properties

buffer
gst.buffer.Buffer buffer [@property getter]

Get field buffer.

buffer
gst.buffer.Buffer buffer [@property setter]

Set field buffer.

flags
uint flags [@property getter]

Get field flags.

flags
uint flags [@property setter]

Set field flags.

gType
GType gType [@property getter]
offset
ulong offset [@property getter]

Get field offset.

offset
ulong offset [@property setter]

Set field offset.

outBuffer
gst.buffer.Buffer outBuffer [@property getter]

Get field outBuffer.

outBuffer
gst.buffer.Buffer outBuffer [@property setter]

Set field outBuffer.

overhead
int overhead [@property getter]

Get field overhead.

overhead
int overhead [@property setter]

Set field overhead.

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.