GstBaseParseFrame

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.

Members

Variables

GstReservedI
uint[2] GstReservedI;
GstReservedP
void*[2] GstReservedP;
PrivateFlags
uint PrivateFlags;
buffer
GstBuffer* buffer;

input data to be parsed for frames.

flags
uint flags;

a combination of input and output #GstBaseParseFrameFlags that convey additional context to subclass or allow subclass to tune subsequent #GstBaseParse actions.

offset
ulong offset;

media specific offset of input frame Note that a converter may have a different one on the frame's buffer.

outBuffer
GstBuffer* outBuffer;

output data.

overhead
int overhead;

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 assumed that this frame should be skipped in bitrate calculation.

size
int size;