diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-06-05 12:02:27 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-09-06 13:59:29 +0200 |
commit | 9bccc634afeda243e19fdcae5641a87989c87af7 (patch) | |
tree | 8c2a63da874963f4b1df4e93fdf493606cab3c8b /libavcodec/hevc/hevcdec.h | |
parent | 672713761ba66f214e208000eaf33a52be73fd51 (diff) | |
download | ffmpeg-9bccc634afeda243e19fdcae5641a87989c87af7.tar.gz |
lavc/hevcdec: make a HEVCFrame hold a reference to its PPS
ff_hevc_get_ref_list() needs the PPS of a previously decoded frame,
which may be different from the currently active one.
Diffstat (limited to 'libavcodec/hevc/hevcdec.h')
-rw-r--r-- | libavcodec/hevc/hevcdec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/hevc/hevcdec.h b/libavcodec/hevc/hevcdec.h index 0b5d87b18f..a534aee60f 100644 --- a/libavcodec/hevc/hevcdec.h +++ b/libavcodec/hevc/hevcdec.h @@ -366,6 +366,7 @@ typedef struct HEVCFrame { int ctb_count; int poc; + const HEVCPPS *pps; ///< RefStruct reference RefPicListTab *rpl; ///< RefStruct reference int nb_rpl_elems; @@ -556,8 +557,7 @@ void ff_hevc_clear_refs(HEVCLayerContext *l); */ void ff_hevc_flush_dpb(HEVCContext *s); -const RefPicList *ff_hevc_get_ref_list(const HEVCContext *s, const HEVCFrame *frame, - int x0, int y0); +const RefPicList *ff_hevc_get_ref_list(const HEVCFrame *frame, int x0, int y0); /** * Construct the reference picture sets for the current frame. |