1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fate: add a test for HDR Vivid metadata in HEVC

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2022-03-03 20:09:30 +08:00
parent c71b76e141
commit 0a005b1207
2 changed files with 81 additions and 0 deletions

View File

@ -273,6 +273,9 @@ FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-monochrome-crop
fate-hevc-hdr10-plus-metadata: CMD = probeframes -show_entries frame=side_data_list $(TARGET_SAMPLES)/hevc/hdr10_plus_h265_sample.hevc
FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-hdr10-plus-metadata
fate-hevc-hdr-vivid-metadata: CMD = probeframes -show_entries frame=side_data_list $(TARGET_SAMPLES)/hevc/hdr_vivid_h265_sample.hevc
FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-hdr-vivid-metadata
fate-hevc-dv-rpu: CMD = probeframes -show_entries frame=side_data_list -select_streams 0 -read_intervals "%+\#2" $(TARGET_SAMPLES)/hevc/dv84.mov
FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-dv-rpu

View File

@ -0,0 +1,78 @@
[FRAME]
[SIDE_DATA]
side_data_type=Mastering display metadata
red_x=34000/50000
red_y=16000/50000
green_x=13250/50000
green_y=34500/50000
blue_x=7500/50000
blue_y=3000/50000
white_point_x=15635/50000
white_point_y=16450/50000
min_luminance=50/10000
max_luminance=40000000/10000
[/SIDE_DATA]
[SIDE_DATA]
side_data_type=Content light level metadata
max_content=0
max_average=0
[/SIDE_DATA]
[SIDE_DATA]
side_data_type=H.26[45] User Data Unregistered SEI message
[/SIDE_DATA]
[SIDE_DATA]
side_data_type=HDR Dynamic Metadata CUVA 005.1 2021 (Vivid)
system_start_code=1
num_windows=1
minimum_maxrgb=0/4095
average_maxrgb=3046/4095
variance_maxrgb=1535/4095
maximum_maxrgb=4095/4095
tone_mapping_mode_flag=1
tone_mapping_param_num=2
targeted_system_display_maximum_luminance=2770/4095
base_enable_flag=1
base_param_m_p=5734/16383
base_param_m_m=24/10
base_param_m_a=563/1023
base_param_m_b=0/1023
base_param_m_n=10/10
base_param_k1=1
base_param_k2=1
base_param_k3=1
base_param_Delta_enable_mode=0
base_param_Delta=0/127
3Spline_enable_flag=1
3Spline_num=1
3Spline_TH_mode=0
3Spline_TH_enable_MB=224/255
3Spline_TH_enable=0/4095
3Spline_TH_Delta1=511/1023
3Spline_TH_Delta2=511/1023
3Spline_enable_Strength=127/255
targeted_system_display_maximum_luminance=2080/4095
base_enable_flag=1
base_param_m_p=5734/16383
base_param_m_m=24/10
base_param_m_a=563/1023
base_param_m_b=0/1023
base_param_m_n=10/10
base_param_k1=1
base_param_k2=1
base_param_k3=1
base_param_Delta_enable_mode=0
base_param_Delta=0/127
3Spline_enable_flag=1
3Spline_num=1
3Spline_TH_mode=0
3Spline_TH_enable_MB=224/255
3Spline_TH_enable=0/4095
3Spline_TH_Delta1=511/1023
3Spline_TH_Delta2=511/1023
3Spline_enable_Strength=127/255
color_saturation_mapping_flag=1
color_saturation_num=2
color_saturation_gain=38/128
color_saturation_gain=25/128
[/SIDE_DATA]
[/FRAME]