aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-09-07 10:08:30 +0200
committerPaul B Mahol <onemda@gmail.com>2023-09-07 20:58:08 +0200
commit74375305efd9636556a82823bff0a9300f5b7cec (patch)
tree35c697af4d7cfb1b06c14b7ed6f0c8d186569f4d
parent03ed48aeca2d6cf524c41f29536e0e7e045f290b (diff)
downloadffmpeg-74375305efd9636556a82823bff0a9300f5b7cec.tar.gz
fate: add rpza encoder tests
-rw-r--r--tests/fate/vcodec.mak4
-rw-r--r--tests/ref/vsynth/vsynth1-rpza4
-rw-r--r--tests/ref/vsynth/vsynth2-rpza4
-rw-r--r--tests/ref/vsynth/vsynth3-rpza4
4 files changed, 16 insertions, 0 deletions
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index e32d28c556..45ed88da96 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -396,6 +396,10 @@ fate-vsynth%-roqvideo: ENCOPTS = -frames 5
fate-vsynth%-roqvideo: RAWDECOPTS = -r 30
fate-vsynth%-roqvideo: FMT = roq
+FATE_VCODEC_SCALE-$(call ENCDEC, RPZA, MOV) += rpza
+fate-vsynth%-rpza: CODEC = rpza
+fate-vsynth%-rpza: FMT = mov
+
FATE_VCODEC-$(call ENCDEC, RV10, RM) += rv10
fate-vsynth%-rv10: ENCOPTS = -qscale 10
fate-vsynth%-rv10: FMT = rm
diff --git a/tests/ref/vsynth/vsynth1-rpza b/tests/ref/vsynth/vsynth1-rpza
new file mode 100644
index 0000000000..b238b245d3
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-rpza
@@ -0,0 +1,4 @@
+e4e9660c4a13709b277aac42419b9a23 *tests/data/fate/vsynth1-rpza.mov
+10138529 tests/data/fate/vsynth1-rpza.mov
+99bece160cfb0da47f446b60d42fa3ae *tests/data/fate/vsynth1-rpza.out.rawvideo
+stddev: 4.06 PSNR: 35.94 MAXDIFF: 47 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-rpza b/tests/ref/vsynth/vsynth2-rpza
new file mode 100644
index 0000000000..1913688751
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-rpza
@@ -0,0 +1,4 @@
+b67a1d20eda31a463291de90067c6013 *tests/data/fate/vsynth2-rpza.mov
+8473292 tests/data/fate/vsynth2-rpza.mov
+0f3567cb28439a55a15f2b33275efeae *tests/data/fate/vsynth2-rpza.out.rawvideo
+stddev: 3.11 PSNR: 38.27 MAXDIFF: 19 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth3-rpza b/tests/ref/vsynth/vsynth3-rpza
new file mode 100644
index 0000000000..c933a44c4b
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-rpza
@@ -0,0 +1,4 @@
+791ad5931c5d54eff406c639be0c79e2 *tests/data/fate/vsynth3-rpza.mov
+130493 tests/data/fate/vsynth3-rpza.mov
+19f61c34cbdef98b0f4aca6c19f59ed4 *tests/data/fate/vsynth3-rpza.out.rawvideo
+stddev: 4.35 PSNR: 35.35 MAXDIFF: 46 bytes: 86700/ 86700