mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
This is to avoid having to create a reference chain in decoders from GstVideoCodecFrame to GstH264PIcture to implementation wrapper. So this change introduces: - gst_h264_dpb_remove_outputed (dpb) - gst_h264_dpb_get_picture(dpb, system_frame_num) - gst_h264_decoder_get_picture (dec, system_frame_num) In order to ensure that frames can be looked up during the draining process, we now first remove all (including reference) frames that have been outputed but are still in the DPB. Then for each remaining buffers, we remove it from the DPB to reach reference 1 and output it. Previously we could take all not outputed outside of the DPB which would prevent lookup by the base class. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1449> |
||
---|---|---|
.. | ||
codecs-prelude.h | ||
gsth264decoder.c | ||
gsth264decoder.h | ||
gsth264picture.c | ||
gsth264picture.h | ||
gsth265decoder.c | ||
gsth265decoder.h | ||
gsth265picture.c | ||
gsth265picture.h | ||
gstvp8decoder.c | ||
gstvp8decoder.h | ||
gstvp8picture.c | ||
gstvp8picture.h | ||
gstvp9decoder.c | ||
gstvp9decoder.h | ||
gstvp9picture.c | ||
gstvp9picture.h | ||
meson.build |