* [FFmpeg-devel] [PATCH] fate: add chromashift tests
@ 2022-03-14 20:12 Paul B Mahol
0 siblings, 0 replies; only message in thread
From: Paul B Mahol @ 2022-03-14 20:12 UTC (permalink / raw)
To: ffmpeg-devel
Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
tests/fate/filter-video.mak | 4 ++++
tests/ref/fate/filter-chromashift-smear | 10 ++++++++++
tests/ref/fate/filter-chromashift-wrap | 10 ++++++++++
3 files changed, 24 insertions(+)
create mode 100644 tests/ref/fate/filter-chromashift-smear
create mode 100644 tests/ref/fate/filter-chromashift-wrap
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index cd33361880..d539cccc22 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -451,6 +451,10 @@ fate-filter-concat: CMD = framecrc -filter_complex_script $(TARGET_PATH)/tests/d
fate-filter-concat-vfr: tests/data/filtergraphs/concat-vfr
fate-filter-concat-vfr: CMD = framecrc -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/concat-vfr
+FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER CHROMASHIFT_FILTER) += fate-filter-chromashift-smear fate-filter-chromashift-wrap
+fate-filter-chromashift-smear: CMD = framecrc -lavfi testsrc2=r=5:d=1,chromashift=cbh=-1:cbv=1:crh=2:crv=-2:edge=smear -pix_fmt yuv420p
+fate-filter-chromashift-wrap: CMD = framecrc -lavfi testsrc2=r=5:d=1,chromashift=cbh=-1:cbv=1:crh=2:crv=-2:edge=wrap -pix_fmt yuv420p
+
FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER FPS_FILTER DECIMATE_FILTER) += fate-filter-decimate
fate-filter-decimate: CMD = framecrc -lavfi testsrc2=r=24:d=10,fps=60,decimate=5,decimate=4,decimate=3 -pix_fmt yuv420p
diff --git a/tests/ref/fate/filter-chromashift-smear b/tests/ref/fate/filter-chromashift-smear
new file mode 100644
index 0000000000..e5651c0f94
--- /dev/null
+++ b/tests/ref/fate/filter-chromashift-smear
@@ -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, 115200, 0x91a39b4c
+0, 1, 1, 1, 115200, 0xe2ff7f63
+0, 2, 2, 1, 115200, 0x242f7a20
+0, 3, 3, 1, 115200, 0x4f7c95a9
+0, 4, 4, 1, 115200, 0xee6e9daa
diff --git a/tests/ref/fate/filter-chromashift-wrap b/tests/ref/fate/filter-chromashift-wrap
new file mode 100644
index 0000000000..3ce663ac1c
--- /dev/null
+++ b/tests/ref/fate/filter-chromashift-wrap
@@ -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, 115200, 0x2b9db3ed
+0, 1, 1, 1, 115200, 0xebb7987c
+0, 2, 2, 1, 115200, 0xee1a9331
+0, 3, 3, 1, 115200, 0xf4f5aeb2
+0, 4, 4, 1, 115200, 0x7b66b6b3
--
2.33.0
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-14 20:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 20:12 [FFmpeg-devel] [PATCH] fate: add chromashift tests Paul B Mahol
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git