From ea6734e1fa8d64b163ac80ea5f6736f708d4cb2e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 24 Sep 2024 23:48:01 +0200 Subject: [PATCH] tests/fate/vcodec: Add 10bit 2pass FFv1 test (this covers ticket5405) Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- tests/fate/vcodec.mak | 5 ++++- tests/ref/vsynth/vsynth1-ffv1-2pass10 | 4 ++++ tests/ref/vsynth/vsynth2-ffv1-2pass10 | 4 ++++ tests/ref/vsynth/vsynth3-ffv1-2pass10 | 4 ++++ tests/ref/vsynth/vsynth_lena-ffv1-2pass10 | 4 ++++ 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 tests/ref/vsynth/vsynth1-ffv1-2pass10 create mode 100644 tests/ref/vsynth/vsynth2-ffv1-2pass10 create mode 100644 tests/ref/vsynth/vsynth3-ffv1-2pass10 create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1-2pass10 diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak index 463e9e34e7..549470e592 100644 --- a/tests/fate/vcodec.mak +++ b/tests/fate/vcodec.mak @@ -156,7 +156,8 @@ $(FATE_VCODEC_DV:%=fate-vsynth\%-%): DECOPTS += $(DEFAULT_SIZE) FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1-v0 ffv1-v2 \ ffv1-v3-yuv420p \ - ffv1-2pass + ffv1-2pass \ + ffv1-2pass10 FATE_VCODEC_SCALE-$(call ENCDEC, FFV1, AVI) += ffv1-v3-yuv422p10 ffv1-v3-yuv444p16 \ ffv1-v3-bgr0 ffv1-v3-rgb48 fate-vsynth%-ffv1: ENCOPTS = -slices 4 @@ -177,6 +178,8 @@ fate-vsynth%-ffv1-v3-rgb48: ENCOPTS = -level 3 -pix_fmt rgb48 -strict -2 \ fate-vsynth%-ffv1-v3-rgb48: DECOPTS = -sws_flags neighbor+bitexact fate-vsynth%-ffv1-2pass: TWOPASS = 1 fate-vsynth%-ffv1-2pass: ENCOPTS = -coder range_tab -context 1 +fate-vsynth%-ffv1-2pass10: TWOPASS = 1 +fate-vsynth%-ffv1-2pass10: ENCOPTS = -coder range_tab -context 1 -pix_fmt yuv422p10 FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff FATE_VCODEC_SCALE-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff444 ffvhuff420p12 ffvhuff422p10left ffvhuff444p16 diff --git a/tests/ref/vsynth/vsynth1-ffv1-2pass10 b/tests/ref/vsynth/vsynth1-ffv1-2pass10 new file mode 100644 index 0000000000..0116995aeb --- /dev/null +++ b/tests/ref/vsynth/vsynth1-ffv1-2pass10 @@ -0,0 +1,4 @@ +48d69c54e68d4f1878e2371e8b3083ad *tests/data/fate/vsynth1-ffv1-2pass10.avi +3972962 tests/data/fate/vsynth1-ffv1-2pass10.avi +c31e6caada921ffa3daad3432ef3b754 *tests/data/fate/vsynth1-ffv1-2pass10.out.rawvideo +stddev: 1.85 PSNR: 42.78 MAXDIFF: 29 bytes: 7603200/ 7603200 diff --git a/tests/ref/vsynth/vsynth2-ffv1-2pass10 b/tests/ref/vsynth/vsynth2-ffv1-2pass10 new file mode 100644 index 0000000000..b05be1c43e --- /dev/null +++ b/tests/ref/vsynth/vsynth2-ffv1-2pass10 @@ -0,0 +1,4 @@ +d65b14c77cbcd9df0e390c499ccdc4c9 *tests/data/fate/vsynth2-ffv1-2pass10.avi +5501962 tests/data/fate/vsynth2-ffv1-2pass10.avi +8bb1c449e1a2a94fd0d98841c04246bb *tests/data/fate/vsynth2-ffv1-2pass10.out.rawvideo +stddev: 0.39 PSNR: 56.17 MAXDIFF: 9 bytes: 7603200/ 7603200 diff --git a/tests/ref/vsynth/vsynth3-ffv1-2pass10 b/tests/ref/vsynth/vsynth3-ffv1-2pass10 new file mode 100644 index 0000000000..ef813fbd62 --- /dev/null +++ b/tests/ref/vsynth/vsynth3-ffv1-2pass10 @@ -0,0 +1,4 @@ +b546cb1ef5954c92e7870c21b7782a89 *tests/data/fate/vsynth3-ffv1-2pass10.avi +85304 tests/data/fate/vsynth3-ffv1-2pass10.avi +0cf7cf68724fa5146b1667e4fa08b0e1 *tests/data/fate/vsynth3-ffv1-2pass10.out.rawvideo +stddev: 2.12 PSNR: 41.58 MAXDIFF: 26 bytes: 86700/ 86700 diff --git a/tests/ref/vsynth/vsynth_lena-ffv1-2pass10 b/tests/ref/vsynth/vsynth_lena-ffv1-2pass10 new file mode 100644 index 0000000000..8fe82c3c15 --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-ffv1-2pass10 @@ -0,0 +1,4 @@ +4c63cb712d5a0aa5dfb4dd1d461a604d *tests/data/fate/vsynth_lena-ffv1-2pass10.avi +5359578 tests/data/fate/vsynth_lena-ffv1-2pass10.avi +a627fb50c8276200fd71383977d87ca3 *tests/data/fate/vsynth_lena-ffv1-2pass10.out.rawvideo +stddev: 0.34 PSNR: 57.43 MAXDIFF: 6 bytes: 7603200/ 7603200