* [FFmpeg-devel] [PATCH] tests/fate: add pixelize filter tests
@ 2023-12-06 10:20 Paul B Mahol
2023-12-07 2:15 ` Michael Niedermayer
0 siblings, 1 reply; 3+ messages in thread
From: Paul B Mahol @ 2023-12-06 10:20 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 10 bytes --]
Attached.
[-- Attachment #2: 0001-tests-fate-add-pixelize-filter-tests.patch --]
[-- Type: text/x-patch, Size: 2384 bytes --]
From c17589e4fc6b38013d6b0b14feeac50e00bb3305 Mon Sep 17 00:00:00 2001
From: Paul B Mahol <onemda@gmail.com>
Date: Wed, 6 Dec 2023 11:18:35 +0100
Subject: [PATCH] tests/fate: add pixelize filter tests
Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
tests/fate/filter-video.mak | 9 +++++++++
tests/ref/fate/filter-pixelize-avg | 1 +
tests/ref/fate/filter-pixelize-max | 1 +
tests/ref/fate/filter-pixelize-min | 1 +
4 files changed, 12 insertions(+)
create mode 100644 tests/ref/fate/filter-pixelize-avg
create mode 100644 tests/ref/fate/filter-pixelize-max
create mode 100644 tests/ref/fate/filter-pixelize-min
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index e4bdf59db9..4defaf5877 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -532,6 +532,15 @@ fate-filter-thumbnail: CMD = video_filter "scale,thumbnail=10"
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_TILE_FILTER) += fate-filter-tile
fate-filter-tile: CMD = video_filter "tile=3x3:nb_frames=5:padding=7:margin=2"
+FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_PIXELIZE_FILTER) += fate-filter-pixelize-avg
+fate-filter-pixelize-avg: CMD = video_filter "pixelize=mode=avg"
+
+FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_PIXELIZE_FILTER) += fate-filter-pixelize-min
+fate-filter-pixelize-min: CMD = video_filter "pixelize=mode=min"
+
+FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_PIXELIZE_FILTER) += fate-filter-pixelize-max
+fate-filter-pixelize-max: CMD = video_filter "pixelize=mode=max"
+
tests/pixfmts.mak: TAG = GEN
tests/pixfmts.mak: ffmpeg$(PROGSSUF)$(EXESUF) | tests
diff --git a/tests/ref/fate/filter-pixelize-avg b/tests/ref/fate/filter-pixelize-avg
new file mode 100644
index 0000000000..42bbbf9cd0
--- /dev/null
+++ b/tests/ref/fate/filter-pixelize-avg
@@ -0,0 +1 @@
+pixelize-avg df03e58c3756dd4ecef6b6f50709c23e
diff --git a/tests/ref/fate/filter-pixelize-max b/tests/ref/fate/filter-pixelize-max
new file mode 100644
index 0000000000..6746114802
--- /dev/null
+++ b/tests/ref/fate/filter-pixelize-max
@@ -0,0 +1 @@
+pixelize-max db60eb984b9aec61f3ee16ed798eca34
diff --git a/tests/ref/fate/filter-pixelize-min b/tests/ref/fate/filter-pixelize-min
new file mode 100644
index 0000000000..1014ac8a46
--- /dev/null
+++ b/tests/ref/fate/filter-pixelize-min
@@ -0,0 +1 @@
+pixelize-min 3eacb4349fb19d11f4f96c19a1bdbbfa
--
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".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] tests/fate: add pixelize filter tests
2023-12-06 10:20 [FFmpeg-devel] [PATCH] tests/fate: add pixelize filter tests Paul B Mahol
@ 2023-12-07 2:15 ` Michael Niedermayer
2023-12-14 22:20 ` Michael Niedermayer
0 siblings, 1 reply; 3+ messages in thread
From: Michael Niedermayer @ 2023-12-07 2:15 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 1341 bytes --]
On Wed, Dec 06, 2023 at 11:20:06AM +0100, Paul B Mahol wrote:
> Attached.
> fate/filter-video.mak | 9 +++++++++
> ref/fate/filter-pixelize-avg | 1 +
> ref/fate/filter-pixelize-max | 1 +
> ref/fate/filter-pixelize-min | 1 +
> 4 files changed, 12 insertions(+)
> 0cf8ddddd90a5adf0565d3085b3bc11e49fdc534 0001-tests-fate-add-pixelize-filter-tests.patch
> From c17589e4fc6b38013d6b0b14feeac50e00bb3305 Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda@gmail.com>
> Date: Wed, 6 Dec 2023 11:18:35 +0100
> Subject: [PATCH] tests/fate: add pixelize filter tests
>
> Signed-off-by: Paul B Mahol <onemda@gmail.com>
> ---
> tests/fate/filter-video.mak | 9 +++++++++
> tests/ref/fate/filter-pixelize-avg | 1 +
> tests/ref/fate/filter-pixelize-max | 1 +
> tests/ref/fate/filter-pixelize-min | 1 +
> 4 files changed, 12 insertions(+)
> create mode 100644 tests/ref/fate/filter-pixelize-avg
> create mode 100644 tests/ref/fate/filter-pixelize-max
> create mode 100644 tests/ref/fate/filter-pixelize-min
Tested on mingw32/64, x86 64&32 linux, arm & mips qemu
all work fine
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: 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".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] tests/fate: add pixelize filter tests
2023-12-07 2:15 ` Michael Niedermayer
@ 2023-12-14 22:20 ` Michael Niedermayer
0 siblings, 0 replies; 3+ messages in thread
From: Michael Niedermayer @ 2023-12-14 22:20 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 1509 bytes --]
On Thu, Dec 07, 2023 at 03:15:31AM +0100, Michael Niedermayer wrote:
> On Wed, Dec 06, 2023 at 11:20:06AM +0100, Paul B Mahol wrote:
> > Attached.
>
> > fate/filter-video.mak | 9 +++++++++
> > ref/fate/filter-pixelize-avg | 1 +
> > ref/fate/filter-pixelize-max | 1 +
> > ref/fate/filter-pixelize-min | 1 +
> > 4 files changed, 12 insertions(+)
> > 0cf8ddddd90a5adf0565d3085b3bc11e49fdc534 0001-tests-fate-add-pixelize-filter-tests.patch
> > From c17589e4fc6b38013d6b0b14feeac50e00bb3305 Mon Sep 17 00:00:00 2001
> > From: Paul B Mahol <onemda@gmail.com>
> > Date: Wed, 6 Dec 2023 11:18:35 +0100
> > Subject: [PATCH] tests/fate: add pixelize filter tests
> >
> > Signed-off-by: Paul B Mahol <onemda@gmail.com>
> > ---
> > tests/fate/filter-video.mak | 9 +++++++++
> > tests/ref/fate/filter-pixelize-avg | 1 +
> > tests/ref/fate/filter-pixelize-max | 1 +
> > tests/ref/fate/filter-pixelize-min | 1 +
> > 4 files changed, 12 insertions(+)
> > create mode 100644 tests/ref/fate/filter-pixelize-avg
> > create mode 100644 tests/ref/fate/filter-pixelize-max
> > create mode 100644 tests/ref/fate/filter-pixelize-min
>
> Tested on mingw32/64, x86 64&32 linux, arm & mips qemu
> all work fine
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The smallest minority on earth is the individual. Those who deny
individual rights cannot claim to be defenders of minorities. - Ayn Rand
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: 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".
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-14 22:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-06 10:20 [FFmpeg-devel] [PATCH] tests/fate: add pixelize filter tests Paul B Mahol
2023-12-07 2:15 ` Michael Niedermayer
2023-12-14 22:20 ` Michael Niedermayer
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