Browse Source

Add test for cropping of interlaced H.264.

Originally committed as revision 25677 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger 14 years ago
parent
commit
e61bb0852f
2 changed files with 6 additions and 1 deletions
  1. 3 1
      tests/fate/h264.mak
  2. 3 0
      tests/ref/fate/h264-interlace-crop

+ 3 - 1
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

+ 3 - 0
tests/ref/fate/h264-interlace-crop

@@ -0,0 +1,3 @@
+0, 0, 345600, 0xa9cb7e5a
+0, 3600, 345600, 0x73e47555
+0, 7200, 345600, 0x87aac593