GstCodecs.H264Picture

Fields

Name

Type

Access

Description

bottom_field_order_cnt

int

r

buffer_flags

GstVideo.VideoBufferFlags

r

dec_ref_pic_marking

object

r

delta_pic_order_cnt0

int

r

delta_pic_order_cnt1

int

r

delta_pic_order_cnt_bottom

int

r

discont_state

GstVideo.VideoCodecState

r

field

GstCodecs.H264PictureField

r

field_pic_flag

bool

r

frame_num

int

r

frame_num_offset

int

r

frame_num_wrap

int

r

idr

bool

r

idr_pic_id

int

r

long_term_frame_idx

int

r

long_term_pic_num

int

r

mem_mgmt_5

bool

r

nal_ref_idc

int

r

needed_for_output

bool

r

nonexisting

bool

r

notify

GLib.DestroyNotify

r

other_field

GstCodecs.H264Picture

r

parent

Gst.MiniObject

r

pic_num

int

r

pic_order_cnt

int

r

pic_order_cnt_lsb

int

r

pic_order_cnt_msb

int

r

pic_order_cnt_type

int

r

ref

GstCodecs.H264PictureReference

r

ref_pic

bool

r

reorder_frame_number

int

r

second_field

bool

r

system_frame_number

int

r

top_field_order_cnt

int

r

type

object

r

user_data

object

r

Methods

class

new ()

get_user_data ()

set_reference (reference, other_field)

set_user_data (user_data, notify)

Details

class GstCodecs.H264Picture
classmethod new()
Returns:

a new GstCodecs.H264Picture

Return type:

GstCodecs.H264Picture

Create new GstCodecs.H264Picture

get_user_data()
Returns:

The previously set user_data

Return type:

object or None

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

set_reference(reference, other_field)
Parameters:

Update reference picture type of self with reference

New in version 1.20.

set_user_data(user_data, notify)
Parameters:

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.