diff mbox

[FFmpeg-devel,1/6] fate: add test of -idct simpleauto

Message ID 20170615133426.4484-2-jdarnley@obe.tv
State New
Headers show

Commit Message

James Darnley June 15, 2017, 1:34 p.m. UTC
---
 tests/fate/video.mak           |  3 +++
 tests/ref/fate/idct-simpleauto | 27 +++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 tests/ref/fate/idct-simpleauto
diff mbox

Patch

diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index d1d35335f2..455c1d3564 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -245,6 +245,9 @@  fate-mpeg2-ticket186: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_S
 FATE_VIDEO-$(call DEMDEC, MPEGPS, MPEG2VIDEO) += fate-mpeg2-ticket6024
 fate-mpeg2-ticket6024: CMD = framecrc -flags +bitexact -idct simple -flags +truncated -i $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg -an
 
+FATE_VIDEO-$(call DEMDEC, MPEGPS, MPEG2VIDEO) += fate-idct-simpleauto
+fate-idct-simpleauto: CMD = framecrc -flags +bitexact -idct simpleauto -flags +truncated -i $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg -an
+
 FATE_VIDEO-$(call DEMDEC, MV, MVC1) += fate-mv-mvc1
 fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/posture.mv -an -frames 25 -pix_fmt rgb555le
 
diff --git a/tests/ref/fate/idct-simpleauto b/tests/ref/fate/idct-simpleauto
new file mode 100644
index 0000000000..bd416240f3
--- /dev/null
+++ b/tests/ref/fate/idct-simpleauto
@@ -0,0 +1,27 @@ 
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 716x236
+#sar 0: 1/1
+0,          2,          2,        1,   253464, 0xc51a46f9
+0,          4,          4,        1,   253464, 0xd0661651
+0,          5,          5,        1,   253464, 0x38a213b3
+0,          6,          6,        1,   253464, 0x038a5118
+0,          7,          7,        1,   253464, 0xebd8de64
+0,          8,          8,        1,   253464, 0x0b319ee0
+0,          9,          9,        1,   253464, 0x37b03a45
+0,         10,         10,        1,   253464, 0x5f9c89ae
+0,         11,         11,        1,   253464, 0x88ad9c08
+0,         12,         12,        1,   253464, 0x387198bc
+0,         13,         13,        1,   253464, 0xf3933eb6
+0,         14,         14,        1,   253464, 0x9bd27b98
+0,         15,         15,        1,   253464, 0x9442c538
+0,         16,         16,        1,   253464, 0x330be2a4
+0,         17,         17,        1,   253464, 0xb4b8c1df
+0,         18,         18,        1,   253464, 0xc97ded34
+0,         19,         19,        1,   253464, 0xcad936e0
+0,         20,         20,        1,   253464, 0x11a2850d
+0,         21,         21,        1,   253464, 0x2545ad23
+0,         22,         22,        1,   253464, 0xa5e17c47
+0,         23,         23,        1,   253464, 0x39452689
+0,         24,         24,        1,   253464, 0x1daefd72