ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Sat Oct 12 17:01:35 2024 -0300| [4f0514df62a642a511db13afb27d420ef04713a0] | committer: James Almer
fate/filter-video: add tests for packed YUV in yuvtestsrc Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4f0514df62a642a511db13afb27d420ef04713a0 --- tests/fate/filter-video.mak | 12 ++++++++++++ tests/ref/fate/filter-yuvtestsrc-ayuv | 10 ++++++++++ tests/ref/fate/filter-yuvtestsrc-vuya | 10 ++++++++++ tests/ref/fate/filter-yuvtestsrc-vyu444 | 10 ++++++++++ tests/ref/fate/filter-yuvtestsrc-xv30le | 10 ++++++++++ 5 files changed, 52 insertions(+) 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 _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".