From cb2f5cf400333112d72cfa0968820de6921cfe4e Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 14 Oct 2024 00:16:36 -0300 Subject: [PATCH] fate/vcodec: add a test for v410 pixel format raw video Signed-off-by: James Almer --- 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 --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