gstbase.base_parse_frame
Module for [BaseParseFrame] class
class BaseParseFrame
Types 1
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.
Methods
gst.buffer.Buffer buffer() @property nothrowGet `buffer` field. Returns: input data to be parsed for frames.void buffer(gst.buffer.Buffer propval) @property nothrowSet `buffer` field. Params: propval = input data to be parsed for frames.void outBuffer(gst.buffer.Buffer propval) @property nothrowSet `outBuffer` field. Params: propval = output data.uint flags() @property nothrowGet `flags` field. Returns: a combination of input and output #GstBaseParseFrameFlags that convey additional context to subclass or allow subclass to tune subsequent #GstBaseParse actions.void flags(uint propval) @property nothrowSet `flags` field. Params: propval = a combination of input and output #GstBaseParseFrameFlags that convey additional context to subclass or allow subclass to tune subsequent #GstBaseParse actions.ulong offset() @property nothrowGet `offset` field. Returns: media specific offset of input frame Note that a converter may have a different one on the frame's buffer.void offset(ulong propval) @property nothrowSet `offset` field. Params: propval = media specific offset of input frame Note that a converter may have a different one on the frame's buffer.int overhead() @property nothrowGet `overhead` field. Returns: subclass can set this to indicates the metadata overhead for the given frame, which is then used to enable more accurate bitrate computations. If this is -1, it is as...void overhead(int propval) @property nothrowSet `overhead` field. Params: propval = subclass can set this to indicates the metadata overhead for the given frame, which is then used to enable more accurate bitrate computations. If this is -1,...gstbase.base_parse_frame.BaseParseFrame copy() nothrowCopies a #GstBaseParseFrame. Returns: A copy of framevoid init_() nothrowSets 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 ...Constructors
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....