Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
2cc56741
Commit
2cc56741
authored
Aug 05, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add floodfill filter
parent
c4749104
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
474 additions
and
1 deletion
+474
-1
Changelog
Changelog
+1
-0
filters.texi
doc/filters.texi
+37
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
version.h
libavfilter/version.h
+1
-1
vf_floodfill.c
libavfilter/vf_floodfill.c
+433
-0
No files found.
Changelog
View file @
2cc56741
...
...
@@ -31,6 +31,7 @@ version <next>:
- Dolby E decoder and SMPTE 337M demuxer
- unpremultiply video filter
- tlut2 video filter
- floodfill video filter
version 3.3:
- CrystalHD decoder moved to new decode API
...
...
doc/filters.texi
View file @
2cc56741
...
...
@@ -8404,6 +8404,43 @@ ffmpeg -i file.ts -vf find_rect=newref.pgm,cover_rect=cover.jpg:mode=cover new.m
@end example
@end itemize
@section floodfill
Flood area with values of same pixel components with another values.
It accepts the following options:
@table @option
@item x
Set pixel x coordinate.
@item y
Set pixel y coordinate.
@item s0
Set source #0 component value.
@item s1
Set source #1 component value.
@item s2
Set source #2 component value.
@item s3
Set source #3 component value.
@item d0
Set destination #0 component value.
@item d1
Set destination #1 component value.
@item d2
Set destination #2 component value.
@item d3
Set destination #3 component value.
@end table
@anchor{format}
@section format
...
...
libavfilter/Makefile
View file @
2cc56741
...
...
@@ -186,6 +186,7 @@ OBJS-$(CONFIG_FIELDHINT_FILTER) += vf_fieldhint.o
OBJS-$(CONFIG_FIELDMATCH_FILTER)
+=
vf_fieldmatch.o
OBJS-$(CONFIG_FIELDORDER_FILTER)
+=
vf_fieldorder.o
OBJS-$(CONFIG_FIND_RECT_FILTER)
+=
vf_find_rect.o
lavfutils.o
OBJS-$(CONFIG_FLOODFILL_FILTER)
+=
vf_floodfill.o
OBJS-$(CONFIG_FORMAT_FILTER)
+=
vf_format.o
OBJS-$(CONFIG_FPS_FILTER)
+=
vf_fps.o
OBJS-$(CONFIG_FRAMEPACK_FILTER)
+=
vf_framepack.o
...
...
libavfilter/allfilters.c
View file @
2cc56741
...
...
@@ -198,6 +198,7 @@ static void register_all(void)
REGISTER_FILTER
(
FIELDMATCH
,
fieldmatch
,
vf
);
REGISTER_FILTER
(
FIELDORDER
,
fieldorder
,
vf
);
REGISTER_FILTER
(
FIND_RECT
,
find_rect
,
vf
);
REGISTER_FILTER
(
FLOODFILL
,
floodfill
,
vf
);
REGISTER_FILTER
(
FORMAT
,
format
,
vf
);
REGISTER_FILTER
(
FPS
,
fps
,
vf
);
REGISTER_FILTER
(
FRAMEPACK
,
framepack
,
vf
);
...
...
libavfilter/version.h
View file @
2cc56741
...
...
@@ -30,7 +30,7 @@
#include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 6
#define LIBAVFILTER_VERSION_MINOR 9
7
#define LIBAVFILTER_VERSION_MINOR 9
8
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...
...
libavfilter/vf_floodfill.c
0 → 100644
View file @
2cc56741
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