summaryrefslogtreecommitdiff
path: root/tests/ref
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2023-01-10 00:03:01 +0200
committerJan Ekström <jeebjp@gmail.com>2023-01-13 21:26:27 +0200
commit5de565107a32414aec9f079940c76812265157c5 (patch)
tree566315b53b2c4c95dd128b9a82389000c780859d /tests/ref
parentbe76a9bd327bb49b1c10f44871253eddf6fc5100 (diff)
downloadffmpeg-5de565107a32414aec9f079940c76812265157c5.tar.gz
avcodec/h2645_sei: add support for Ambient Viewing Environment SEI
Defined by H.274, this SEI message is utilized by iPhones to save the nominal ambient viewing environment for the display of recorded HDR content. The contents of the message are exposed to API users as AVFrame side data containing AVAmbientViewingEnvironment. As the DV RPU test sample is from an iPhone and includes Ambient Viewing Environment SEI messages, its test result gets updated.
Diffstat (limited to 'tests/ref')
-rw-r--r--tests/ref/fate/hevc-dv-rpu12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ref/fate/hevc-dv-rpu b/tests/ref/fate/hevc-dv-rpu
index 1980ab13ea..aaf0223eab 100644
--- a/tests/ref/fate/hevc-dv-rpu
+++ b/tests/ref/fate/hevc-dv-rpu
@@ -3,6 +3,12 @@
side_data_type=H.26[45] User Data Unregistered SEI message
[/SIDE_DATA]
[SIDE_DATA]
+side_data_type=Ambient viewing environment
+ambient_illuminance=3140000/10000
+ambient_light_x=15635/50000
+ambient_light_y=16450/50000
+[/SIDE_DATA]
+[SIDE_DATA]
side_data_type=Dolby Vision RPU Data
[/SIDE_DATA]
[SIDE_DATA]
@@ -120,6 +126,12 @@ source_diagonal=42
[/FRAME]
[FRAME]
[SIDE_DATA]
+side_data_type=Ambient viewing environment
+ambient_illuminance=3140000/10000
+ambient_light_x=15635/50000
+ambient_light_y=16450/50000
+[/SIDE_DATA]
+[SIDE_DATA]
side_data_type=Dolby Vision RPU Data
[/SIDE_DATA]
[SIDE_DATA]