Gstav1Decoder

GstAV1Decoder

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstVideoDecoder
                    ╰──GstAV1Decoder

The opaque GstAV1Decoder data structure.

Since : 1.20


Class structure

GstAV1DecoderClass

Fields
parent_class (GstVideoDecoderClass) –
No description available

Virtual Methods

decode_tile

GstFlowReturn
decode_tile (GstAV1Decoder * decoder,
             GstAV1Picture * picture,
             GstAV1Tile * tile)

Provides the tile data with tile group header and required raw bitstream for subclass to decode it.

Parameters:

decoder

a GstAV1Decoder

picture ( [transfer: none])

a GstAV1Picture

tile ( [transfer: none])

a GstAV1Tile

Returns
No description available

Since : 1.20


duplicate_picture

GstAV1Picture *
duplicate_picture (GstAV1Decoder * decoder,
                   GstVideoCodecFrame * frame,
                   GstAV1Picture * picture)

Called when need to duplicate an existing GstAV1Picture. As duplicated key-frame will populate the DPB, this virtual function is not optional.

Parameters:

decoder

a GstAV1Decoder

frame ( [transfer: none])

the current GstVideoCodecFrame

picture ( [transfer: none])

a GstAV1Picture

Returns
No description available

Since : 1.22


end_picture

GstFlowReturn
end_picture (GstAV1Decoder * decoder,
             GstAV1Picture * picture)

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

Parameters:

decoder

a GstAV1Decoder

picture ( [transfer: none])

a GstAV1Picture

Returns
No description available

Since : 1.20


get_preferred_output_delay

guint
get_preferred_output_delay (GstAV1Decoder * decoder,
                            gboolean live)

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

Parameters:

decoder

a GstAV1Decoder

live

whether upstream is live or not

Returns

the number of perferred delayed output frame

Since : 1.22


new_picture

GstFlowReturn
new_picture (GstAV1Decoder * decoder,
             GstVideoCodecFrame * frame,
             GstAV1Picture * picture)

Optional. Called whenever new GstAV1Picture is created. Subclass can set implementation specific user data on the GstAV1Picture via gst_av1_picture_set_user_data

Parameters:

decoder

a GstAV1Decoder

frame ( [transfer: none])

a GstVideoCodecFrame

picture ( [transfer: none])

a GstAV1Picture

Returns
No description available

Since : 1.20


new_sequence

GstFlowReturn
new_sequence (GstAV1Decoder * decoder,
              const GstAV1SequenceHeaderOBU * seq_hdr,
              gint max_dpb_size)

Notifies subclass of SPS update

Parameters:

decoder

a GstAV1Decoder

seq_hdr

a GstAV1SequenceHeaderOBU

max_dpb_size

the size of dpb including preferred output delay by subclass reported via get_preferred_output_delay method.

Returns
No description available

Since : 1.20


output_picture

GstFlowReturn
output_picture (GstAV1Decoder * decoder,
                GstVideoCodecFrame * frame,
                GstAV1Picture * picture)

Called with a GstAV1Picture which is required to be outputted. The GstVideoCodecFrame must be consumed by subclass.

Parameters:

decoder

a GstAV1Decoder

frame ( [transfer: full])

a GstVideoCodecFrame

picture ( [transfer: full])

a GstAV1Picture

Returns
No description available

Since : 1.20


start_picture

GstFlowReturn
start_picture (GstAV1Decoder * decoder,
               GstAV1Picture * picture,
               GstAV1Dpb * dpb)

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

Parameters:

decoder

a GstAV1Decoder

picture ( [transfer: none])

a GstAV1Picture

dpb ( [transfer: none])

a GstAV1Dpb

Returns
No description available

Since : 1.20


GstAV1Dpb

Members

pic_list (GstAV1Picture *) –
No description available

Since : 1.20


Methods

gst_av1_dpb_add

gst_av1_dpb_add (GstAV1Dpb * dpb,
                 GstAV1Picture * picture)

Store the picture

Parameters:

dpb

a GstAV1Dpb

picture ( [transfer: full])

a GstAV1Picture

Since : 1.20


gst_av1_dpb_clear

gst_av1_dpb_clear (GstAV1Dpb * dpb)

Clear all stored GstAV1Picture

Parameters:

dpb

a GstAV1Dpb

Since : 1.20


gst_av1_dpb_free

gst_av1_dpb_free (GstAV1Dpb * dpb)

Free the dpb

Parameters:

dpb

a GstAV1Dpb to free

Since : 1.20


Functions

gst_av1_dpb_new

GstAV1Dpb *
gst_av1_dpb_new ()

Create new GstAV1Dpb

Returns

a new GstAV1Dpb

Since : 1.20


GstAV1Picture

Since : 1.20


Constructors

gst_av1_picture_new

GstAV1Picture *
gst_av1_picture_new ()

Create new GstAV1Picture

Returns

a new GstAV1Picture

Since : 1.20


GstAV1Tile

Members

tile_group (GstAV1TileGroupOBU) –
No description available
obu (GstAV1OBU) –
No description available

Since : 1.20


Function Macros

GST_AV1_PICTURE

#define GST_AV1_PICTURE(obj)     ((GstAV1Picture *)obj)

Since : 1.20


GST_IS_AV1_PICTURE

#define GST_IS_AV1_PICTURE(obj)  (GST_IS_MINI_OBJECT_TYPE(obj, GST_TYPE_AV1_PICTURE))

Since : 1.20


Constants

GST_TYPE_AV1_PICTURE

#define GST_TYPE_AV1_PICTURE     (gst_av1_picture_get_type())

Since : 1.20


The results of the search are