aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-08-16 23:06:19 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-08-16 23:14:11 +0200
commit0d98686fde90d77d8e0824c7bdabf7168ec77d4e (patch)
tree010e5941ff5605a9aef84fab50b3db1b5457d67c
parent62f5e601aa4d42cf17f5f4331a2b7e2b533d4e69 (diff)
downloadffmpeg-0d98686fde90d77d8e0824c7bdabf7168ec77d4e.tar.gz
fate: Add RGB48 FFV1 test
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tests/fate/vcodec.mak5
-rw-r--r--tests/ref/vsynth/vsynth1-ffv1-v3-rgb484
-rw-r--r--tests/ref/vsynth/vsynth2-ffv1-v3-rgb484
-rw-r--r--tests/ref/vsynth/vsynth3-ffv1-v3-rgb484
-rw-r--r--tests/ref/vsynth/vsynth_lena-ffv1-v3-rgb484
5 files changed, 20 insertions, 1 deletions
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index f4363a9ce4..4ed94a58ca 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -130,7 +130,7 @@ fate-vsynth%-dv-50: FMT = dv
FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1-v0 \
ffv1-v3-yuv420p ffv1-v3-yuv422p10 ffv1-v3-yuv444p16 \
- ffv1-v3-bgr0
+ ffv1-v3-bgr0 ffv1-v3-rgb48
fate-vsynth%-ffv1: ENCOPTS = -slices 4
fate-vsynth%-ffv1-v0: CODEC = ffv1
fate-vsynth%-ffv1-v3-yuv420p: ENCOPTS = -level 3 -pix_fmt yuv420p
@@ -143,6 +143,9 @@ fate-vsynth%-ffv1-v3-yuv444p16: DECOPTS = -sws_flags neighbor+bitexact
fate-vsynth%-ffv1-v3-bgr0: ENCOPTS = -level 3 -pix_fmt bgr0 \
-sws_flags neighbor+bitexact
fate-vsynth%-ffv1-v3-bgr0: DECOPTS = -sws_flags neighbor+bitexact
+fate-vsynth%-ffv1-v3-rgb48: ENCOPTS = -level 3 -pix_fmt rgb48 -strict -2 \
+ -sws_flags neighbor+bitexact
+fate-vsynth%-ffv1-v3-rgb48: DECOPTS = -sws_flags neighbor+bitexact
FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff ffvhuff444 ffvhuff420p12 ffvhuff422p10left ffvhuff444p16
fate-vsynth%-ffvhuff444: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv444p
diff --git a/tests/ref/vsynth/vsynth1-ffv1-v3-rgb48 b/tests/ref/vsynth/vsynth1-ffv1-v3-rgb48
new file mode 100644
index 0000000000..5c44488312
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-ffv1-v3-rgb48
@@ -0,0 +1,4 @@
+f457dba7d58f0c28aedcfef518758d23 *tests/data/fate/vsynth1-ffv1-v3-rgb48.avi
+16858304 tests/data/fate/vsynth1-ffv1-v3-rgb48.avi
+b91ddc45eb70b4377dc7439e16733232 *tests/data/fate/vsynth1-ffv1-v3-rgb48.out.rawvideo
+stddev: 3.58 PSNR: 37.04 MAXDIFF: 75 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-ffv1-v3-rgb48 b/tests/ref/vsynth/vsynth2-ffv1-v3-rgb48
new file mode 100644
index 0000000000..983c381e93
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-ffv1-v3-rgb48
@@ -0,0 +1,4 @@
+99b39b0286428ccf9c788545dfccb49f *tests/data/fate/vsynth2-ffv1-v3-rgb48.avi
+15089212 tests/data/fate/vsynth2-ffv1-v3-rgb48.avi
+b7278d99ea84fe8becf02de773fee0a5 *tests/data/fate/vsynth2-ffv1-v3-rgb48.out.rawvideo
+stddev: 1.43 PSNR: 44.97 MAXDIFF: 28 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth3-ffv1-v3-rgb48 b/tests/ref/vsynth/vsynth3-ffv1-v3-rgb48
new file mode 100644
index 0000000000..9a7b6f5362
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-ffv1-v3-rgb48
@@ -0,0 +1,4 @@
+3bec2f4381dc362c24d1bbc304d0af58 *tests/data/fate/vsynth3-ffv1-v3-rgb48.avi
+244742 tests/data/fate/vsynth3-ffv1-v3-rgb48.avi
+d37e1507abd3233e27b0b00441149ddc *tests/data/fate/vsynth3-ffv1-v3-rgb48.out.rawvideo
+stddev: 3.52 PSNR: 37.19 MAXDIFF: 59 bytes: 86700/ 86700
diff --git a/tests/ref/vsynth/vsynth_lena-ffv1-v3-rgb48 b/tests/ref/vsynth/vsynth_lena-ffv1-v3-rgb48
new file mode 100644
index 0000000000..629d6850ad
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-ffv1-v3-rgb48
@@ -0,0 +1,4 @@
+294d4f9fdf53ba0fe9d224d28ba700f0 *tests/data/fate/vsynth_lena-ffv1-v3-rgb48.avi
+13795036 tests/data/fate/vsynth_lena-ffv1-v3-rgb48.avi
+7bd82d1860095ae1e10ec0ace9cb04b6 *tests/data/fate/vsynth_lena-ffv1-v3-rgb48.out.rawvideo
+stddev: 0.91 PSNR: 48.91 MAXDIFF: 21 bytes: 7603200/ 7603200