gstvideo.video_codec_frame

Module for [VideoCodecFrame] class

Types 1

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

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
VideoCodecFrame self()Returns `this`, for use in `with` statements.
uint systemFrameNumber() @propertyGet `systemFrameNumber` field. Returns: 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 t...
void systemFrameNumber(uint propval) @propertySet `systemFrameNumber` field. Params: propval = 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...
gst.types.ClockTime dts() @propertyGet `dts` field. Returns: Decoding timestamp
void dts(gst.types.ClockTime propval) @propertySet `dts` field. Params: propval = Decoding timestamp
gst.types.ClockTime pts() @propertyGet `pts` field. Returns: Presentation timestamp
void pts(gst.types.ClockTime propval) @propertySet `pts` field. Params: propval = Presentation timestamp
gst.types.ClockTime duration() @propertyGet `duration` field. Returns: Duration of the frame
void duration(gst.types.ClockTime propval) @propertySet `duration` field. Params: propval = Duration of the frame
int distanceFromSync() @propertyGet `distanceFromSync` field. Returns: Distance in frames from the last synchronization point.
void distanceFromSync(int propval) @propertySet `distanceFromSync` field. Params: propval = Distance in frames from the last synchronization point.
gst.buffer.Buffer inputBuffer() @propertyGet `inputBuffer` field. Returns: 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.
void inputBuffer(gst.buffer.Buffer propval) @propertySet `inputBuffer` field. Params: propval = 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.
gst.buffer.Buffer outputBuffer() @propertyGet `outputBuffer` field. Returns: the output #GstBuffer. Implementations should set this either directly, or by using the [gstvideo.videodecoder.VideoDecoder.allocateOutputFrame] or [gstvideo.vide...
void outputBuffer(gst.buffer.Buffer propval) @propertySet `outputBuffer` field. Params: propval = the output #GstBuffer. Implementations should set this either directly, or by using the [gstvideo.videodecoder.VideoDecoder.allocateOutputFrame] or [gstv...
gst.types.ClockTime deadline() @propertyGet `deadline` field. Returns: Running time when the frame will be used.
void deadline(gst.types.ClockTime propval) @propertySet `deadline` field. Params: propval = Running time when the frame will be used.
void * getUserData()Gets private data set on the frame by the subclass via [gstvideo.videocodecframe.VideoCodecFrame.setUserData] previously. Returns: The previously set user_data
void setUserData(glib.types.DestroyNotify notify)Sets user_data on the frame and the #GDestroyNotify that will be called when the frame is freed. Allows to attach private data by the subclass to frames.
Constructors
this(uint systemFrameNumber = uint.init, gst.types.ClockTime dts = gst.types.ClockTime.init, gst.types.ClockTime pts = gst.types.ClockTime.init, gst.types.ClockTime duration = gst.types.ClockTime.init, int distanceFromSync = int.init, gst.buffer.Buffer inputBuffer = gst.buffer.Buffer.init, gst.buffer.Buffer outputBuffer = gst.buffer.Buffer.init, gst.types.ClockTime deadline = gst.types.ClockTime.init)Create a `videocodecframe.VideoCodecFrame` boxed type. Params: systemFrameNumber = Unique identifier for the frame. Use this if you need to get hold of the frame later (like when data is being deco...
this(void * ptr, Flag!"Take" take)