aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-11-18 18:03:45 +0000
committerPaul B Mahol <onemda@gmail.com>2012-11-18 19:45:21 +0000
commita6f4c41a7e7f6c0f47034654a40df47abf2726ea (patch)
tree9ba60f384ab30bbd3e0bb094bbe959a0981d0e2d /tests
parent36cf247e4302afcb09e995ad1c594d97897d17ba (diff)
downloadffmpeg-a6f4c41a7e7f6c0f47034654a40df47abf2726ea.tar.gz
fate: add mjpeg-422 and mjpeg-444 tests
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/vcodec.mak4
-rw-r--r--tests/ref/fate/vsynth1-mjpeg-4224
-rw-r--r--tests/ref/fate/vsynth1-mjpeg-4444
-rw-r--r--tests/ref/fate/vsynth2-mjpeg-4224
-rw-r--r--tests/ref/fate/vsynth2-mjpeg-4444
5 files changed, 19 insertions, 1 deletions
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index c8653e4660..a0fcedfd05 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -95,8 +95,10 @@ fate-vsynth%-j2k: DECINOPTS = -vcodec j2k -strict experimental
FATE_VCODEC-$(call ENCDEC, LJPEG MJPEG, AVI) += ljpeg
fate-vsynth%-ljpeg: ENCOPTS = -strict -1
-FATE_VCODEC-$(call ENCDEC, MJPEG, AVI) += mjpeg
+FATE_VCODEC-$(call ENCDEC, MJPEG, AVI) += mjpeg mjpeg-422 mjpeg-444
fate-vsynth%-mjpeg: ENCOPTS = -qscale 9 -pix_fmt yuvj420p
+fate-vsynth%-mjpeg-422: ENCOPTS = -qscale 9 -pix_fmt yuvj422p
+fate-vsynth%-mjpeg-444: ENCOPTS = -qscale 9 -pix_fmt yuvj444p
FATE_VCODEC-$(call ENCDEC, MPEG1VIDEO, MPEG1VIDEO MPEGVIDEO) += mpeg1 mpeg1b
fate-vsynth%-mpeg1: FMT = mpeg1video
diff --git a/tests/ref/fate/vsynth1-mjpeg-422 b/tests/ref/fate/vsynth1-mjpeg-422
new file mode 100644
index 0000000000..e631a2b157
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mjpeg-422
@@ -0,0 +1,4 @@
+cd452cb6a2967b2f3bd2d31de6c95bf1 *tests/data/fate/vsynth1-mjpeg-422.avi
+1756300 tests/data/fate/vsynth1-mjpeg-422.avi
+c35eea486c6d72050f4848eab64032b5 *tests/data/fate/vsynth1-mjpeg-422.out.rawvideo
+stddev: 7.45 PSNR: 30.69 MAXDIFF: 63 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mjpeg-444 b/tests/ref/fate/vsynth1-mjpeg-444
new file mode 100644
index 0000000000..3ad0c51195
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mjpeg-444
@@ -0,0 +1,4 @@
+bf3e8f03857c8b3c7b1cdc7bb1aa5bae *tests/data/fate/vsynth1-mjpeg-444.avi
+1987582 tests/data/fate/vsynth1-mjpeg-444.avi
+313a4a76af13d5879ea4910107b7ea74 *tests/data/fate/vsynth1-mjpeg-444.out.rawvideo
+stddev: 7.37 PSNR: 30.77 MAXDIFF: 63 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mjpeg-422 b/tests/ref/fate/vsynth2-mjpeg-422
new file mode 100644
index 0000000000..fc0a4ba123
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mjpeg-422
@@ -0,0 +1,4 @@
+1ec800caa1dd2244677220d8a2b342ca *tests/data/fate/vsynth2-mjpeg-422.avi
+746530 tests/data/fate/vsynth2-mjpeg-422.avi
+451ac80989c4e14445cf951fd7f83b6d *tests/data/fate/vsynth2-mjpeg-422.out.rawvideo
+stddev: 4.18 PSNR: 35.70 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mjpeg-444 b/tests/ref/fate/vsynth2-mjpeg-444
new file mode 100644
index 0000000000..e04c31c7d7
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mjpeg-444
@@ -0,0 +1,4 @@
+0af500d33a7e4d04e9778fb9ed6180b3 *tests/data/fate/vsynth2-mjpeg-444.avi
+856628 tests/data/fate/vsynth2-mjpeg-444.avi
+34edcb9c87ff7aac456a4fb07f43504b *tests/data/fate/vsynth2-mjpeg-444.out.rawvideo
+stddev: 4.05 PSNR: 35.96 MAXDIFF: 49 bytes: 7603200/ 7603200