Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
391ce570
Commit
391ce570
authored
Apr 12, 2022
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add pixelize video filter
parent
7e812954
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
384 additions
and
1 deletion
+384
-1
Changelog
Changelog
+1
-0
filters.texi
doc/filters.texi
+29
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
version.h
libavfilter/version.h
+1
-1
vf_pixelize.c
libavfilter/vf_pixelize.c
+351
-0
No files found.
Changelog
View file @
391ce570
...
...
@@ -10,6 +10,7 @@ version 5.1:
- Vizrt Binary Image encoder/decoder
- avsynctest source filter
- feedback video filter
- pixelize video filter
version 5.0:
...
...
doc/filters.texi
View file @
391ce570
...
...
@@ -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
...
...
libavfilter/Makefile
View file @
391ce570
...
...
@@ -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
...
...
libavfilter/allfilters.c
View file @
391ce570
...
...
@@ -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
;
...
...
libavfilter/version.h
View file @
391ce570
...
...
@@ -31,7 +31,7 @@
#include "version_major.h"
#define LIBAVFILTER_VERSION_MINOR 3
2
#define LIBAVFILTER_VERSION_MINOR 3
3
#define LIBAVFILTER_VERSION_MICRO 100
...
...
libavfilter/vf_pixelize.c
0 → 100644
View file @
391ce570
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment