aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-09-29 08:54:05 -0300
committerJames Almer <jamrial@gmail.com>2024-09-30 09:07:54 -0300
commitb1a7b0411aa4c46a659d027750eb8570d1ace29c (patch)
tree9dc1fa1a0750a1a94eb8f503561ae2bbfa1b4955
parentf3d2624bfab0f3a4cc68160b5b5869c3ea2af779 (diff)
downloadffmpeg-b1a7b0411aa4c46a659d027750eb8570d1ace29c.tar.gz
fate/vcodec: add missing scale filter dependency to ffv1-2pass10 vsynth tests
Also, add sws_flags matching other similar tests while at it. Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--tests/fate/vcodec.mak9
-rw-r--r--tests/ref/vsynth/vsynth1-ffv1-2pass108
-rw-r--r--tests/ref/vsynth/vsynth2-ffv1-2pass108
-rw-r--r--tests/ref/vsynth/vsynth3-ffv1-2pass108
-rw-r--r--tests/ref/vsynth/vsynth_lena-ffv1-2pass108
5 files changed, 21 insertions, 20 deletions
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index 549470e592..17648aef59 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -156,10 +156,10 @@ $(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-2pass10
+ ffv1-2pass
+
FATE_VCODEC_SCALE-$(call ENCDEC, FFV1, AVI) += ffv1-v3-yuv422p10 ffv1-v3-yuv444p16 \
- ffv1-v3-bgr0 ffv1-v3-rgb48
+ ffv1-v3-bgr0 ffv1-v3-rgb48 ffv1-2pass10
fate-vsynth%-ffv1: ENCOPTS = -slices 4
fate-vsynth%-ffv1-v0: CODEC = ffv1
fate-vsynth%-ffv1-v2: ENCOPTS = -level 2 -strict experimental
@@ -179,7 +179,8 @@ 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-vsynth%-ffv1-2pass10: ENCOPTS = -coder range_tab -context 1 -pix_fmt yuv422p10 \
+ -sws_flags neighbor+bitexact
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
index 0116995aeb..1436cde80d 100644
--- a/tests/ref/vsynth/vsynth1-ffv1-2pass10
+++ b/tests/ref/vsynth/vsynth1-ffv1-2pass10
@@ -1,4 +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
+1093853767c7eff69cb235895de52c1e *tests/data/fate/vsynth1-ffv1-2pass10.avi
+2563110 tests/data/fate/vsynth1-ffv1-2pass10.avi
+4c9d3ec84a39f77860f92538c8e542ad *tests/data/fate/vsynth1-ffv1-2pass10.out.rawvideo
+stddev: 1.29 PSNR: 45.90 MAXDIFF: 21 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-ffv1-2pass10 b/tests/ref/vsynth/vsynth2-ffv1-2pass10
index b05be1c43e..9b47dc361d 100644
--- a/tests/ref/vsynth/vsynth2-ffv1-2pass10
+++ b/tests/ref/vsynth/vsynth2-ffv1-2pass10
@@ -1,4 +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
+a0604ec563bcbf4c1e27fc2e779e4d80 *tests/data/fate/vsynth2-ffv1-2pass10.avi
+3858802 tests/data/fate/vsynth2-ffv1-2pass10.avi
+3d4c55f943e6cd8eeac5954d71f43a5d *tests/data/fate/vsynth2-ffv1-2pass10.out.rawvideo
+stddev: 0.31 PSNR: 58.28 MAXDIFF: 6 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth3-ffv1-2pass10 b/tests/ref/vsynth/vsynth3-ffv1-2pass10
index ef813fbd62..5cc7fb8673 100644
--- a/tests/ref/vsynth/vsynth3-ffv1-2pass10
+++ b/tests/ref/vsynth/vsynth3-ffv1-2pass10
@@ -1,4 +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
+f3e4a564f649e6494d1d75663be3234b *tests/data/fate/vsynth3-ffv1-2pass10.avi
+57880 tests/data/fate/vsynth3-ffv1-2pass10.avi
+2a99d28da942139ac8d83e44b9847347 *tests/data/fate/vsynth3-ffv1-2pass10.out.rawvideo
+stddev: 1.47 PSNR: 44.75 MAXDIFF: 18 bytes: 86700/ 86700
diff --git a/tests/ref/vsynth/vsynth_lena-ffv1-2pass10 b/tests/ref/vsynth/vsynth_lena-ffv1-2pass10
index 8fe82c3c15..9a5b952336 100644
--- a/tests/ref/vsynth/vsynth_lena-ffv1-2pass10
+++ b/tests/ref/vsynth/vsynth_lena-ffv1-2pass10
@@ -1,4 +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
+602ab4d53e2c56b77062b3720d483f3b *tests/data/fate/vsynth_lena-ffv1-2pass10.avi
+3775066 tests/data/fate/vsynth_lena-ffv1-2pass10.avi
+e692506c522fa6af70da9eab65cbfe49 *tests/data/fate/vsynth_lena-ffv1-2pass10.out.rawvideo
+stddev: 0.26 PSNR: 59.53 MAXDIFF: 4 bytes: 7603200/ 7603200