From 02bffc560f5ee91afa62b6c1a1a7012efc161734 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Sun, 15 Jun 2014 19:33:46 +0200 Subject: [PATCH] huffyuv: fate: add a BGR24 test It was previously untested. Signed-off-by: Michael Niedermayer --- tests/fate/vcodec.mak | 6 ++++-- tests/ref/vsynth/vsynth1-huffyuvbgr24 | 4 ++++ tests/ref/vsynth/vsynth2-huffyuvbgr24 | 4 ++++ tests/ref/vsynth/vsynth3-huffyuvbgr24 | 4 ++++ 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 tests/ref/vsynth/vsynth1-huffyuvbgr24 create mode 100644 tests/ref/vsynth/vsynth2-huffyuvbgr24 create mode 100644 tests/ref/vsynth/vsynth3-huffyuvbgr24 diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak index 7636df053c..cefd4d33bd 100644 --- a/tests/fate/vcodec.mak +++ b/tests/fate/vcodec.mak @@ -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 index 0000000000..197b49fd39 --- /dev/null +++ b/tests/ref/vsynth/vsynth1-huffyuvbgr24 @@ -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 index 0000000000..a63985ecd7 --- /dev/null +++ b/tests/ref/vsynth/vsynth2-huffyuvbgr24 @@ -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 index 0000000000..a007acaff0 --- /dev/null +++ b/tests/ref/vsynth/vsynth3-huffyuvbgr24 @@ -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