gstvideo.video_codec_state

Module for [VideoCodecState] class

Types 1

Structure representing the state of an incoming or outgoing video stream for encoders and decoders.

Decoders and encoders will receive such a state through their respective @set_format vmethods.

Decoders and encoders can set the downstream state, by using the [gstvideo.video_decoder.VideoDecoder.setOutputState] or [gstvideo.video_encoder.VideoEncoder.setOutputState] methods.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
VideoCodecState self()Returns `this`, for use in `with` statements.
gstvideo.video_info.VideoInfo info() @propertyGet `info` field. Returns: The #GstVideoInfo describing the stream
gst.caps.Caps caps() @propertyGet `caps` field. Returns: The #GstCaps used in the caps negotiation of the pad.
void caps(gst.caps.Caps propval) @propertySet `caps` field. Params: propval = The #GstCaps used in the caps negotiation of the pad.
gst.buffer.Buffer codecData() @propertyGet `codecData` field. Returns: a #GstBuffer corresponding to the 'codec_data' field of a stream, or NULL.
void codecData(gst.buffer.Buffer propval) @propertySet `codecData` field. Params: propval = a #GstBuffer corresponding to the 'codec_data' field of a stream, or NULL.
gst.caps.Caps allocationCaps() @propertyGet `allocationCaps` field. Returns: The #GstCaps for allocation query and pool negotiation. Since: 1.10
void allocationCaps(gst.caps.Caps propval) @propertySet `allocationCaps` field. Params: propval = The #GstCaps for allocation query and pool negotiation. Since: 1.10
gstvideo.video_mastering_display_info.VideoMasteringDisplayInfo masteringDisplayInfo() @propertyGet `masteringDisplayInfo` field. Returns: Mastering display color volume information (HDR metadata) for the stream.
gstvideo.video_content_light_level.VideoContentLightLevel contentLightLevel() @propertyGet `contentLightLevel` field. Returns: Content light level information for the stream.
Constructors
this(gst.caps.Caps caps = gst.caps.Caps.init, gst.buffer.Buffer codecData = gst.buffer.Buffer.init, gst.caps.Caps allocationCaps = gst.caps.Caps.init)Create a `videocodecstate.VideoCodecState` boxed type. Params: caps = The #GstCaps used in the caps negotiation of the pad. codecData = a #GstBuffer corresponding to the 'codec_data' field of a str...
this(void * ptr, Flag!"Take" take)