diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-02 14:57:41 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-07 00:39:02 +0200 |
commit | 8238bc0b5e3dba271217b1223a901b3f9713dc6e (patch) | |
tree | 2809c5b9d9b26042d584c92afeb76b059484c00f /libavcodec/vaapi_encode_vp9.c | |
parent | 0c6e5f321bf5c4054e8b98232692465b342b42b4 (diff) | |
download | ffmpeg-8238bc0b5e3dba271217b1223a901b3f9713dc6e.tar.gz |
avcodec/defs: Add AV_PROFILE_* defines, deprecate FF_PROFILE_* defines
These defines are also used in other contexts than just AVCodecContext
ones, e.g. in libavformat. Furthermore, given that these defines are
public, the AV-prefix is the right one, so deprecate (and not just move)
the FF-macros.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vaapi_encode_vp9.c')
-rw-r--r-- | libavcodec/vaapi_encode_vp9.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/vaapi_encode_vp9.c b/libavcodec/vaapi_encode_vp9.c index af1353cea8..87429881f1 100644 --- a/libavcodec/vaapi_encode_vp9.c +++ b/libavcodec/vaapi_encode_vp9.c @@ -227,11 +227,11 @@ static av_cold int vaapi_encode_vp9_configure(AVCodecContext *avctx) } static const VAAPIEncodeProfile vaapi_encode_vp9_profiles[] = { - { FF_PROFILE_VP9_0, 8, 3, 1, 1, VAProfileVP9Profile0 }, - { FF_PROFILE_VP9_1, 8, 3, 0, 0, VAProfileVP9Profile1 }, - { FF_PROFILE_VP9_2, 10, 3, 1, 1, VAProfileVP9Profile2 }, - { FF_PROFILE_VP9_3, 10, 3, 0, 0, VAProfileVP9Profile3 }, - { FF_PROFILE_UNKNOWN } + { AV_PROFILE_VP9_0, 8, 3, 1, 1, VAProfileVP9Profile0 }, + { AV_PROFILE_VP9_1, 8, 3, 0, 0, VAProfileVP9Profile1 }, + { AV_PROFILE_VP9_2, 10, 3, 1, 1, VAProfileVP9Profile2 }, + { AV_PROFILE_VP9_3, 10, 3, 0, 0, VAProfileVP9Profile3 }, + { AV_PROFILE_UNKNOWN } }; static const VAAPIEncodeType vaapi_encode_type_vp9 = { |