GstCodecs.H264Picture¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
bottom_field_order_cnt |
r |
||
buffer_flags |
r |
||
dec_ref_pic_marking |
r |
||
delta_pic_order_cnt0 |
r |
||
delta_pic_order_cnt1 |
r |
||
delta_pic_order_cnt_bottom |
r |
||
discont_state |
r |
||
field |
r |
||
field_pic_flag |
r |
||
frame_num |
r |
||
frame_num_offset |
r |
||
frame_num_wrap |
r |
||
idr |
r |
||
idr_pic_id |
r |
||
long_term_frame_idx |
r |
||
long_term_pic_num |
r |
||
mem_mgmt_5 |
r |
||
nal_ref_idc |
r |
||
needed_for_output |
r |
||
nonexisting |
r |
||
notify |
r |
||
other_field |
r |
||
parent |
r |
||
pic_num |
r |
||
pic_order_cnt |
r |
||
pic_order_cnt_lsb |
r |
||
pic_order_cnt_msb |
r |
||
pic_order_cnt_type |
r |
||
ref |
r |
||
ref_pic |
r |
||
reorder_frame_number |
r |
||
second_field |
r |
||
system_frame_number |
r |
||
top_field_order_cnt |
r |
||
type |
r |
||
user_data |
r |
Methods¶
class |
|
|
|
|
Details¶
- class GstCodecs.H264Picture¶
- classmethod new()¶
- Returns:
a new
GstCodecs.H264Picture
- Return type:
Create new
GstCodecs.H264Picture
- get_user_data()¶
-
Gets private data set on the picture via
GstCodecs.H264Picture.set_user_data
() previously.
- set_reference(reference, other_field)¶
- Parameters:
reference (
GstCodecs.H264PictureReference
) – aGstCodecs.H264PictureReference
other_field (
bool
) –True
if reference needs to be applied to the other field if any
Update reference picture type of self with reference
New in version 1.20.
- set_user_data(user_data, notify)¶
- Parameters:
notify (
GLib.DestroyNotify
) – aGLib.DestroyNotify
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.