fate: Add FATE tests for v410 encoder and decoder
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 13 Dec 2011 20:07:12 +0000 (15:07 -0500)
committerDiego Biurrun <diego@biurrun.de>
Thu, 15 Dec 2011 12:31:40 +0000 (13:31 +0100)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
tests/fate2.mak
tests/ref/fate/v410dec [new file with mode: 0644]
tests/ref/fate/v410enc [new file with mode: 0644]

index 521357c..b0591a3 100644 (file)
@@ -125,3 +125,10 @@ fate-musepack7: FUZZ = 1
 FATE_TESTS += fate-iirfilter
 fate-iirfilter: libavcodec/iirfilter-test$(EXESUF)
 fate-iirfilter: CMD = run libavcodec/iirfilter-test
+
+FATE_TESTS += fate-v410dec
+fate-v410dec: CMD = framecrc -i $(SAMPLES)/v410/lenav410.mov -pix_fmt yuv444p10le
+
+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