aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc/hevcdec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-06-01 20:05:36 +0200
committerAnton Khirnov <anton@khirnov.net>2024-06-11 17:39:35 +0200
commitb0c29a45dc3c42eb0c32eb78a850b3c3f581459c (patch)
tree6fa780923ef9ed09ebc57fe745c38d9646f3664d /libavcodec/hevc/hevcdec.h
parentd86ac94df24dbaacab995442713bfe81253fb004 (diff)
downloadffmpeg-b0c29a45dc3c42eb0c32eb78a850b3c3f581459c.tar.gz
lavc/hevc/cabac: do not infer WPP use based on HEVCContext.threads_number
Pass this information explicitly instead.
Diffstat (limited to 'libavcodec/hevc/hevcdec.h')
-rw-r--r--libavcodec/hevc/hevcdec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/hevc/hevcdec.h b/libavcodec/hevc/hevcdec.h
index 04eacca76d..22367602aa 100644
--- a/libavcodec/hevc/hevcdec.h
+++ b/libavcodec/hevc/hevcdec.h
@@ -579,7 +579,8 @@ int ff_hevc_slice_rpl(HEVCContext *s);
void ff_hevc_save_states(HEVCLocalContext *lc, const HEVCPPS *pps,
int ctb_addr_ts);
int ff_hevc_cabac_init(HEVCLocalContext *lc, const HEVCPPS *pps,
- int ctb_addr_ts, const uint8_t *data, size_t size);
+ int ctb_addr_ts, const uint8_t *data, size_t size,
+ int is_wpp);
int ff_hevc_sao_merge_flag_decode(HEVCLocalContext *lc);
int ff_hevc_sao_type_idx_decode(HEVCLocalContext *lc);
int ff_hevc_sao_band_position_decode(HEVCLocalContext *lc);