VideoCodecState

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.

Constructors

this
this(gst.caps.Caps caps, gst.buffer.Buffer codecData, gst.caps.Caps allocationCaps)

Create a video_codec_state.VideoCodecState boxed type.

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
self
VideoCodecState self()

Returns this, for use in with statements.

Properties

allocationCaps
gst.caps.Caps allocationCaps [@property getter]

Get field allocationCaps.

allocationCaps
gst.caps.Caps allocationCaps [@property setter]

Set field allocationCaps.

caps
gst.caps.Caps caps [@property getter]

Get field caps.

caps
gst.caps.Caps caps [@property setter]

Set field caps.

codecData
gst.buffer.Buffer codecData [@property getter]

Get field codecData.

codecData
gst.buffer.Buffer codecData [@property setter]

Set field codecData.

contentLightLevel
gstvideo.video_content_light_level.VideoContentLightLevel contentLightLevel [@property getter]

Get field contentLightLevel.

gType
GType gType [@property getter]
info
gstvideo.video_info.VideoInfo info [@property getter]

Get field info.

masteringDisplayInfo
gstvideo.video_mastering_display_info.VideoMasteringDisplayInfo masteringDisplayInfo [@property getter]

Get field masteringDisplayInfo.

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.