From 0d98686fde90d77d8e0824c7bdabf7168ec77d4e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 16 Aug 2016 23:06:19 +0200 Subject: [PATCH] fate: Add RGB48 FFV1 test Signed-off-by: Michael Niedermayer --- tests/fate/vcodec.mak | 5 ++++- tests/ref/vsynth/vsynth1-ffv1-v3-rgb48 | 4 ++++ tests/ref/vsynth/vsynth2-ffv1-v3-rgb48 | 4 ++++ tests/ref/vsynth/vsynth3-ffv1-v3-rgb48 | 4 ++++ tests/ref/vsynth/vsynth_lena-ffv1-v3-rgb48 | 4 ++++ 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 tests/ref/vsynth/vsynth1-ffv1-v3-rgb48 create mode 100644 tests/ref/vsynth/vsynth2-ffv1-v3-rgb48 create mode 100644 tests/ref/vsynth/vsynth3-ffv1-v3-rgb48 create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1-v3-rgb48 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