Add ambient viewing enviroment atom.

This commit is contained in:
Damiano galassi committed 2023-05-10 12:40:03 +02:00
1 parent 9c6b7126f1
commit cb43951955
5 files changed
+48 -1

No files matched your search

+8
View File
@@ -25,6 +25,13 @@ typedef struct MP42ContentLightMetadata {
uint32_t MaxFALL;
} MP42ContentLightMetadata;
typedef struct MP42AmbientViewingEnviroment {
uint32_t ambient_illuminance;
uint16_t ambient_light_x;
uint16_t ambient_light_y;
} MP42AmbientViewingEnviroment;
// matches payload of ISO/IEC 23008-2:2015(E), D.2.28 Mastering display colour volume SEI message
typedef struct MP42MasteringDisplayMetadataPayload {
uint16_t display_primaries_gx;
@@ -46,4 +53,5 @@ typedef struct MP42ContentLightMetadataPayload {
uint16_t MaxFALL;
} MP42ContentLightMetadataPayload;
#endif /* MP42MasteringDisplayMetadata_h */