aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/profiles.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-06-25 23:28:57 -0300
committerJames Almer <jamrial@gmail.com>2020-06-25 23:36:29 -0300
commit82b64e9bf671e37c078a4aae26b6f5c68723d7f9 (patch)
tree4cb60e2171c596e69830e7216d931c5ccad41b2d /libavcodec/profiles.h
parentd1c55fc46019229b5526768ffdb0e1e67beb21ff (diff)
downloadffmpeg-82b64e9bf671e37c078a4aae26b6f5c68723d7f9.tar.gz
avcodec: add AV1 profiles to profile.h
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/profiles.h')
-rw-r--r--libavcodec/profiles.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/profiles.h b/libavcodec/profiles.h
index d2419257dc..6baaba5701 100644
--- a/libavcodec/profiles.h
+++ b/libavcodec/profiles.h
@@ -51,6 +51,11 @@
FF_AVCTX_PROFILE_OPTION("main", NULL, VIDEO, FF_PROFILE_MPEG2_MAIN)\
FF_AVCTX_PROFILE_OPTION("simple", NULL, VIDEO, FF_PROFILE_MPEG2_SIMPLE)\
+#define FF_AV1_PROFILE_OPTS \
+ FF_AVCTX_PROFILE_OPTION("main", NULL, VIDEO, FF_PROFILE_AV1_MAIN)\
+ FF_AVCTX_PROFILE_OPTION("high", NULL, VIDEO, FF_PROFILE_AV1_HIGH)\
+ FF_AVCTX_PROFILE_OPTION("professional", NULL, VIDEO, FF_PROFILE_AV1_PROFESSIONAL)\
+
extern const AVProfile ff_aac_profiles[];
extern const AVProfile ff_dca_profiles[];
extern const AVProfile ff_dnxhd_profiles[];