a #GstH265Picture
Perform bumping process as defined in C.5.2.4 "Bumping" process.
If drain
is %TRUE, dpb
will remove a #GstH265Picture from internal array
so that returned #GstH265Picture could hold the last reference of it
whether draining or not
Clear all stored #GstH265Picture
Delete not needed for output and not referenced all pictures from dpb
Free the dpb
Find a long term reference picture which has matching poc
a picture order count
Find a short or long term reference picture which has matching poc
a picture order count
Find a short or long term reference picture which has matching poc_lsb
a picture order count lsb
Find a short term reference picture which has matching poc
a picture order count
Mark all pictures are not referenced
Set the number of maximum allowed pictures to store
the maximum number of picture
Store the
picture
and perform increase pic_latency_cnt as defined in "C.5.2.3 Additional bumping" process