aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-10-15 14:50:38 -0300
committerJames Almer <jamrial@gmail.com>2024-10-17 11:57:36 -0300
commit5601c5bb2e70fb6f12d5ee42c1f70e05217d93e3 (patch)
tree90a6cb43282f450d8a48a4df64949c58644c0eb4 /tests
parent08c632ec0f0c36affd2edad2e0add6e046d6c8be (diff)
downloadffmpeg-5601c5bb2e70fb6f12d5ee42c1f70e05217d93e3.tar.gz
avfilter/vsrc_testsrc: add support for XV36 and AYUV64
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-video.mak3
-rw-r--r--tests/ref/fate/filter-yuvtestsrc-xv3610
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index c5c82f72ed..47ff106062 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -124,6 +124,9 @@ fate-filter-yuvtestsrc-vyu444: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=
FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-xv30le
fate-filter-yuvtestsrc-xv30le: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt xv30le
+FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC SCALE) += fate-filter-yuvtestsrc-xv36
+fate-filter-yuvtestsrc-xv36: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1,format=xv36,scale -pix_fmt xv36le
+
FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC FORMAT CONCAT SCALE, LAVFI_INDEV FILE_PROTOCOL) += fate-filter-lavd-scalenorm
fate-filter-lavd-scalenorm: tests/data/filtergraphs/scalenorm
fate-filter-lavd-scalenorm: CMD = framecrc -f lavfi -graph_file $(TARGET_PATH)/tests/data/filtergraphs/scalenorm -i dummy
diff --git a/tests/ref/fate/filter-yuvtestsrc-xv36 b/tests/ref/fate/filter-yuvtestsrc-xv36
new file mode 100644
index 0000000000..16c24b80f8
--- /dev/null
+++ b/tests/ref/fate/filter-yuvtestsrc-xv36
@@ -0,0 +1,10 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 1/1
+0, 0, 0, 1, 614400, 0xdadee6db
+0, 1, 1, 1, 614400, 0xdadee6db
+0, 2, 2, 1, 614400, 0xdadee6db
+0, 3, 3, 1, 614400, 0xdadee6db
+0, 4, 4, 1, 614400, 0xdadee6db