From f1181e466062541b6562f6c06dccc7a209ec76c5 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Mon, 12 Oct 2015 19:37:43 +0200 Subject: [PATCH] fate: add 10bits YUV4:2:2 dnxhd test It was useful to (accidentally?) spot an overflow in the column pass of the x86 simple_idct10 implementation. Signed-off-by: Michael Niedermayer --- tests/fate/vcodec.mak | 7 ++++++- tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit | 4 ++++ tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit | 4 ++++ tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit | 4 ++++ tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit | 4 ++++ 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit create mode 100644 tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit create mode 100644 tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit create mode 100644 tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak index e3edcae358..bbaec8ae9e 100644 --- a/tests/fate/vcodec.mak +++ b/tests/fate/vcodec.mak @@ -41,11 +41,16 @@ fate-vsynth%-dnxhd-720p-10bit: ENCOPTS = -s hd720 -b 90M \ -pix_fmt yuv422p10 -frames 5 -qmax 8 fate-vsynth%-dnxhd-720p-10bit: FMT = dnxhd -FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i dnxhd-1080i-colr +FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i dnxhd-1080i-10bit dnxhd-1080i-colr fate-vsynth%-dnxhd-1080i: ENCOPTS = -s hd1080 -b 120M -flags +ildct \ -pix_fmt yuv422p -frames 5 -qmax 8 fate-vsynth%-dnxhd-1080i: FMT = mov +fate-vsynth%-dnxhd-1080i-10bit: ENCOPTS = -s hd1080 -b 185M -flags +ildct \ + -pix_fmt yuv422p10 -frames 5 -qmax 8 +fate-vsynth%-dnxhd-1080i-10bit: DECOPTS = -sws_flags area+accurate_rnd+bitexact +fate-vsynth%-dnxhd-1080i-10bit: FMT = mov + fate-vsynth%-dnxhd-1080i-colr: ENCOPTS = -s hd1080 -b 120M -flags +ildct -movflags write_colr \ -pix_fmt yuv422p -frames 5 -qmax 8 fate-vsynth%-dnxhd-1080i-colr: DECOPTS = -sws_flags area+accurate_rnd+bitexact diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit new file mode 100644 index 0000000000..dd96e1423e --- /dev/null +++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit @@ -0,0 +1,4 @@ +f562845d1848bf5d3e524b418b742e01 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov +4588391 tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov +31032fcb7e6af79daaac02288254c6d6 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.out.rawvideo +stddev: 5.69 PSNR: 33.02 MAXDIFF: 55 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit new file mode 100644 index 0000000000..3361c9341d --- /dev/null +++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit @@ -0,0 +1,4 @@ +514607eecfd9004aa4da1d216f7620ce *tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov +4588391 tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov +e4ca9be476869afb94962d945f90bdf6 *tests/data/fate/vsynth2-dnxhd-1080i-10bit.out.rawvideo +stddev: 1.57 PSNR: 44.18 MAXDIFF: 33 bytes: 7603200/ 760320 diff --git a/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit new file mode 100644 index 0000000000..006af6c5d4 --- /dev/null +++ b/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit @@ -0,0 +1,4 @@ +dea8862f8ae9fb03f665f358dde75962 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov +4588391 tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov +c192f36ef8687e56c72a3dc416c7e191 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.out.rawvideo +stddev: 6.92 PSNR: 31.32 MAXDIFF: 50 bytes: 86700/ 8670 diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit new file mode 100644 index 0000000000..109e3d5623 --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit @@ -0,0 +1,4 @@ +72144676d0c6e320ff2c9b28bc3e4fa2 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov +4588391 tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov +f2dc4375c58e0406d442e0cb28573e91 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.out.rawvideo +stddev: 1.36 PSNR: 45.40 MAXDIFF: 22 bytes: 7603200/ 760320