diff options
author | James Almer <jamrial@gmail.com> | 2024-10-12 17:01:35 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-10-14 10:37:21 -0300 |
commit | 4f0514df62a642a511db13afb27d420ef04713a0 (patch) | |
tree | 43a15b6d1472e63e9d1b43ff4b7e2c744624d210 | |
parent | f2853002dd33400f1db02ff8371bb36e0755899e (diff) | |
download | ffmpeg-4f0514df62a642a511db13afb27d420ef04713a0.tar.gz |
fate/filter-video: add tests for packed YUV in yuvtestsrc
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | tests/fate/filter-video.mak | 12 | ||||
-rw-r--r-- | tests/ref/fate/filter-yuvtestsrc-ayuv | 10 | ||||
-rw-r--r-- | tests/ref/fate/filter-yuvtestsrc-vuya | 10 | ||||
-rw-r--r-- | tests/ref/fate/filter-yuvtestsrc-vyu444 | 10 | ||||
-rw-r--r-- | tests/ref/fate/filter-yuvtestsrc-xv30le | 10 |
5 files changed, 52 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 5b8a294afd..c5c82f72ed 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -112,6 +112,18 @@ fate-filter-yuvtestsrc-yuv444p: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC SCALE) += fate-filter-yuvtestsrc-yuv444p12 fate-filter-yuvtestsrc-yuv444p12: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1,format=yuv444p12,scale -pix_fmt yuv444p12le +FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-ayuv +fate-filter-yuvtestsrc-ayuv: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt ayuv + +FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-vuya +fate-filter-yuvtestsrc-vuya: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt vuya + +FATE_FILTER-$(call FILTERFRAMECRC, YUVTESTSRC) += fate-filter-yuvtestsrc-vyu444 +fate-filter-yuvtestsrc-vyu444: CMD = framecrc -lavfi yuvtestsrc=rate=5:duration=1 -pix_fmt vyu444 + +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, 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-ayuv b/tests/ref/fate/filter-yuvtestsrc-ayuv new file mode 100644 index 0000000000..91c15bebb9 --- /dev/null +++ b/tests/ref/fate/filter-yuvtestsrc-ayuv @@ -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, 307200, 0xd4270fd4 +0, 1, 1, 1, 307200, 0xd4270fd4 +0, 2, 2, 1, 307200, 0xd4270fd4 +0, 3, 3, 1, 307200, 0xd4270fd4 +0, 4, 4, 1, 307200, 0xd4270fd4 diff --git a/tests/ref/fate/filter-yuvtestsrc-vuya b/tests/ref/fate/filter-yuvtestsrc-vuya new file mode 100644 index 0000000000..f91ef558d7 --- /dev/null +++ b/tests/ref/fate/filter-yuvtestsrc-vuya @@ -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, 307200, 0x4df60fd4 +0, 1, 1, 1, 307200, 0x4df60fd4 +0, 2, 2, 1, 307200, 0x4df60fd4 +0, 3, 3, 1, 307200, 0x4df60fd4 +0, 4, 4, 1, 307200, 0x4df60fd4 diff --git a/tests/ref/fate/filter-yuvtestsrc-vyu444 b/tests/ref/fate/filter-yuvtestsrc-vyu444 new file mode 100644 index 0000000000..a01e088d1e --- /dev/null +++ b/tests/ref/fate/filter-yuvtestsrc-vyu444 @@ -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, 230400, 0x8c622a4f +0, 1, 1, 1, 230400, 0x8c622a4f +0, 2, 2, 1, 230400, 0x8c622a4f +0, 3, 3, 1, 230400, 0x8c622a4f +0, 4, 4, 1, 230400, 0x8c622a4f diff --git a/tests/ref/fate/filter-yuvtestsrc-xv30le b/tests/ref/fate/filter-yuvtestsrc-xv30le new file mode 100644 index 0000000000..4d5a4ce8c1 --- /dev/null +++ b/tests/ref/fate/filter-yuvtestsrc-xv30le @@ -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, 307200, 0xc7a544aa +0, 1, 1, 1, 307200, 0xc7a544aa +0, 2, 2, 1, 307200, 0xc7a544aa +0, 3, 3, 1, 307200, 0xc7a544aa +0, 4, 4, 1, 307200, 0xc7a544aa |