GstH264Decoder

GstH264Decoder

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstVideoDecoder
                    ╰──GstH264Decoder

The opaque GstH264Decoder data structure.


Class structure

GstH264DecoderClass

Fields
parent_class (GstVideoDecoderClass) –
No description available

GstCodecs.H264DecoderClass

Attributes
parent_class (GstVideo.VideoDecoderClass) –
No description available

GstCodecs.H264DecoderClass

Attributes
parent_class (GstVideo.VideoDecoderClass) –
No description available

GstH264Decoder

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstVideoDecoder
                    ╰──GstH264Decoder

The opaque GstH264Decoder data structure.


GstH264Decoder

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstVideoDecoder
                    ╰──GstH264Decoder

The opaque GstH264Decoder data structure.


Methods

gst_h264_decoder_set_process_ref_pic_lists

gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * self,
                                            gboolean process)

Parameters:

self
No description available
process
No description available

GstCodecs.H264Decoder.prototype.set_process_ref_pic_lists

function GstCodecs.H264Decoder.prototype.set_process_ref_pic_lists(process: Number): {
    // javascript wrapper for 'gst_h264_decoder_set_process_ref_pic_lists'
}

Parameters:

self ( GstCodecs.H264Decoder ) –
No description available
process ( Number ) –
No description available

GstCodecs.H264Decoder.set_process_ref_pic_lists

def GstCodecs.H264Decoder.set_process_ref_pic_lists (self, process):
    #python wrapper for 'gst_h264_decoder_set_process_ref_pic_lists'

Parameters:

self ( GstCodecs.H264Decoder ) –
No description available
process ( bool ) –
No description available

Virtual Methods

decode_slice

gboolean
decode_slice (GstH264Decoder * decoder,
              GstH264Picture * picture,
              GstH264Slice * slice,
              GArray * ref_pic_list0,
              GArray * ref_pic_list1)

Provides per slice data with parsed slice header and required raw bitstream for subclass to decode it. if gst_h264_decoder_set_process_ref_pic_lists is called with TRUE by the subclass, ref_pic_list0 and ref_pic_list1 are non-%NULL.

Parameters:

decoder
No description available
picture
No description available
slice
No description available
ref_pic_list0
No description available
ref_pic_list1
No description available
Returns
No description available

end_picture

gboolean
end_picture (GstH264Decoder * decoder,
             GstH264Picture * picture)

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

Parameters:

decoder
No description available
picture
No description available
Returns
No description available

end_picture

function end_picture(decoder: GstCodecs.H264Decoder, picture: GstCodecs.H264Picture): {
    // javascript implementation of the 'end_picture' virtual method
}

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

Parameters:

decoder ( GstCodecs.H264Decoder ) –
No description available
picture ( GstCodecs.H264Picture ) –
No description available
Returns ( Number ) –
No description available

end_picture

def end_picture (decoder, picture):
    #python implementation of the 'end_picture' virtual method

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

Parameters:

decoder ( GstCodecs.H264Decoder ) –
No description available
picture ( GstCodecs.H264Picture ) –
No description available
Returns ( bool ) –
No description available

new_picture

gboolean
new_picture (GstH264Decoder * decoder,
             GstH264Picture * picture)

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

Parameters:

decoder
No description available
picture
No description available
Returns
No description available

new_picture

function new_picture(decoder: GstCodecs.H264Decoder, picture: GstCodecs.H264Picture): {
    // javascript implementation of the 'new_picture' virtual method
}

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

Parameters:

decoder ( GstCodecs.H264Decoder ) –
No description available
picture ( GstCodecs.H264Picture ) –
No description available
Returns ( Number ) –
No description available

new_picture

def new_picture (decoder, picture):
    #python implementation of the 'new_picture' virtual method

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

Parameters:

decoder ( GstCodecs.H264Decoder ) –
No description available
picture ( GstCodecs.H264Picture ) –
No description available
Returns ( bool ) –
No description available

new_sequence

gboolean
new_sequence (GstH264Decoder * decoder,
              const GstH264SPS * sps,
              gint max_dpb_size)

Notifies subclass of SPS update

Parameters:

decoder
No description available
sps
No description available
max_dpb_size
No description available
Returns
No description available

output_picture

GstFlowReturn
output_picture (GstH264Decoder * decoder,
                GstH264Picture * picture)

Called with a GstH264Picture which is required to be outputted. Subclass can retrieve parent GstVideoCodecFrame by using gst_video_decoder_get_frame with system_frame_number and the GstVideoCodecFrame must be consumed by subclass via gst_video_decoder_{finish,drop,release}_frame.

Parameters:

decoder
No description available
picture
No description available
Returns
No description available

output_picture

function output_picture(decoder: GstCodecs.H264Decoder, picture: GstCodecs.H264Picture): {
    // javascript implementation of the 'output_picture' virtual method
}

Called with a GstH264Picture which is required to be outputted. Subclass can retrieve parent GstVideoCodecFrame by using gst_video_decoder_get_frame with system_frame_number and the GstVideoCodecFrame must be consumed by subclass via gst_video_decoder_{finish,drop,release}_frame.

Parameters:

decoder ( GstCodecs.H264Decoder ) –
No description available
picture ( GstCodecs.H264Picture ) –
No description available
Returns ( Gst.FlowReturn ) –
No description available

output_picture

def output_picture (decoder, picture):
    #python implementation of the 'output_picture' virtual method

Called with a GstH264Picture which is required to be outputted. Subclass can retrieve parent GstVideoCodecFrame by using gst_video_decoder_get_frame with system_frame_number and the GstVideoCodecFrame must be consumed by subclass via gst_video_decoder_{finish,drop,release}_frame.

Parameters:

decoder ( GstCodecs.H264Decoder ) –
No description available
picture ( GstCodecs.H264Picture ) –
No description available
Returns ( Gst.FlowReturn ) –
No description available

start_picture

gboolean
start_picture (GstH264Decoder * decoder,
               GstH264Picture * picture,
               GstH264Slice * slice,
               GstH264Dpb * dpb)

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

Parameters:

decoder
No description available
picture
No description available
slice
No description available
dpb
No description available
Returns
No description available

start_picture

function start_picture(decoder: GstCodecs.H264Decoder, picture: GstCodecs.H264Picture, slice: GstCodecs.H264Slice, dpb: GstCodecs.H264Dpb): {
    // javascript implementation of the 'start_picture' virtual method
}

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

Parameters:

decoder ( GstCodecs.H264Decoder ) –
No description available
picture ( GstCodecs.H264Picture ) –
No description available
slice ( GstCodecs.H264Slice ) –
No description available
dpb ( GstCodecs.H264Dpb ) –
No description available
Returns ( Number ) –
No description available

start_picture

def start_picture (decoder, picture, slice, dpb):
    #python implementation of the 'start_picture' virtual method

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

Parameters:

decoder ( GstCodecs.H264Decoder ) –
No description available
picture ( GstCodecs.H264Picture ) –
No description available
slice ( GstCodecs.H264Slice ) –
No description available
dpb ( GstCodecs.H264Dpb ) –
No description available
Returns ( bool ) –
No description available

GstH264Dpb


GstH264Dpb


GstH264Dpb


Methods

gst_h264_dpb_add

gst_h264_dpb_add (GstH264Dpb * dpb,
                  GstH264Picture * picture)

Store the picture

Parameters:

dpb

a GstH264Dpb

picture ( [transfer: full] ) –

a GstH264Picture


GstCodecs.H264Dpb.prototype.add

function GstCodecs.H264Dpb.prototype.add(picture: GstCodecs.H264Picture): {
    // javascript wrapper for 'gst_h264_dpb_add'
}

Store the picture


GstCodecs.H264Dpb.add

def GstCodecs.H264Dpb.add (self, picture):
    #python wrapper for 'gst_h264_dpb_add'

Store the picture


gst_h264_dpb_clear

gst_h264_dpb_clear (GstH264Dpb * dpb)

Clear all stored GstH264Picture

Parameters:

dpb

a GstH264Dpb


GstCodecs.H264Dpb.prototype.clear

function GstCodecs.H264Dpb.prototype.clear(): {
    // javascript wrapper for 'gst_h264_dpb_clear'
}

Clear all stored GstCodecs.H264Picture

Parameters:


GstCodecs.H264Dpb.clear

def GstCodecs.H264Dpb.clear (self):
    #python wrapper for 'gst_h264_dpb_clear'

Clear all stored GstCodecs.H264Picture

Parameters:


gst_h264_dpb_delete_by_poc

gst_h264_dpb_delete_by_poc (GstH264Dpb * dpb,
                            gint poc)

Delete a GstH264Dpb by poc

Parameters:

dpb

a GstH264Dpb

poc

a poc of GstH264Picture to remove


GstCodecs.H264Dpb.prototype.delete_by_poc

function GstCodecs.H264Dpb.prototype.delete_by_poc(poc: Number): {
    // javascript wrapper for 'gst_h264_dpb_delete_by_poc'
}

Delete a GstCodecs.H264Dpb by poc

Parameters:

poc ( Number ) –

a poc of GstCodecs.H264Picture to remove


GstCodecs.H264Dpb.delete_by_poc

def GstCodecs.H264Dpb.delete_by_poc (self, poc):
    #python wrapper for 'gst_h264_dpb_delete_by_poc'

Delete a GstCodecs.H264Dpb by poc

Parameters:

poc ( int ) –

a poc of GstCodecs.H264Picture to remove


gst_h264_dpb_delete_unused

gst_h264_dpb_delete_unused (GstH264Dpb * dpb)

Delete already outputted and not referenced all pictures from dpb

Parameters:

dpb

a GstH264Dpb


GstCodecs.H264Dpb.prototype.delete_unused

function GstCodecs.H264Dpb.prototype.delete_unused(): {
    // javascript wrapper for 'gst_h264_dpb_delete_unused'
}

Delete already outputted and not referenced all pictures from dpb

Parameters:


GstCodecs.H264Dpb.delete_unused

def GstCodecs.H264Dpb.delete_unused (self):
    #python wrapper for 'gst_h264_dpb_delete_unused'

Delete already outputted and not referenced all pictures from dpb

Parameters:


gst_h264_dpb_free

gst_h264_dpb_free (GstH264Dpb * dpb)

Free the dpb

Parameters:

dpb

a GstH264Dpb to free


GstCodecs.H264Dpb.prototype.free

function GstCodecs.H264Dpb.prototype.free(): {
    // javascript wrapper for 'gst_h264_dpb_free'
}

Free the dpb

Parameters:

dpb ( GstCodecs.H264Dpb ) –

a GstCodecs.H264Dpb to free


GstCodecs.H264Dpb.free

def GstCodecs.H264Dpb.free (self):
    #python wrapper for 'gst_h264_dpb_free'

Free the dpb

Parameters:

dpb ( GstCodecs.H264Dpb ) –

a GstCodecs.H264Dpb to free


gst_h264_dpb_get_long_ref_by_pic_num

GstH264Picture *
gst_h264_dpb_get_long_ref_by_pic_num (GstH264Dpb * dpb,
                                      gint pic_num)

Find a long term reference picture which has matching picture number

Parameters:

dpb

a GstH264Dpb

pic_num

a picture number

Returns ( [nullable] [transfer: none] ) –

a GstH264Picture


GstCodecs.H264Dpb.prototype.get_long_ref_by_pic_num

function GstCodecs.H264Dpb.prototype.get_long_ref_by_pic_num(pic_num: Number): {
    // javascript wrapper for 'gst_h264_dpb_get_long_ref_by_pic_num'
}

Find a long term reference picture which has matching picture number

Parameters:

pic_num ( Number ) –

a picture number


GstCodecs.H264Dpb.get_long_ref_by_pic_num

def GstCodecs.H264Dpb.get_long_ref_by_pic_num (self, pic_num):
    #python wrapper for 'gst_h264_dpb_get_long_ref_by_pic_num'

Find a long term reference picture which has matching picture number

Parameters:

pic_num ( int ) –

a picture number


gst_h264_dpb_get_lowest_frame_num_short_ref

GstH264Picture *
gst_h264_dpb_get_lowest_frame_num_short_ref (GstH264Dpb * dpb)

Find a short term reference picture which has the lowest frame_num_wrap

Parameters:

dpb

a GstH264Dpb

Returns ( [transfer: full] ) –

a GstH264Picture


GstCodecs.H264Dpb.prototype.get_lowest_frame_num_short_ref

function GstCodecs.H264Dpb.prototype.get_lowest_frame_num_short_ref(): {
    // javascript wrapper for 'gst_h264_dpb_get_lowest_frame_num_short_ref'
}

Find a short term reference picture which has the lowest frame_num_wrap

Parameters:


GstCodecs.H264Dpb.get_lowest_frame_num_short_ref

def GstCodecs.H264Dpb.get_lowest_frame_num_short_ref (self):
    #python wrapper for 'gst_h264_dpb_get_lowest_frame_num_short_ref'

Find a short term reference picture which has the lowest frame_num_wrap

Parameters:


gst_h264_dpb_get_max_num_pics

gint
gst_h264_dpb_get_max_num_pics (GstH264Dpb * dpb)

Parameters:

dpb

a GstH264Dpb

Returns

the number of maximum pictures


GstCodecs.H264Dpb.prototype.get_max_num_pics

function GstCodecs.H264Dpb.prototype.get_max_num_pics(): {
    // javascript wrapper for 'gst_h264_dpb_get_max_num_pics'
}

Parameters:

Returns ( Number ) –

the number of maximum pictures


GstCodecs.H264Dpb.get_max_num_pics

def GstCodecs.H264Dpb.get_max_num_pics (self):
    #python wrapper for 'gst_h264_dpb_get_max_num_pics'

Parameters:

Returns ( int ) –

the number of maximum pictures


gst_h264_dpb_get_pictures_all

GArray *
gst_h264_dpb_get_pictures_all (GstH264Dpb * dpb)

Return: (element-type GstH264Picture) (transfer full): a GArray of GstH264Picture stored in dpb

Parameters:

dpb

a GstH264Dpb

Returns
No description available

GstCodecs.H264Dpb.prototype.get_pictures_all

function GstCodecs.H264Dpb.prototype.get_pictures_all(): {
    // javascript wrapper for 'gst_h264_dpb_get_pictures_all'
}

Return: (element-type GstH264Picture) (transfer full): a GLib.Array of GstCodecs.H264Picture stored in dpb

Parameters:

Returns ( [ GstCodecs.H264Picture ] ) –
No description available

GstCodecs.H264Dpb.get_pictures_all

def GstCodecs.H264Dpb.get_pictures_all (self):
    #python wrapper for 'gst_h264_dpb_get_pictures_all'

Return: (element-type GstH264Picture) (transfer full): a GLib.Array of GstCodecs.H264Picture stored in dpb

Parameters:

Returns ( [ GstCodecs.H264Picture ] ) –
No description available

gst_h264_dpb_get_pictures_long_term_ref

gst_h264_dpb_get_pictures_long_term_ref (GstH264Dpb * dpb,
                                         GArray * out)

Retrieve all long-term reference pictures from dpb. The picture will be appended to the array.

Parameters:

dpb

a GstH264Dpb

out ( [out] [element-type GstH264Picture] [transfer: full] ) –

an arrat of GstH264Picture pointer


GstCodecs.H264Dpb.prototype.get_pictures_long_term_ref

function GstCodecs.H264Dpb.prototype.get_pictures_long_term_ref(): {
    // javascript wrapper for 'gst_h264_dpb_get_pictures_long_term_ref'
}

Retrieve all long-term reference pictures from dpb. The picture will be appended to the array.

Parameters:


GstCodecs.H264Dpb.get_pictures_long_term_ref

def GstCodecs.H264Dpb.get_pictures_long_term_ref (self):
    #python wrapper for 'gst_h264_dpb_get_pictures_long_term_ref'

Retrieve all long-term reference pictures from dpb. The picture will be appended to the array.

Parameters:


gst_h264_dpb_get_pictures_not_outputted

gst_h264_dpb_get_pictures_not_outputted (GstH264Dpb * dpb,
                                         GArray * out)

Retrieve all not-outputted pictures from dpb

Parameters:

dpb

a GstH264Dpb

out ( [out] [element-type GstH264Picture] [transfer: full] ) –

an array of GstH264Picture pointer


GstCodecs.H264Dpb.prototype.get_pictures_not_outputted

function GstCodecs.H264Dpb.prototype.get_pictures_not_outputted(): {
    // javascript wrapper for 'gst_h264_dpb_get_pictures_not_outputted'
}

Retrieve all not-outputted pictures from dpb

Parameters:


GstCodecs.H264Dpb.get_pictures_not_outputted

def GstCodecs.H264Dpb.get_pictures_not_outputted (self):
    #python wrapper for 'gst_h264_dpb_get_pictures_not_outputted'

Retrieve all not-outputted pictures from dpb

Parameters:


gst_h264_dpb_get_pictures_short_term_ref

gst_h264_dpb_get_pictures_short_term_ref (GstH264Dpb * dpb,
                                          GArray * out)

Retrieve all short-term reference pictures from dpb. The picture will be appended to the array.

Parameters:

dpb

a GstH264Dpb

out ( [out] [element-type GstH264Picture] [transfer: full] ) –

an array of GstH264Picture pointers


GstCodecs.H264Dpb.prototype.get_pictures_short_term_ref

function GstCodecs.H264Dpb.prototype.get_pictures_short_term_ref(): {
    // javascript wrapper for 'gst_h264_dpb_get_pictures_short_term_ref'
}

Retrieve all short-term reference pictures from dpb. The picture will be appended to the array.

Parameters:


GstCodecs.H264Dpb.get_pictures_short_term_ref

def GstCodecs.H264Dpb.get_pictures_short_term_ref (self):
    #python wrapper for 'gst_h264_dpb_get_pictures_short_term_ref'

Retrieve all short-term reference pictures from dpb. The picture will be appended to the array.

Parameters:


gst_h264_dpb_get_short_ref_by_pic_num

GstH264Picture *
gst_h264_dpb_get_short_ref_by_pic_num (GstH264Dpb * dpb,
                                       gint pic_num)

Find a short term reference picture which has matching picture number

Parameters:

dpb

a GstH264Dpb

pic_num

a picture number

Returns ( [nullable] [transfer: none] ) –

a GstH264Picture


GstCodecs.H264Dpb.prototype.get_short_ref_by_pic_num

function GstCodecs.H264Dpb.prototype.get_short_ref_by_pic_num(pic_num: Number): {
    // javascript wrapper for 'gst_h264_dpb_get_short_ref_by_pic_num'
}

Find a short term reference picture which has matching picture number

Parameters:

pic_num ( Number ) –

a picture number


GstCodecs.H264Dpb.get_short_ref_by_pic_num

def GstCodecs.H264Dpb.get_short_ref_by_pic_num (self, pic_num):
    #python wrapper for 'gst_h264_dpb_get_short_ref_by_pic_num'

Find a short term reference picture which has matching picture number

Parameters:

pic_num ( int ) –

a picture number


gst_h264_dpb_get_size

gint
gst_h264_dpb_get_size (GstH264Dpb * dpb)

Return: the length of stored dpb array

Parameters:

dpb

a GstH264Dpb

Returns
No description available

GstCodecs.H264Dpb.prototype.get_size

function GstCodecs.H264Dpb.prototype.get_size(): {
    // javascript wrapper for 'gst_h264_dpb_get_size'
}

Return: the length of stored dpb array

Parameters:

Returns ( Number ) –
No description available

GstCodecs.H264Dpb.get_size

def GstCodecs.H264Dpb.get_size (self):
    #python wrapper for 'gst_h264_dpb_get_size'

Return: the length of stored dpb array

Parameters:

Returns ( int ) –
No description available

gst_h264_dpb_is_full

gboolean
gst_h264_dpb_is_full (GstH264Dpb * dpb)

Return: TRUE if dpb is full

Parameters:

dpb

a GstH264Dpb

Returns
No description available

GstCodecs.H264Dpb.prototype.is_full

function GstCodecs.H264Dpb.prototype.is_full(): {
    // javascript wrapper for 'gst_h264_dpb_is_full'
}

Return: true if dpb is full

Parameters:

Returns ( Number ) –
No description available

GstCodecs.H264Dpb.is_full

def GstCodecs.H264Dpb.is_full (self):
    #python wrapper for 'gst_h264_dpb_is_full'

Return: True if dpb is full

Parameters:

Returns ( bool ) –
No description available

gst_h264_dpb_mark_all_non_ref

gst_h264_dpb_mark_all_non_ref (GstH264Dpb * dpb)

Mark all pictures are not referenced

Parameters:

dpb

a GstH264Dpb


GstCodecs.H264Dpb.prototype.mark_all_non_ref

function GstCodecs.H264Dpb.prototype.mark_all_non_ref(): {
    // javascript wrapper for 'gst_h264_dpb_mark_all_non_ref'
}

Mark all pictures are not referenced

Parameters:


GstCodecs.H264Dpb.mark_all_non_ref

def GstCodecs.H264Dpb.mark_all_non_ref (self):
    #python wrapper for 'gst_h264_dpb_mark_all_non_ref'

Mark all pictures are not referenced

Parameters:


gst_h264_dpb_num_ref_pictures

gint
gst_h264_dpb_num_ref_pictures (GstH264Dpb * dpb)

Parameters:

dpb

a GstH264Dpb

Returns

The number of referenced pictures


GstCodecs.H264Dpb.prototype.num_ref_pictures

function GstCodecs.H264Dpb.prototype.num_ref_pictures(): {
    // javascript wrapper for 'gst_h264_dpb_num_ref_pictures'
}

Parameters:

Returns ( Number ) –

The number of referenced pictures


GstCodecs.H264Dpb.num_ref_pictures

def GstCodecs.H264Dpb.num_ref_pictures (self):
    #python wrapper for 'gst_h264_dpb_num_ref_pictures'

Parameters:

Returns ( int ) –

The number of referenced pictures


gst_h264_dpb_set_max_num_pics

gst_h264_dpb_set_max_num_pics (GstH264Dpb * dpb,
                               gint max_num_pics)

Set the number of maximum allowed pictures to store

Parameters:

dpb

a GstH264Dpb

max_num_pics

the maximum number of picture


GstCodecs.H264Dpb.prototype.set_max_num_pics

function GstCodecs.H264Dpb.prototype.set_max_num_pics(max_num_pics: Number): {
    // javascript wrapper for 'gst_h264_dpb_set_max_num_pics'
}

Set the number of maximum allowed pictures to store

Parameters:

max_num_pics ( Number ) –

the maximum number of picture


GstCodecs.H264Dpb.set_max_num_pics

def GstCodecs.H264Dpb.set_max_num_pics (self, max_num_pics):
    #python wrapper for 'gst_h264_dpb_set_max_num_pics'

Set the number of maximum allowed pictures to store

Parameters:

max_num_pics ( int ) –

the maximum number of picture


Functions

gst_h264_dpb_new

GstH264Dpb *
gst_h264_dpb_new ()

Create new GstH264Dpb

Returns

a new GstH264Dpb


GstH264Picture

Members

parent (GstMiniObject) –
No description available
type (GstH264SliceType) –
No description available
pts (GstClockTime) –
No description available
system_frame_number (guint32) –
No description available
pic_order_cnt_type (guint8) –
No description available
top_field_order_cnt (gint32) –
No description available
bottom_field_order_cnt (gint32) –
No description available
pic_order_cnt (gint) –
No description available
pic_order_cnt_msb (gint) –
No description available
pic_order_cnt_lsb (gint) –
No description available
delta_pic_order_cnt_bottom (gint) –
No description available
delta_pic_order_cnt0 (gint) –
No description available
delta_pic_order_cnt1 (gint) –
No description available
pic_num (gint) –
No description available
long_term_pic_num (gint) –
No description available
frame_num (gint) –
No description available
frame_num_offset (gint) –
No description available
frame_num_wrap (gint) –
No description available
long_term_frame_idx (gint) –
No description available
nal_ref_idc (gint) –
No description available
idr (gboolean) –
No description available
idr_pic_id (gint) –
No description available
ref (gboolean) –
No description available
long_term (gboolean) –
No description available
outputted (gboolean) –
No description available
mem_mgmt_5 (gboolean) –
No description available
nonexisting (gboolean) –
No description available
field (GstH264PictureField) –
No description available
dec_ref_pic_marking (GstH264DecRefPicMarking) –
No description available
user_data (gpointer) –
No description available

GstH264Picture

Members

parent (GstMiniObject) –
No description available
type (object) –
No description available
pts (GstClockTime) –
No description available
system_frame_number (Number) –
No description available
pic_order_cnt_type (Number) –
No description available
top_field_order_cnt (Number) –
No description available
bottom_field_order_cnt (Number) –
No description available
pic_order_cnt (Number) –
No description available
pic_order_cnt_msb (Number) –
No description available
pic_order_cnt_lsb (Number) –
No description available
delta_pic_order_cnt_bottom (Number) –
No description available
delta_pic_order_cnt0 (Number) –
No description available
delta_pic_order_cnt1 (Number) –
No description available
pic_num (Number) –
No description available
long_term_pic_num (Number) –
No description available
frame_num (Number) –
No description available
frame_num_offset (Number) –
No description available
frame_num_wrap (Number) –
No description available
long_term_frame_idx (Number) –
No description available
nal_ref_idc (Number) –
No description available
idr (Number) –
No description available
idr_pic_id (Number) –
No description available
ref (Number) –
No description available
long_term (Number) –
No description available
outputted (Number) –
No description available
mem_mgmt_5 (Number) –
No description available
nonexisting (Number) –
No description available
field (GstH264PictureField) –
No description available
dec_ref_pic_marking (object) –
No description available
user_data (Object) –
No description available

GstH264Picture

Members

parent (GstMiniObject) –
No description available
type (object) –
No description available
pts (GstClockTime) –
No description available
system_frame_number (int) –
No description available
pic_order_cnt_type (int) –
No description available
top_field_order_cnt (int) –
No description available
bottom_field_order_cnt (int) –
No description available
pic_order_cnt (int) –
No description available
pic_order_cnt_msb (int) –
No description available
pic_order_cnt_lsb (int) –
No description available
delta_pic_order_cnt_bottom (int) –
No description available
delta_pic_order_cnt0 (int) –
No description available
delta_pic_order_cnt1 (int) –
No description available
pic_num (int) –
No description available
long_term_pic_num (int) –
No description available
frame_num (int) –
No description available
frame_num_offset (int) –
No description available
frame_num_wrap (int) –
No description available
long_term_frame_idx (int) –
No description available
nal_ref_idc (int) –
No description available
idr (bool) –
No description available
idr_pic_id (int) –
No description available
ref (bool) –
No description available
long_term (bool) –
No description available
outputted (bool) –
No description available
mem_mgmt_5 (bool) –
No description available
nonexisting (bool) –
No description available
field (GstH264PictureField) –
No description available
dec_ref_pic_marking (object) –
No description available
user_data (object) –
No description available

Constructors

gst_h264_picture_new

GstH264Picture *
gst_h264_picture_new ()

Create new GstH264Picture

Returns

a new GstH264Picture


GstCodecs.H264Picture.prototype.new

function GstCodecs.H264Picture.prototype.new(): {
    // javascript wrapper for 'gst_h264_picture_new'
}

Create new GstCodecs.H264Picture


GstCodecs.H264Picture.new

def GstCodecs.H264Picture.new ():
    #python wrapper for 'gst_h264_picture_new'

Create new GstCodecs.H264Picture


Methods

gst_h264_picture_get_user_data

gpointer
gst_h264_picture_get_user_data (GstH264Picture * picture)

Gets private data set on the picture via gst_h264_picture_set_user_data previously.

Parameters:

picture

a GstH264Picture

Returns ( [transfer: none] ) –

The previously set user_data


GstCodecs.H264Picture.prototype.get_user_data

function GstCodecs.H264Picture.prototype.get_user_data(): {
    // javascript wrapper for 'gst_h264_picture_get_user_data'
}

Gets private data set on the picture via GstCodecs.H264Picture.prototype.set_user_data previously.

Parameters:

Returns ( Object ) –

The previously set user_data


GstCodecs.H264Picture.get_user_data

def GstCodecs.H264Picture.get_user_data (self):
    #python wrapper for 'gst_h264_picture_get_user_data'

Gets private data set on the picture via GstCodecs.H264Picture.set_user_data previously.

Parameters:

Returns ( object ) –

The previously set user_data


gst_h264_picture_set_user_data

gst_h264_picture_set_user_data (GstH264Picture * picture,
                                gpointer user_data,
                                GDestroyNotify notify)

Sets user_data on the picture and the GDestroyNotify that will be called when the picture is freed.

If a user_data was previously set, then the previous set notify will be called before the user_data is replaced.

Parameters:

picture

a GstH264Picture

user_data

private data

notify ( [closure] ) –

a GDestroyNotify


GstCodecs.H264Picture.prototype.set_user_data

function GstCodecs.H264Picture.prototype.set_user_data(user_data: Object, notify: GLib.DestroyNotify): {
    // javascript wrapper for 'gst_h264_picture_set_user_data'
}

Sets user_data on the picture and the GLib.DestroyNotify that will be called when the picture is freed.

If a user_data was previously set, then the previous set notify will be called before the user_data is replaced.

Parameters:

user_data ( Object ) –

private data


GstCodecs.H264Picture.set_user_data

def GstCodecs.H264Picture.set_user_data (self, *user_data, notify):
    #python wrapper for 'gst_h264_picture_set_user_data'

Sets user_data on the picture and the GLib.DestroyNotify that will be called when the picture is freed.

If a user_data was previously set, then the previous set notify will be called before the user_data is replaced.

Parameters:

user_data ( variadic ) –

private data


GstH264Slice

Members

header (GstH264SliceHdr) –
No description available
nalu (GstH264NalUnit) –
No description available

GstCodecs.H264Slice

Members

header (not introspectable) (object) –
No description available
nalu (not introspectable) (object) –
No description available

GstCodecs.H264Slice

Members

header (not introspectable) (object) –
No description available
nalu (not introspectable) (object) –
No description available

Function Macros

GST_H264_DECODER_CAST

#define GST_H264_DECODER_CAST(obj)       ((GstH264Decoder*)obj)

GST_H264_PICTURE

#define GST_H264_PICTURE(obj)     ((GstH264Picture *)obj)

GST_H264_PICTURE_CAST

#define GST_H264_PICTURE_CAST(obj) (GST_H264_PICTURE(obj))

GST_IS_H264_PICTURE

#define GST_IS_H264_PICTURE(obj)  (GST_IS_MINI_OBJECT_TYPE(obj, GST_TYPE_H264_PICTURE))

Enumerations

GstH264PictureField

Members
GST_H264_PICTURE_FIELD_FRAME (0) –
No description available
GST_H264_PICTURE_FIELD_TOP_FIELD (1) –
No description available
GST_H264_PICTURE_FIELD_BOTTOM_FIELD (2) –
No description available

GstCodecs.H264PictureField

Members
GstCodecs.H264PictureField.FRAME (0) –
No description available
GstCodecs.H264PictureField.TOP_FIELD (1) –
No description available
GstCodecs.H264PictureField.BOTTOM_FIELD (2) –
No description available

GstCodecs.H264PictureField

Members
GstCodecs.H264PictureField.FRAME (0) –
No description available
GstCodecs.H264PictureField.TOP_FIELD (1) –
No description available
GstCodecs.H264PictureField.BOTTOM_FIELD (2) –
No description available

Constants

GST_H264_DPB_MAX_SIZE

#define GST_H264_DPB_MAX_SIZE 16

GstCodecs.H264_DPB_MAX_SIZE


GstCodecs.H264_DPB_MAX_SIZE


GST_TYPE_H264_PICTURE

#define GST_TYPE_H264_PICTURE     (gst_h264_picture_get_type())

The results of the search are