aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-11-04 21:48:54 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-11-04 21:48:54 +0000
commite61bb0852fa53c40633f9330f4a4f62a101ae544 (patch)
tree4ee96f1996305371d4e16d420221acf004a3c669
parentbbdee6e5f9dc50d805dd383464f73413f968c31f (diff)
downloadffmpeg-e61bb0852fa53c40633f9330f4a4f62a101ae544.tar.gz
Add test for cropping of interlaced H.264.
Originally committed as revision 25677 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/fate/h264.mak4
-rw-r--r--tests/ref/fate/h264-interlace-crop3
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 6623496d0a..b861380974 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 0000000000..2202c089d6
--- /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