Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-21 06:11:15 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-01-21 06:20:39 +0400
commit13e0109a5f2c452f29da970a9acab06c3ce07833 (patch)
tree3fb104a322646209a2672dbc2bed088e55f29c36
parent3715f9e2c68ba316e49d8e1ac1c663b2ab999ad3 (diff)
fate: add a few tests for >8bpc ffvhuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--tests/fate/vcodec.mak4
-rw-r--r--tests/ref/vsynth/vsynth1-ffvhuff420p124
-rw-r--r--tests/ref/vsynth/vsynth1-ffvhuff422p10left4
-rw-r--r--tests/ref/vsynth/vsynth2-ffvhuff420p124
-rw-r--r--tests/ref/vsynth/vsynth2-ffvhuff422p10left4
5 files changed, 19 insertions, 1 deletions
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index ed737929e9..1a4fdf3b7d 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -58,8 +58,10 @@ FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1.0
fate-vsynth%-ffv1: ENCOPTS = -slices 4
fate-vsynth%-ffv1.0: CODEC = ffv1
-FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff ffvhuff444
+FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff ffvhuff444 ffvhuff420p12 ffvhuff422p10left
fate-vsynth%-ffvhuff444: ENCOPTS = -strict -2 -vcodec ffvhuff -pix_fmt yuv444p
+fate-vsynth%-ffvhuff420p12: ENCOPTS = -strict -2 -vcodec ffvhuff -pix_fmt yuv420p12le
+fate-vsynth%-ffvhuff422p10left: ENCOPTS = -strict -2 -vcodec ffvhuff -pix_fmt yuv422p10le -pred left
FATE_VCODEC-$(call ENCDEC, FLASHSV, FLV) += flashsv
fate-vsynth%-flashsv: ENCOPTS = -sws_flags neighbor+full_chroma_int
diff --git a/tests/ref/vsynth/vsynth1-ffvhuff420p12 b/tests/ref/vsynth/vsynth1-ffvhuff420p12
new file mode 100644
index 0000000000..5479896e72
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-ffvhuff420p12
@@ -0,0 +1,4 @@
+e37a6ec036bec59880e480df22840f0c *tests/data/fate/vsynth1-ffvhuff420p12.avi
+10267454 tests/data/fate/vsynth1-ffvhuff420p12.avi
+b48f32c140712e8c7bf81cfdd66ae312 *tests/data/fate/vsynth1-ffvhuff420p12.out.rawvideo
+stddev: 0.68 PSNR: 51.47 MAXDIFF: 1 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth1-ffvhuff422p10left b/tests/ref/vsynth/vsynth1-ffvhuff422p10left
new file mode 100644
index 0000000000..fd668e9016
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-ffvhuff422p10left
@@ -0,0 +1,4 @@
+efc50fc409f4191001534ef5f186ca25 *tests/data/fate/vsynth1-ffvhuff422p10left.avi
+10552692 tests/data/fate/vsynth1-ffvhuff422p10left.avi
+c31e6caada921ffa3daad3432ef3b754 *tests/data/fate/vsynth1-ffvhuff422p10left.out.rawvideo
+stddev: 1.85 PSNR: 42.78 MAXDIFF: 29 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-ffvhuff420p12 b/tests/ref/vsynth/vsynth2-ffvhuff420p12
new file mode 100644
index 0000000000..108a333321
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-ffvhuff420p12
@@ -0,0 +1,4 @@
+13d0c151dd7700ca102a8720f0560b73 *tests/data/fate/vsynth2-ffvhuff420p12.avi
+8601770 tests/data/fate/vsynth2-ffvhuff420p12.avi
+08b3c6c70eba608bae926608ff253f2a *tests/data/fate/vsynth2-ffvhuff420p12.out.rawvideo
+stddev: 0.68 PSNR: 51.38 MAXDIFF: 1 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-ffvhuff422p10left b/tests/ref/vsynth/vsynth2-ffvhuff422p10left
new file mode 100644
index 0000000000..7035d50d00
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-ffvhuff422p10left
@@ -0,0 +1,4 @@
+dce07b24072447ae83d8e5e2b121e993 *tests/data/fate/vsynth2-ffvhuff422p10left.avi
+8874580 tests/data/fate/vsynth2-ffvhuff422p10left.avi
+a627fb50c8276200fd71383977d87ca3 *tests/data/fate/vsynth2-ffvhuff422p10left.out.rawvideo
+stddev: 0.34 PSNR: 57.43 MAXDIFF: 6 bytes: 7603200/ 7603200