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
1ea5529d
Commit
1ea5529d
authored
Nov 19, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add maskfun filter
parent
2e8b0446
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
310 additions
and
1 deletion
+310
-1
Changelog
Changelog
+1
-0
filters.texi
doc/filters.texi
+27
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
version.h
libavfilter/version.h
+1
-1
vf_maskfun.c
libavfilter/vf_maskfun.c
+279
-0
No files found.
Changelog
View file @
1ea5529d
...
...
@@ -14,6 +14,7 @@ version <next>:
- vividas demuxer
- hymt decoder
- anlmdn filter
- maskfun filter
version 4.1:
...
...
doc/filters.texi
View file @
1ea5529d
...
...
@@ -11914,6 +11914,33 @@ copied from first stream.
By
default
value
0xf
,
all
planes
will
be
processed
.
@
end
table
@
section
maskfun
Create
mask
from
input
video
.
For
example
it
is
useful
to
create
motion
masks
after
@
code
{
tblend
}
filter
.
This
filter
accepts
the
following
options
:
@
table
@
option
@
item
low
Set
low
threshold
.
Any
pixel
component
lower
or
exact
than
this
value
will
be
set
to
0.
@
item
high
Set
high
threshold
.
Any
pixel
component
higher
than
this
value
will
be
set
to
max
value
allowed
for
current
pixel
format
.
@
item
planes
Set
planes
to
filter
,
by
default
all
available
planes
are
filtered
.
@
item
fill
Fill
all
frame
pixels
with
this
value
.
@
item
sum
Set
max
average
pixel
value
for
frame
.
If
sum
of
all
pixel
components
is
higher
that
this
average
,
output
frame
will
be
completely
filled
with
value
set
by
@
var
{
fill
}
option
.
Typically
useful
for
scene
changes
when
used
in
combination
with
@
code
{
tblend
}
filter
.
@
end
table
@
section
mcdeint
Apply
motion
-
compensation
deinterlacing
.
...
...
libavfilter/Makefile
View file @
1ea5529d
...
...
@@ -280,6 +280,7 @@ OBJS-$(CONFIG_LUTRGB_FILTER) += vf_lut.o
OBJS-$(CONFIG_LUTYUV_FILTER)
+=
vf_lut.o
OBJS-$(CONFIG_MASKEDCLAMP_FILTER)
+=
vf_maskedclamp.o
framesync.o
OBJS-$(CONFIG_MASKEDMERGE_FILTER)
+=
vf_maskedmerge.o
framesync.o
OBJS-$(CONFIG_MASKFUN_FILTER)
+=
vf_maskfun.o
OBJS-$(CONFIG_MCDEINT_FILTER)
+=
vf_mcdeint.o
OBJS-$(CONFIG_MERGEPLANES_FILTER)
+=
vf_mergeplanes.o
framesync.o
OBJS-$(CONFIG_MESTIMATE_FILTER)
+=
vf_mestimate.o
motion_estimation.o
...
...
libavfilter/allfilters.c
View file @
1ea5529d
...
...
@@ -266,6 +266,7 @@ extern AVFilter ff_vf_lutrgb;
extern
AVFilter
ff_vf_lutyuv
;
extern
AVFilter
ff_vf_maskedclamp
;
extern
AVFilter
ff_vf_maskedmerge
;
extern
AVFilter
ff_vf_maskfun
;
extern
AVFilter
ff_vf_mcdeint
;
extern
AVFilter
ff_vf_mergeplanes
;
extern
AVFilter
ff_vf_mestimate
;
...
...
libavfilter/version.h
View file @
1ea5529d
...
...
@@ -30,7 +30,7 @@
#include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 7
#define LIBAVFILTER_VERSION_MINOR 4
7
#define LIBAVFILTER_VERSION_MINOR 4
8
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...
...
libavfilter/vf_maskfun.c
0 → 100644
View file @
1ea5529d
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