fate: Add RGB48 FFV1 test
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 16 Aug 2016 21:06:19 +0000 (23:06 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 16 Aug 2016 21:14:11 +0000 (23:14 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/fate/vcodec.mak
tests/ref/vsynth/vsynth1-ffv1-v3-rgb48 [new file with mode: 0644]
tests/ref/vsynth/vsynth2-ffv1-v3-rgb48 [new file with mode: 0644]
tests/ref/vsynth/vsynth3-ffv1-v3-rgb48 [new file with mode: 0644]
tests/ref/vsynth/vsynth_lena-ffv1-v3-rgb48 [new file with mode: 0644]

index f4363a9..4ed94a5 100644 (file)
@@ -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 (file)
index 0000000..5c44488
--- /dev/null
@@ -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 (file)
index 0000000..983c381
--- /dev/null
@@ -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 (file)
index 0000000..9a7b6f5
--- /dev/null
@@ -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 (file)
index 0000000..629d685
--- /dev/null
@@ -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