Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio@vimeo.com>2019-02-08 15:33:41 +0300
committerVittorio Giovara <vittorio@vimeo.com>2019-02-13 22:53:51 +0300
commit8e80f57c112e21f757e09401f566c89d424a31d6 (patch)
tree3edbd4296e911d3602c063253a6a7bdd1eb4bb00 /include/dav1d/headers.h
parentb4e6377a5b7aa5a34b67873d76e6f45b7b75d444 (diff)
Parse OBU metadata for HDR10 support
Diffstat (limited to 'include/dav1d/headers.h')
-rw-r--r--include/dav1d/headers.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dav1d/headers.h b/include/dav1d/headers.h
index 2152650..8d217b0 100644
--- a/include/dav1d/headers.h
+++ b/include/dav1d/headers.h
@@ -160,6 +160,22 @@ enum Dav1dChromaSamplePosition {
DAV1D_CHR_COLOCATED = 2, ///< Co-located with luma(0, 0) sample
};
+typedef struct Dav1dContentLightLevel {
+ int max_content_light_level;
+ int max_frame_average_light_level;
+} Dav1dContentLightLevel;
+
+typedef struct Dav1dMasteringDisplay {
+ ///< 0.16 fixed point
+ uint16_t primaries[3][2];
+ ///< 0.16 fixed point
+ uint16_t white_point[2];
+ ///< 24.8 fixed point
+ uint32_t max_luminance;
+ ///< 18.14 fixed point
+ uint32_t min_luminance;
+} Dav1dMasteringDisplay;
+
typedef struct Dav1dSequenceHeader {
/**
* Stream profile, 0 for 8-10 bits/component 4:2:0 or monochrome;