huffyuv: fate: add a BGR24 test
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Sun, 15 Jun 2014 17:33:46 +0000 (19:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Jun 2014 22:38:03 +0000 (00:38 +0200)
It was previously untested.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/fate/vcodec.mak
tests/ref/vsynth/vsynth1-huffyuvbgr24 [new file with mode: 0644]
tests/ref/vsynth/vsynth2-huffyuvbgr24 [new file with mode: 0644]
tests/ref/vsynth/vsynth3-huffyuvbgr24 [new file with mode: 0644]

index 7636df0..cefd4d3 100644 (file)
@@ -91,9 +91,11 @@ fate-vsynth%-h263:               ENCOPTS = -qscale 10
 fate-vsynth%-h263-obmc:          ENCOPTS = -qscale 10 -obmc 1
 fate-vsynth%-h263p:              ENCOPTS = -qscale 2 -flags +aic -umv 1 -aiv 1 -ps 300
 
-FATE_VCODEC-$(call ENCDEC, HUFFYUV, AVI) += huffyuv
-fate-vsynth%-huffyuv:            ENCOPTS = -pix_fmt yuv422p -sws_flags neighbor
+FATE_VCODEC-$(call ENCDEC, HUFFYUV, AVI) += huffyuv huffyuvbgr24
+fate-vsynth%-huffyuv:            ENCOPTS = -vcodec huffyuv -pix_fmt yuv422p -sws_flags neighbor
 fate-vsynth%-huffyuv:            DECOPTS = -sws_flags neighbor
+fate-vsynth%-huffyuvbgr24:       ENCOPTS = -vcodec huffyuv -pix_fmt bgr24 -sws_flags neighbor
+fate-vsynth%-huffyuvbgr24:       DECOPTS = -sws_flags neighbor
 
 FATE_VCODEC-$(call ENCDEC, JPEGLS, AVI) += jpegls
 fate-vsynth%-jpegls:             ENCOPTS = -sws_flags neighbor+full_chroma_int
diff --git a/tests/ref/vsynth/vsynth1-huffyuvbgr24 b/tests/ref/vsynth/vsynth1-huffyuvbgr24
new file mode 100644 (file)
index 0000000..197b49f
--- /dev/null
@@ -0,0 +1,4 @@
+179e6126e977cda3dba49620e070e13f *tests/data/fate/vsynth1-huffyuvbgr24.avi
+11504664 tests/data/fate/vsynth1-huffyuvbgr24.avi
+49c03ab1b73b7cd3cabc3c77a9479c9e *tests/data/fate/vsynth1-huffyuvbgr24.out.rawvideo
+stddev:    3.16 PSNR: 38.12 MAXDIFF:   50 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-huffyuvbgr24 b/tests/ref/vsynth/vsynth2-huffyuvbgr24
new file mode 100644 (file)
index 0000000..a63985e
--- /dev/null
@@ -0,0 +1,4 @@
+4516094cbbac6ef2e52b3ae3cc206ea5 *tests/data/fate/vsynth2-huffyuvbgr24.avi
+9316868 tests/data/fate/vsynth2-huffyuvbgr24.avi
+0a8b7ddfec03622e37c869c5b552f9fc *tests/data/fate/vsynth2-huffyuvbgr24.out.rawvideo
+stddev:    1.24 PSNR: 46.26 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth3-huffyuvbgr24 b/tests/ref/vsynth/vsynth3-huffyuvbgr24
new file mode 100644 (file)
index 0000000..a007aca
--- /dev/null
@@ -0,0 +1,4 @@
+1305108d6ab10d3488467fae4c61cbeb *tests/data/fate/vsynth3-huffyuvbgr24.avi
+142020 tests/data/fate/vsynth3-huffyuvbgr24.avi
+5d031d2e891b13593b8cd79e63d083b4 *tests/data/fate/vsynth3-huffyuvbgr24.out.rawvideo
+stddev:    3.23 PSNR: 37.92 MAXDIFF:   50 bytes:    86700/    86700