[FFmpeg-cvslog] tests/fate: add pixelize filter tests

Paul B Mahol git at videolan.org
Fri Dec 15 01:19:38 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Dec  6 11:18:35 2023 +0100| [bc45a9c6de523d964858e3101f33902e8423a361] | committer: Michael Niedermayer

tests/fate: add pixelize filter tests

Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bc45a9c6de523d964858e3101f33902e8423a361
---

 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(+)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 95b199a106..b57ef88c9b 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -535,6 +535,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



More information about the ffmpeg-cvslog mailing list