aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-10-14 00:16:36 -0300
committerJames Almer <jamrial@gmail.com>2024-10-16 10:05:55 -0300
commitcb2f5cf400333112d72cfa0968820de6921cfe4e (patch)
tree589367f30624e92bacbb8d00e605c3746610a845
parent03a88e56e017ac443f76c2617aa4231e347916aa (diff)
downloadffmpeg-cb2f5cf400333112d72cfa0968820de6921cfe4e.tar.gz
fate/vcodec: add a test for v410 pixel format raw video
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--tests/fate/vcodec.mak6
-rw-r--r--tests/ref/vsynth/vsynth1-v4104
-rw-r--r--tests/ref/vsynth/vsynth2-v4104
-rw-r--r--tests/ref/vsynth/vsynth3-v4104
-rw-r--r--tests/ref/vsynth/vsynth_lena-v4104
5 files changed, 22 insertions, 0 deletions
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index 65f73057de..fbdb11458a 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -457,6 +457,12 @@ fate-vsynth%-v408: ENCOPTS = -pix_fmt uyva -sws_flags neighbor+bit
fate-vsynth%-v408: DECOPTS = -sws_flags neighbor+bitexact
fate-vsynth%-v408: CODEC = rawvideo
+FATE_VCODEC_SCALE-$(call ENCDEC, RAWVIDEO, MOV) += v410
+fate-vsynth%-v410: ENCOPTS = -pix_fmt v30xle -sws_flags neighbor+bitexact
+fate-vsynth%-v410: DECOPTS = -sws_flags neighbor+bitexact
+fate-vsynth%-v410: CODEC = rawvideo
+fate-vsynth%-v410: FMT = mov
+
FATE_VCODEC_SCALE-$(call ENCDEC, AVUI, MOV) += avui
fate-vsynth%-avui: ENCOPTS = -s pal -strict experimental -sws_flags neighbor+bitexact
fate-vsynth%-avui: DECOPTS = -sws_flags neighbor+bitexact $(DEFAULT_SIZE)
diff --git a/tests/ref/vsynth/vsynth1-v410 b/tests/ref/vsynth/vsynth1-v410
new file mode 100644
index 0000000000..6aa7762328
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-v410
@@ -0,0 +1,4 @@
+5978b496cf283b2a729df2769a7353a8 *tests/data/fate/vsynth1-v410.mov
+20276029 tests/data/fate/vsynth1-v410.mov
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-v410.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth2-v410 b/tests/ref/vsynth/vsynth2-v410
new file mode 100644
index 0000000000..afc0c73dbe
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-v410
@@ -0,0 +1,4 @@
+40dda94467a8b6db90ce3edba680054b *tests/data/fate/vsynth2-v410.mov
+20276029 tests/data/fate/vsynth2-v410.mov
+36d7ca943916e1743cefa609eba0205c *tests/data/fate/vsynth2-v410.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth/vsynth3-v410 b/tests/ref/vsynth/vsynth3-v410
new file mode 100644
index 0000000000..0df57453f6
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-v410
@@ -0,0 +1,4 @@
+c1c0524dc868fd3198102e528fbefdbc *tests/data/fate/vsynth3-v410.mov
+231933 tests/data/fate/vsynth3-v410.mov
+a038ad7c3c09f776304ef7accdea9c74 *tests/data/fate/vsynth3-v410.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 86700/ 86700
diff --git a/tests/ref/vsynth/vsynth_lena-v410 b/tests/ref/vsynth/vsynth_lena-v410
new file mode 100644
index 0000000000..0d76ee20a6
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-v410
@@ -0,0 +1,4 @@
+9dec7983312b4c65f88d6232909ddf76 *tests/data/fate/vsynth_lena-v410.mov
+20276029 tests/data/fate/vsynth_lena-v410.mov
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth_lena-v410.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200