GstCodecs.H266Dpb¶
Fields¶
None
Methods¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Details¶
- class GstCodecs.H266Dpb¶
 The
GstCodecs.H266Dpbrepresents the dpb for decoding.New in version 1.26.
- add(picture)¶
 - Parameters:
 picture (
GstCodecs.H266Picture) – aGstCodecs.H266Picture
Store the picture and perform increase pic_latency_cnt as defined in “C.5.2.3 Additional bumping” process
New in version 1.26.
- bump(drain)¶
 - Parameters:
 drain (
bool) – whether draining or not- Returns:
 a
GstCodecs.H266Picturewhich 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.H266Picturefrom internal array so that returnedGstCodecs.H266Picturecould hold the last reference of it.New in version 1.26.
- clear()¶
 Clear all stored
GstCodecs.H266PictureNew in version 1.26.
- delete_unused()¶
 Delete unneeded pictures from dpb as defined in “C.5.2.2 Output and removal of pictures from the DPB”.
New in version 1.26.
- free()¶
 Free the self
New in version 1.26.
- get_picture_by_poc(poc)¶
 - Parameters:
 poc (
int) – a picture order count- Returns:
 - Return type:
 
Find a picture which has matching poc
New in version 1.26.
- get_picture_by_poc_lsb(poc_lsb)¶
 - Parameters:
 poc_lsb (
int) – a picture order count lsb- Returns:
 - Return type:
 
Find a picture which has matching poc_lsb
New in version 1.26.
- get_pictures_all()¶
 - Returns:
 a
GLib.ArrayofGstCodecs.H266Picturestored in self- Return type:
 
New in version 1.26.
- mark_all_non_output()¶
 Mark all pictures are no needed for output
New in version 1.26.
- mark_all_non_ref()¶
 Mark all pictures are not referenced
New in version 1.26.
- needs_bump(max_num_reorder_pics, max_latency_increase, max_dec_pic_buffering)¶
 - Parameters:
 - Returns:
 Trueif bumping is required- Return type:
 
New in version 1.26.
- num_ref_pictures()¶
 - Returns:
 The number of referenced pictures in dpb.
- Return type:
 
New in version 1.26.