[FFmpeg-devel] [PATCH 2/9] fate: add 10bits YUV4:2:2 test
Christophe Gisquet
christophe.gisquet at gmail.com
Mon Oct 12 19:37:43 CEST 2015
It was useful to (accidentally?) spot an overflow in the column pass
of the x86 simple_idct10 implementation.
---
tests/fate/vcodec.mak | 6 +++++-
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, 21 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 e3edcae..92d7374 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -41,11 +41,15 @@ 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: 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 0000000..e8e8516
--- /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
+45429b8540183b91d9028dd085b55b42 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.out.rawvideo
+stddev: 6.22 PSNR: 32.25 MAXDIFF: 64 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 0000000..771cb5a
--- /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
+edc8e010a6353b539e669a5b94de1c59 *tests/data/fate/vsynth2-dnxhd-1080i-10bit.out.rawvideo
+stddev: 1.54 PSNR: 44.38 MAXDIFF: 31 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 0000000..6ff2945
--- /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
+823752744738ea7ad26acd4b22c7bca7 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.out.rawvideo
+stddev: 7.80 PSNR: 30.29 MAXDIFF: 61 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 0000000..974e9ab
--- /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
+a2a25965f72b4c22769b515d027e004e *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.out.rawvideo
+stddev: 1.33 PSNR: 45.62 MAXDIFF: 22 bytes: 7603200/ 760320
--
2.6.0
More information about the ffmpeg-devel
mailing list