summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-04-21 09:08:56 -0300
committerJames Almer <jamrial@gmail.com>2023-04-22 11:20:58 -0300
commit41bbf2e372f39d99e9fafd2a90a44c4d517d85c0 (patch)
tree3af7439c7b431bd9d388de4927f895ffd032f055 /tests
parent95a78c08c17b73a50ad64c1b82e47970a3f2bc41 (diff)
downloadffmpeg-41bbf2e372f39d99e9fafd2a90a44c4d517d85c0.tar.gz
fate/h264: test disabling cropping
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/h264.mak4
-rw-r--r--tests/ref/fate/h264-afd288
2 files changed, 291 insertions, 1 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 173806861a..0ff3d6df55 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -451,7 +451,9 @@ fate-h264-timecode: CMD = framecrc -i $(TARGET_SAM
fate-h264-reinit-%: CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf scale,format=yuv444p10le,scale=w=352:h=288
fate-h264-dts_5frames: CMD = probeframes $(TARGET_SAMPLES)/h264/dts_5frames.mkv
-fate-h264-afd: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -bitexact -show_entries frame_side_data_list $(TARGET_SAMPLES)/h264/bbc2.sample.h264
+fate-h264-afd: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -bitexact -apply_cropping 0 \
+ -show_entries frame=width,height,crop_top,crop_bottom,crop_left,crop_right:frame_side_data_list:stream=width,height,coded_width,coded_height \
+ $(TARGET_SAMPLES)/h264/bbc2.sample.h264
fate-h264-encparams: CMD = venc_data $(TARGET_SAMPLES)/h264-conformance/FRext/FRExt_MMCO4_Sony_B.264 0 1
FATE_SAMPLES_DUMP_DATA += fate-h264-encparams
diff --git a/tests/ref/fate/h264-afd b/tests/ref/fate/h264-afd
index a45e899eea..56d16f2307 100644
--- a/tests/ref/fate/h264-afd
+++ b/tests/ref/fate/h264-afd
@@ -1,282 +1,570 @@
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
[FRAME]
+width=1440
+height=1088
+crop_top=0
+crop_bottom=8
+crop_left=0
+crop_right=0
[SIDE_DATA]
side_data_type=Active format description
active_format=14
[/SIDE_DATA]
[/FRAME]
+[STREAM]
+width=1440
+height=1080
+coded_width=1440
+coded_height=1088
+[/STREAM]