From e61bb0852fa53c40633f9330f4a4f62a101ae544 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Thu, 4 Nov 2010 21:48:54 +0000 Subject: [PATCH] Add test for cropping of interlaced H.264. Originally committed as revision 25677 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/fate/h264.mak | 4 +++- tests/ref/fate/h264-interlace-crop | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tests/ref/fate/h264-interlace-crop diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index 6623496..b861380 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -164,7 +164,7 @@ FATE_H264 = aud_mw_e \ sva_nl1_b \ sva_nl2_e \ -FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) +FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) fate-h264-interlace-crop FATE_TESTS += $(FATE_H264) fate-h264: $(FATE_H264) @@ -333,3 +333,5 @@ fate-h264-conformance-sva_cl1_e: CMD = framecrc -i $(SAMPLES)/h264-conformance/ fate-h264-conformance-sva_fm1_e: CMD = framecrc -i $(SAMPLES)/h264-conformance/SVA_FM1_E.264 fate-h264-conformance-sva_nl1_b: CMD = framecrc -i $(SAMPLES)/h264-conformance/SVA_NL1_B.264 fate-h264-conformance-sva_nl2_e: CMD = framecrc -i $(SAMPLES)/h264-conformance/SVA_NL2_E.264 + +fate-h264-interlace-crop: CMD = framecrc -vframes 3 -i $(SAMPLES)/h264/interlaced_crop.mp4 diff --git a/tests/ref/fate/h264-interlace-crop b/tests/ref/fate/h264-interlace-crop new file mode 100644 index 0000000..2202c08 --- /dev/null +++ b/tests/ref/fate/h264-interlace-crop @@ -0,0 +1,3 @@ +0, 0, 345600, 0xa9cb7e5a +0, 3600, 345600, 0x73e47555 +0, 7200, 345600, 0x87aac593 -- 2.7.4