aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Härdin <git@haerdin.se>2023-07-02 16:58:11 +0200
committerTomas Härdin <git@haerdin.se>2023-07-02 21:08:59 +0200
commit25a91824af5d3699a5af49f80a4fce3c053031f7 (patch)
tree7bbf38d9452b565188fcac6fa1120b6f97f53cb3
parent695789eacc19332d066e2184e340bad3d321a4c8 (diff)
downloadffmpeg-25a91824af5d3699a5af49f80a4fce3c053031f7.tar.gz
Add SMC vsynth tests
-rw-r--r--tests/fate/vcodec.mak4
-rw-r--r--tests/ref/vsynth/vsynth1-smc4
-rw-r--r--tests/ref/vsynth/vsynth2-smc4
-rw-r--r--tests/ref/vsynth/vsynth3-smc4
-rw-r--r--tests/ref/vsynth/vsynth_lena-smc4
5 files changed, 20 insertions, 0 deletions
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index ef8904613a..2839e54de8 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -404,6 +404,10 @@ FATE_VCODEC-$(call ENCDEC, RV20, RM) += rv20
fate-vsynth%-rv20: ENCOPTS = -qscale 10
fate-vsynth%-rv20: FMT = rm
+FATE_VCODEC_SCALE-$(call ENCDEC, SMC, MOV) += smc
+fate-vsynth%-smc: CODEC = smc
+fate-vsynth%-smc: FMT = mov
+
FATE_VCODEC_SCALE-$(call ENCDEC, SNOW, AVI) += snow snow-hpel
fate-vsynth%-snow: ENCOPTS = -qscale 2 -flags +qpel \
-motion_est iter -dia_size 2 \
diff --git a/tests/ref/vsynth/vsynth1-smc b/tests/ref/vsynth/vsynth1-smc
new file mode 100644
index 0000000000..09f4bd4ce1
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-smc
@@ -0,0 +1,4 @@
+b92226742d745515732a5e7b8a03e7b7 *tests/data/fate/vsynth1-smc.mov
+4613320 tests/data/fate/vsynth1-smc.mov
+f142ee03bf9f37bb2e1902fe32366bbf *tests/data/fate/vsynth1-smc.out.rawvideo
+stddev: 8.69 PSNR: 29.34 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-smc b/tests/ref/vsynth/vsynth2-smc
new file mode 100644
index 0000000000..3ce6478e56
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-smc
@@ -0,0 +1,4 @@
+6e97e428fb20e96a5b8fc8a21f427504 *tests/data/fate/vsynth2-smc.mov
+3475261 tests/data/fate/vsynth2-smc.mov
+df26a524cad8ebf0cf5ba4376c5f115f *tests/data/fate/vsynth2-smc.out.rawvideo
+stddev: 7.57 PSNR: 30.54 MAXDIFF: 35 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth3-smc b/tests/ref/vsynth/vsynth3-smc
new file mode 100644
index 0000000000..ed9efd92e2
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-smc
@@ -0,0 +1,4 @@
+e4eb9909095e02577b59004e209ad8ec *tests/data/fate/vsynth3-smc.mov
+65521 tests/data/fate/vsynth3-smc.mov
+fa6042492a3116c1ae9a32b487caa677 *tests/data/fate/vsynth3-smc.out.rawvideo
+stddev: 8.88 PSNR: 29.16 MAXDIFF: 51 bytes: 86700/ 86700
diff --git a/tests/ref/vsynth/vsynth_lena-smc b/tests/ref/vsynth/vsynth_lena-smc
new file mode 100644
index 0000000000..2f9f5c1e87
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-smc
@@ -0,0 +1,4 @@
+037fa90a1ac659ff4dca22fb375dc7e1 *tests/data/fate/vsynth_lena-smc.mov
+3502732 tests/data/fate/vsynth_lena-smc.mov
+db453693ceae6f65c173dd716ee2662e *tests/data/fate/vsynth_lena-smc.out.rawvideo
+stddev: 8.07 PSNR: 29.99 MAXDIFF: 32 bytes: 7603200/ 7603200