GstVideoCodecFrame

A #GstVideoCodecFrame represents a video frame both in raw and encoded form.

Members

Unions

AbidataType
union AbidataType

Variables

deadline
GstClockTime deadline;

Running time when the frame will be used.

decodeFrameNumber
uint decodeFrameNumber;
distanceFromSync
int distanceFromSync;

Distance in frames from the last synchronization point.

dts
GstClockTime dts;

Decoding timestamp

duration
GstClockTime duration;

Duration of the frame

events
GList* events;
flags
uint flags;
inputBuffer
GstBuffer* inputBuffer;

the input #GstBuffer that created this frame. The buffer is owned by the frame and references to the frame instead of the buffer should be kept.

outputBuffer
GstBuffer* outputBuffer;

the output #GstBuffer. Implementations should set this either directly, or by using the gstvideo.video_decoder.VideoDecoder.allocateOutputFrame or gstvideo.video_decoder.VideoDecoder.allocateOutputBuffer methods. The buffer is owned by the frame and references to the frame instead of the buffer should be kept.

presentationFrameNumber
uint presentationFrameNumber;
pts
GstClockTime pts;

Presentation timestamp

refCount
int refCount;
systemFrameNumber
uint systemFrameNumber;

Unique identifier for the frame. Use this if you need to get hold of the frame later (like when data is being decoded). Typical usage in decoders is to set this on the opaque value provided to the library and get back the frame using gstvideo.video_decoder.VideoDecoder.getFrame

userData
void* userData;
userDataDestroyNotify
GDestroyNotify userDataDestroyNotify;