OSDN Git Service

fate: Add FATE tests for v410 encoder and decoder
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 13 Dec 2011 22:19:00 +0000 (17:19 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 14 Dec 2011 02:40:29 +0000 (03:40 +0100)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/fate2.mak
tests/ref/fate/v410dec [new file with mode: 0644]
tests/ref/fate/v410enc [new file with mode: 0644]

index 969fd95..2eb4fac 100644 (file)
@@ -265,3 +265,10 @@ fate-utvideo_yuv422_left: CMD = framecrc -i $(SAMPLES)/utvideo/utvideo_yuv422_le
 
 FATE_TESTS += fate-utvideo_yuv422_median
 fate-utvideo_yuv422_median: CMD = framecrc -i $(SAMPLES)/utvideo/utvideo_yuv422_median.avi
+
+FATE_TESTS += fate-v410dec
+fate-v410dec: CMD = framecrc -i $(SAMPLES)/v410/lenav410.mov
+
+FATE_TESTS += fate-v410enc
+fate-v410enc: tests/vsynth1/00.pgm
+fate-v410enc: CMD = md5 -f image2 -vcodec pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -flags +bitexact -vcodec v410 -f avi
diff --git a/tests/ref/fate/v410dec b/tests/ref/fate/v410dec
new file mode 100644 (file)
index 0000000..f72d74f
--- /dev/null
@@ -0,0 +1 @@
+0, 0, 393216, 0xfe11a6b0
diff --git a/tests/ref/fate/v410enc b/tests/ref/fate/v410enc
new file mode 100644 (file)
index 0000000..e5332de
--- /dev/null
@@ -0,0 +1 @@
+979c9a9a09e8eaaf6467b8c22c0ac8bb