aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc/hevcdec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-06-05 09:01:16 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-06 13:59:29 +0200
commit6fcf0045cf3bc5abbeba941117beb8b82f61ccd2 (patch)
tree6d34421e489f498352e510cd853758facfb5a148 /libavcodec/hevc/hevcdec.h
parent4f87ff766697173a5b6d9da40f77433413f4db3e (diff)
downloadffmpeg-6fcf0045cf3bc5abbeba941117beb8b82f61ccd2.tar.gz
lavc/hevcdec: move HEVCContext.{tab_mvf,rpl_tab}_pool to HEVCLayerContext
pic_arrays_{init,free}() no longer access HEVCContext
Diffstat (limited to 'libavcodec/hevc/hevcdec.h')
-rw-r--r--libavcodec/hevc/hevcdec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/hevc/hevcdec.h b/libavcodec/hevc/hevcdec.h
index 426b7968b0..1a43c3662c 100644
--- a/libavcodec/hevc/hevcdec.h
+++ b/libavcodec/hevc/hevcdec.h
@@ -465,6 +465,9 @@ typedef struct HEVCLayerContext {
uint8_t *horizontal_bs;
uint8_t *vertical_bs;
+
+ struct FFRefStructPool *tab_mvf_pool;
+ struct FFRefStructPool *rpl_tab_pool;
} HEVCLayerContext;
typedef struct HEVCContext {
@@ -489,9 +492,6 @@ typedef struct HEVCContext {
HEVCSEI sei;
struct AVMD5 *md5_ctx;
- struct FFRefStructPool *tab_mvf_pool;
- struct FFRefStructPool *rpl_tab_pool;
-
///< candidate references for the current frame
RefPicList rps[5];