diff options
author | James Almer <jamrial@gmail.com> | 2019-04-15 00:52:38 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-04-17 01:23:17 +0300 |
commit | cfe220332a8ff821c5f4eb535b634502b5427ae3 (patch) | |
tree | c18ed590a078ed61eb8160a07443ee44c3af9032 /libavcodec/av1.h | |
parent | 5ba769214f91f099f93185d33bd28e0460cc3908 (diff) |
avcodec/cbs_av1: add support for Scalability Metadata
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/av1.h')
-rw-r--r-- | libavcodec/av1.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libavcodec/av1.h b/libavcodec/av1.h index f2ec39c86b..6c0e32485b 100644 --- a/libavcodec/av1.h +++ b/libavcodec/av1.h @@ -127,4 +127,37 @@ enum { AV1_CSP_COLOCATED = 2, // -> AVCHROMA_LOC_TOPLEFT. }; +// Scalability modes (section 6.7.5) +enum { + AV1_SCALABILITY_L1T2 = 0, + AV1_SCALABILITY_L1T3 = 1, + AV1_SCALABILITY_L2T1 = 2, + AV1_SCALABILITY_L2T2 = 3, + AV1_SCALABILITY_L2T3 = 4, + AV1_SCALABILITY_S2T1 = 5, + AV1_SCALABILITY_S2T2 = 6, + AV1_SCALABILITY_S2T3 = 7, + AV1_SCALABILITY_L2T1h = 8, + AV1_SCALABILITY_L2T2h = 9, + AV1_SCALABILITY_L2T3h = 10, + AV1_SCALABILITY_S2T1h = 11, + AV1_SCALABILITY_S2T2h = 12, + AV1_SCALABILITY_S2T3h = 13, + AV1_SCALABILITY_SS = 14, + AV1_SCALABILITY_L3T1 = 15, + AV1_SCALABILITY_L3T2 = 16, + AV1_SCALABILITY_L3T3 = 17, + AV1_SCALABILITY_S3T1 = 18, + AV1_SCALABILITY_S3T2 = 19, + AV1_SCALABILITY_S3T3 = 20, + AV1_SCALABILITY_L3T2_KEY = 21, + AV1_SCALABILITY_L3T3_KEY = 22, + AV1_SCALABILITY_L4T5_KEY = 23, + AV1_SCALABILITY_L4T7_KEY = 24, + AV1_SCALABILITY_L3T2_KEY_SHIFT = 25, + AV1_SCALABILITY_L3T3_KEY_SHIFT = 26, + AV1_SCALABILITY_L4T5_KEY_SHIFT = 27, + AV1_SCALABILITY_L4T7_KEY_SHIFT = 28, +}; + #endif /* AVCODEC_AV1_H */ |