diff mbox series

[FFmpeg-devel,3/3] fate/vcodec: add a test for v410 pixel format raw video

Message ID 20241014134714.1210-3-jamrial@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/3] fate/vcodec: stop using the deprecated v308 codec | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

James Almer Oct. 14, 2024, 1:47 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 tests/fate/vcodec.mak             | 6 ++++++
 tests/ref/vsynth/vsynth1-v410     | 4 ++++
 tests/ref/vsynth/vsynth2-v410     | 4 ++++
 tests/ref/vsynth/vsynth3-v410     | 4 ++++
 tests/ref/vsynth/vsynth_lena-v410 | 4 ++++
 5 files changed, 22 insertions(+)
 create mode 100644 tests/ref/vsynth/vsynth1-v410
 create mode 100644 tests/ref/vsynth/vsynth2-v410
 create mode 100644 tests/ref/vsynth/vsynth3-v410
 create mode 100644 tests/ref/vsynth/vsynth_lena-v410
diff mbox series

Patch

diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index 6a0a6a894a..a12eb43f22 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -456,6 +456,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