GstCodecs.H266Decoder

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Element Gst.Element GstVideo.VideoDecoder GstVideo.VideoDecoder Gst.Element->GstVideo.VideoDecoder Gst.Object->Gst.Element GstCodecs.H266Decoder GstCodecs.H266Decoder GstVideo.VideoDecoder->GstCodecs.H266Decoder

Subclasses:

None

Methods

Inherited:

GstVideo.VideoDecoder (43), Gst.Element (82), Gst.Object (27), GObject.Object (37)

Structs:

Gst.ElementClass (10), GObject.ObjectClass (5)

Virtual Methods

Inherited:

GstVideo.VideoDecoder (21), Gst.Element (16), Gst.Object (1), GObject.Object (7)

do_decode_slice (picture, slice)

do_end_picture (picture)

do_get_preferred_output_delay (live)

do_new_picture (frame, picture)

do_output_picture (frame, picture)

do_start_picture (picture, slice, dpb)

Properties

Inherited:

GstVideo.VideoDecoder (6), Gst.Object (2)

Signals

Inherited:

Gst.Element (3), Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Element (3), Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

NumRefIdxActive

[int]

r

RefPicList

[GstCodecs.H266Picture]

r

RefPicLtPocList

[int]

r

RefPicPocList

[int]

r

RefPicScale

[int]

r

RprConstraintsActiveFlag

[bool]

r

aps_list

[[object]]

r

input_state

GstVideo.VideoCodecState

r

inter_layer_ref

[bool]

r

padding

[object]

r

parent

GstVideo.VideoDecoder

r

Class Details

class GstCodecs.H266Decoder(**kwargs)
Bases:

GstVideo.VideoDecoder

Abstract:

Yes

Structure:

GstCodecs.H266DecoderClass

The opaque GstCodecs.H266Decoder data structure.

New in version 1.26.

do_decode_slice(picture, slice) virtual
Parameters:
Return type:

Gst.FlowReturn

Provides per slice data with parsed slice header and required raw bitstream for subclass to decode it.

New in version 1.26.

do_end_picture(picture) virtual
Parameters:

picture (GstCodecs.H266Picture) – a GstCodecs.H266Picture

Return type:

Gst.FlowReturn

Optional. Called per one GstCodecs.H266Picture to notify subclass to finish decoding process for the GstCodecs.H266Picture

New in version 1.26.

do_get_preferred_output_delay(live) virtual
Parameters:

live (bool) – whether upstream is live or not

Returns:

the number of perferred delayed output frame

Return type:

int

Optional. Called by baseclass to query whether delaying output is preferred by subclass or not.

New in version 1.26.

do_new_picture(frame, picture) virtual
Parameters:
Return type:

Gst.FlowReturn

Optional. Called whenever new GstCodecs.H266Picture is created. Subclass can set implementation specific user data on the GstCodecs.H266Picture via gst_h266_picture_set_user_data

New in version 1.26.

do_output_picture(frame, picture) virtual
Parameters:
Return type:

Gst.FlowReturn

do_start_picture(picture, slice, dpb) virtual
Parameters:
Return type:

Gst.FlowReturn

Optional. Called per one GstCodecs.H266Picture to notify subclass to prepare decoding process for the GstCodecs.H266Picture

New in version 1.26.