[FFmpeg-devel] [PATCH 09/18] avcodec/hevcdec: Add stat_coeffs to HEVCABACState
Anton Khirnov
anton at khirnov.net
Fri Jul 1 15:10:44 EEST 2022
Quoting Andreas Rheinhardt (2022-07-01 00:29:40)
> diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
> index e2dba54f26..b97b7d1354 100644
> --- a/libavcodec/hevcdec.h
> +++ b/libavcodec/hevcdec.h
> @@ -226,6 +226,11 @@ enum ScanType {
> SCAN_VERT,
> };
>
> +typedef struct HEVCCABACState {
> + uint8_t state[HEVC_CONTEXTS];
> + uint8_t stat_coeff[HEVC_STAT_COEFFS];
> +} HEVCCABACState;
Might be good to mention why this is allocated separately from
HEVCContext.
Otherwise patch looks good.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list