[FFmpeg-devel] [PATCH 2/2] avcodec/hevc_ps: use bitfields to slightly reduce the size of some structs

James Almer jamrial at gmail.com
Thu Mar 21 01:43:59 EET 2024


On 3/20/2024 8:17 PM, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>   libavcodec/hevc_ps.h | 190 +++++++++++++++++++++----------------------
>   1 file changed, 91 insertions(+), 99 deletions(-)
> 
> diff --git a/libavcodec/hevc_ps.h b/libavcodec/hevc_ps.h
> index 88d6f617b5..9cdec9b6c1 100644
> --- a/libavcodec/hevc_ps.h
> +++ b/libavcodec/hevc_ps.h
> @@ -48,10 +48,10 @@ typedef struct HEVCHdrFlagParams {

This patch is not really worth applying after i came up with 
"avcodec/hevc_ps: allocate only the required HEVCHdrParams within a 
VPS", so i guess i'll withdraw it.


More information about the ffmpeg-devel mailing list