gstvideo.video_codec_frame
Module for [VideoCodecFrame] class
class VideoCodecFrame
Types 1
A #GstVideoCodecFrame represents a video frame both in raw and encoded form.
Methods
uint systemFrameNumber() @property nothrowGet `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) @property nothrowSet `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...void dts(gst.types.ClockTime propval) @property nothrowSet `dts` field. Params: propval = Decoding timestampvoid pts(gst.types.ClockTime propval) @property nothrowSet `pts` field. Params: propval = Presentation timestampgst.types.ClockTime duration() @property nothrowGet `duration` field. Returns: Duration of the framevoid duration(gst.types.ClockTime propval) @property nothrowSet `duration` field. Params: propval = Duration of the frameint distanceFromSync() @property nothrowGet `distanceFromSync` field. Returns: Distance in frames from the last synchronization point.void distanceFromSync(int propval) @property nothrowSet `distanceFromSync` field. Params: propval = Distance in frames from the last synchronization point.gst.buffer.Buffer inputBuffer() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `outputBuffer` field. Returns: the output #GstBuffer. Implementations should set this either directly, or by using the [gstvideo.video_decoder.VideoDecoder.allocateOutputFrame] or [gstvideo.vid...void outputBuffer(gst.buffer.Buffer propval) @property nothrowSet `outputBuffer` field. Params: propval = the output #GstBuffer. Implementations should set this either directly, or by using the [gstvideo.video_decoder.VideoDecoder.allocateOutputFrame] or [gst...gst.types.ClockTime deadline() @property nothrowGet `deadline` field. Returns: Running time when the frame will be used.void deadline(gst.types.ClockTime propval) @property nothrowSet `deadline` field. Params: propval = Running time when the frame will be used.void * getUserData() nothrowGets private data set on the frame by the subclass via [gstvideo.video_codec_frame.VideoCodecFrame.setUserData] previously. Returns: The previously set user_datavoid setUserData(glib.types.DestroyNotify notify) nothrowSets 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 `video_codec_frame.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 de...