aboutsummaryrefslogtreecommitdiff
path: root/src/gav1/decoder_buffer.h
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2023-11-27 22:46:32 -0500
committerBoyuan Yang <byang@debian.org>2023-11-27 22:46:32 -0500
commit7fee0fd1b17b4f963fa1db74c3a5fcc3ff142e0d (patch)
tree4ed468528001d8e80e3be09413ae927ca2ac05ce /src/gav1/decoder_buffer.h
parent0d1e75e423265689dd49c7d6023d8bba70ca4d05 (diff)
parent19564cb4f77660cdb2f980ca619d4b979b9fe342 (diff)
downloadlibgav1-7fee0fd1b17b4f963fa1db74c3a5fcc3ff142e0d.tar.gz
libgav1-7fee0fd1b17b4f963fa1db74c3a5fcc3ff142e0d.tar.bz2
libgav1-7fee0fd1b17b4f963fa1db74c3a5fcc3ff142e0d.zip
Update upstream source from tag 'upstream/0.19.0'
Update to upstream version '0.19.0' with Debian dir a4233a4a247b06e8d6e36d07d059f03582d97721
Diffstat (limited to 'src/gav1/decoder_buffer.h')
-rw-r--r--src/gav1/decoder_buffer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gav1/decoder_buffer.h b/src/gav1/decoder_buffer.h
index 0a5586e..816eca4 100644
--- a/src/gav1/decoder_buffer.h
+++ b/src/gav1/decoder_buffer.h
@@ -115,20 +115,30 @@ typedef enum Libgav1ColorRange {
kLibgav1ColorRangeFull // YUV/RGB [0..255]
} Libgav1ColorRange;
+// Section 6.7.3.
typedef struct Libgav1ObuMetadataHdrCll { // NOLINT
uint16_t max_cll; // Maximum content light level.
uint16_t max_fall; // Maximum frame-average light level.
} Libgav1ObuMetadataHdrCll;
+// Section 6.7.4.
typedef struct Libgav1ObuMetadataHdrMdcv { // NOLINT
+ // 0.16 fixed-point X/Y chromaticity coordinate as defined by CIE 1931 in
+ // R/G/B order.
uint16_t primary_chromaticity_x[3];
uint16_t primary_chromaticity_y[3];
+ // 0.16 fixed-point X/Y chromaticity coordinate as defined by CIE 1931.
uint16_t white_point_chromaticity_x;
uint16_t white_point_chromaticity_y;
+ // 24.8 fixed-point maximum luminance, represented in candelas per square
+ // meter.
uint32_t luminance_max;
+ // 18.14 fixed-point minimum luminance, represented in candelas per square
+ // meter.
uint32_t luminance_min;
} Libgav1ObuMetadataHdrMdcv;
+// Section 6.7.2.
typedef struct Libgav1ObuMetadataItutT35 { // NOLINT
uint8_t country_code;
uint8_t country_code_extension_byte; // Valid if country_code is 0xFF.