VideoCodecFrame.this

Create a video_codec_frame.VideoCodecFrame boxed type.

  1. this(uint systemFrameNumber, gst.types.ClockTime dts, gst.types.ClockTime pts, gst.types.ClockTime duration, int distanceFromSync, gst.buffer.Buffer inputBuffer, gst.buffer.Buffer outputBuffer, gst.types.ClockTime deadline)
  2. this(void* ptr, Flag!"Take" take)

Parameters

systemFrameNumber uint

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

dts gst.types.ClockTime

Decoding timestamp

pts gst.types.ClockTime

Presentation timestamp

duration gst.types.ClockTime

Duration of the frame

distanceFromSync int

Distance in frames from the last synchronization point.

inputBuffer gst.buffer.Buffer

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 gst.buffer.Buffer

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.

deadline gst.types.ClockTime

Running time when the frame will be used.