aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc_sei.h
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2023-07-11 23:40:45 +0300
committerJan Ekström <jeebjp@gmail.com>2023-07-27 21:45:43 +0300
commit33358b862c8b796362218f12555e351aaf35a8f4 (patch)
tree8d88ac3a75114e590eb7e1a1e1965c151292540c /libavcodec/hevc_sei.h
parent0ba719f726632d73592311615087a0d64aa2fb60 (diff)
downloadffmpeg-33358b862c8b796362218f12555e351aaf35a8f4.tar.gz
avcodec: move mastering display colour volume SEI handling to h2645_sei
This allows this common H.274 SEI to be parsed from both H.264 as well as HEVC, as well as probably from VVC in the future. Generally attempts to keep the original code as similar as possible. FATE test refererence changes only change the order of side data export within a single frame. Nothing else seems to have changed.
Diffstat (limited to 'libavcodec/hevc_sei.h')
-rw-r--r--libavcodec/hevc_sei.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/hevc_sei.h b/libavcodec/hevc_sei.h
index 4189f5e6f7..077abdc74a 100644
--- a/libavcodec/hevc_sei.h
+++ b/libavcodec/hevc_sei.h
@@ -53,14 +53,6 @@ typedef struct HEVCSEIPictureTiming {
int picture_struct;
} HEVCSEIPictureTiming;
-typedef struct HEVCSEIMasteringDisplay {
- int present;
- uint16_t display_primaries[3][2];
- uint16_t white_point[2];
- uint32_t max_luminance;
- uint32_t min_luminance;
-} HEVCSEIMasteringDisplay;
-
typedef struct HEVCSEIContentLight {
int present;
uint16_t max_content_light_level;
@@ -96,7 +88,6 @@ typedef struct HEVCSEI {
H2645SEI common;
HEVCSEIPictureHash picture_hash;
HEVCSEIPictureTiming picture_timing;
- HEVCSEIMasteringDisplay mastering_display;
HEVCSEIContentLight content_light;
int active_seq_parameter_set_id;
HEVCSEITimeCode timecode;