[FFmpeg-devel] [PATCH v5 01/10] lavc/avcodec: Add HEVC Screen Content Coding Extensions profile

Anton Khirnov anton at khirnov.net
Tue Feb 14 12:11:50 EET 2023


Quoting Fei Wang (2023-02-06 06:44:49)
> From: Linjie Fu <linjie.fu at intel.com>
> 
> Described in HEVC spec A.3.7.
> 
> Signed-off-by: Linjie Fu <linjie.justin.fu at gmail.com>
> Signed-off-by: Fei Wang <fei.w.wang at intel.com>
> ---
> 1. fix compile warning with VAAPI version less than 1.2.0
> 
>  libavcodec/avcodec.h  | 1 +
>  libavcodec/hevc_ps.c  | 2 ++
>  libavcodec/profiles.c | 1 +
>  3 files changed, 4 insertions(+)
> 
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 90b437ccbe..9e36d2402a 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -1672,6 +1672,7 @@ typedef struct AVCodecContext {
>  #define FF_PROFILE_HEVC_MAIN_10                     2
>  #define FF_PROFILE_HEVC_MAIN_STILL_PICTURE          3
>  #define FF_PROFILE_HEVC_REXT                        4
> +#define FF_PROFILE_HEVC_SCC                         9

This is an API addition and so needs a minor bump and an entry in
APIchanges

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list