Commit 391ce570 authored by Paul B Mahol's avatar Paul B Mahol

avfilter: add pixelize video filter

parent 7e812954
......@@ -10,6 +10,7 @@ version 5.1:
- Vizrt Binary Image encoder/decoder
- avsynctest source filter
- feedback video filter
- pixelize video filter
version 5.0:
......
......@@ -17863,6 +17863,35 @@ format=monow, pixdesctest
can be used to test the monowhite pixel format descriptor definition.
@section pixelize
Apply pixelization to video stream.
The filter accepts the following options:
@table @option
@item width, w
@item height, h
Set block dimensions that will be used for pixelization.
Default value is @code{16}.
@item mode, m
Set the mode of pixelization used.
Possible values are:
@table @samp
@item avg
@item min
@item max
@end table
Default value is @code{avg}.
@item planes, p
Set what planes to filter. Default is to filter all planes.
@end table
@subsection Commands
This filter supports all options as @ref{commands}.
@section pixscope
Display sample values of color channels. Mainly useful for checking color
......
......@@ -391,6 +391,7 @@ OBJS-$(CONFIG_PERSPECTIVE_FILTER) += vf_perspective.o
OBJS-$(CONFIG_PHASE_FILTER) += vf_phase.o
OBJS-$(CONFIG_PHOTOSENSITIVITY_FILTER) += vf_photosensitivity.o
OBJS-$(CONFIG_PIXDESCTEST_FILTER) += vf_pixdesctest.o
OBJS-$(CONFIG_PIXELIZE_FILTER) += vf_pixelize.o
OBJS-$(CONFIG_PIXSCOPE_FILTER) += vf_datascope.o
OBJS-$(CONFIG_PP_FILTER) += vf_pp.o qp_table.o
OBJS-$(CONFIG_PP7_FILTER) += vf_pp7.o qp_table.o
......
......@@ -373,6 +373,7 @@ extern const AVFilter ff_vf_perspective;
extern const AVFilter ff_vf_phase;
extern const AVFilter ff_vf_photosensitivity;
extern const AVFilter ff_vf_pixdesctest;
extern const AVFilter ff_vf_pixelize;
extern const AVFilter ff_vf_pixscope;
extern const AVFilter ff_vf_pp;
extern const AVFilter ff_vf_pp7;
......
......@@ -31,7 +31,7 @@
#include "version_major.h"
#define LIBAVFILTER_VERSION_MINOR 32
#define LIBAVFILTER_VERSION_MINOR 33
#define LIBAVFILTER_VERSION_MICRO 100
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment