GstCodecs.H265Dpb¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class GstCodecs.H265Dpb¶
- add(picture)¶
- Parameters:
picture (
GstCodecs.H265Picture
) – aGstCodecs.H265Picture
Store the picture and perform increase pic_latency_cnt as defined in “C.5.2.3 Additional bumping” process
- bump(drain)¶
- Parameters:
drain (
bool
) – whether draining or not- Returns:
a
GstCodecs.H265Picture
which is needed to be outputted- Return type:
Perform bumping process as defined in C.5.2.4 “Bumping” process. If drain is
True
, self will remove aGstCodecs.H265Picture
from internal array so that returnedGstCodecs.H265Picture
could hold the last reference of itNew in version 1.20.
- clear()¶
Clear all stored
GstCodecs.H265Picture
- delete_unused()¶
Delete not needed for output and not referenced all pictures from dpb
- free()¶
Free the self
- get_long_ref_by_poc(poc)¶
- Parameters:
poc (
int
) – a picture order count- Returns:
- Return type:
Find a long term reference picture which has matching poc
- get_picture(system_frame_number)¶
- Parameters:
system_frame_number (
int
) –- Returns:
the picture identified with the specified system_frame_number, or
None
if DPB does not contain aGstCodecs.H265Picture
corresponding to the system_frame_number- Return type:
New in version 1.20.
- get_pictures_all()¶
- Returns:
a
GLib.Array
ofGstCodecs.H265Picture
stored in self- Return type:
- get_ref_by_poc(poc)¶
- Parameters:
poc (
int
) – a picture order count- Returns:
- Return type:
Find a short or long term reference picture which has matching poc
- get_ref_by_poc_lsb(poc_lsb)¶
- Parameters:
poc_lsb (
int
) – a picture order count lsb- Returns:
- Return type:
Find a short or long term reference picture which has matching poc_lsb
- get_short_ref_by_poc(poc)¶
- Parameters:
poc (
int
) – a picture order count- Returns:
- Return type:
Find a short term reference picture which has matching poc
- mark_all_non_ref()¶
Mark all pictures are not referenced