From: Paul B Mahol <onemda@gmail.com> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: [FFmpeg-devel] [PATCH] tests/fate: add median filter test Date: Wed, 6 Dec 2023 12:21:02 +0100 Message-ID: <CAPYw7P5U7Nz8RiRQ2nEJTxtXW9yuWq67UhUhxvU7yutpMQtFdQ@mail.gmail.com> (raw) [-- Attachment #1: Type: text/plain, Size: 10 bytes --] Attached. [-- Attachment #2: 0001-tests-fate-add-median-filter-test.patch --] [-- Type: text/x-patch, Size: 1592 bytes --] From 2c54553b83f2b67f781c67cb72deb4a5f267a8f1 Mon Sep 17 00:00:00 2001 From: Paul B Mahol <onemda@gmail.com> Date: Wed, 6 Dec 2023 12:17:54 +0100 Subject: [PATCH] tests/fate: add median filter test Signed-off-by: Paul B Mahol <onemda@gmail.com> --- tests/fate/filter-video.mak | 3 +++ tests/ref/fate/filter-median | 1 + 2 files changed, 4 insertions(+) create mode 100644 tests/ref/fate/filter-median diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 4defaf5877..b57ef88c9b 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -456,6 +456,9 @@ FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, SCALE_FILTER FORMAT_FILTER PERMS_ fate-filter-edgedetect: CMD = video_filter "scale,format=gray,perms=random,edgedetect" -frames:v 20 fate-filter-edgedetect-colormix: CMD = video_filter "scale,format=gbrp,perms=random,edgedetect=mode=colormix" -frames:v 20 +FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_MEDIAN_FILTER) += fate-filter-median +fate-filter-median: CMD = video_filter "median=radius=5" + FATE_FILTER_VSYNTH_VIDEO_FILTER-$(call ALLYES, PERMS_FILTER HUE_FILTER) += fate-filter-hue1 fate-filter-hue2 fate-filter-hue3 fate-filter-hue1: CMD = video_filter "perms=random,hue=s=sin(2*PI*t)+1" -frames:v 20 fate-filter-hue2: CMD = video_filter "perms=random,hue=h=18*n" -frames:v 20 diff --git a/tests/ref/fate/filter-median b/tests/ref/fate/filter-median new file mode 100644 index 0000000000..22dfaba576 --- /dev/null +++ b/tests/ref/fate/filter-median @@ -0,0 +1 @@ +median 8754a3715917ff8b20ff520c4bb4370c -- 2.42.1 [-- Attachment #3: Type: text/plain, Size: 251 bytes --] _______________________________________________ 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".
next reply other threads:[~2023-12-06 11:21 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-06 11:21 Paul B Mahol [this message] 2023-12-07 2:12 ` Michael Niedermayer 2023-12-14 22:20 ` Michael Niedermayer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAPYw7P5U7Nz8RiRQ2nEJTxtXW9yuWq67UhUhxvU7yutpMQtFdQ@mail.gmail.com \ --to=onemda@gmail.com \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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