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
bb109dce
Commit
bb109dce
authored
Aug 22, 2016
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add hysteresis filter
parent
12f997d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
424 additions
and
1 deletion
+424
-1
Changelog
Changelog
+1
-0
filters.texi
doc/filters.texi
+19
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
version.h
libavfilter/version.h
+1
-1
vf_hysteresis.c
libavfilter/vf_hysteresis.c
+401
-0
No files found.
Changelog
View file @
bb109dce
...
...
@@ -19,6 +19,7 @@ version <next>:
- floating point support in als decoder
- fifo muxer
- maskedclamp filter
- hysteresis filter
version 3.1:
...
...
doc/filters.texi
View file @
bb109dce
...
...
@@ -8766,6 +8766,25 @@ If the specified expression is not valid, it is kept at its current
value.
@end table
@section hysteresis
Grow first stream into second stream by connecting components.
This allows to build more robust edge masks.
This filter accepts the following options:
@table @option
@item planes
Set which planes will be processed as bitmap, unprocessed planes will be
copied from first stream.
By default value 0xf, all planes will be processed.
@item threshold
Set threshold which is used in filtering. If pixel component value is higher than
this value filter algorithm for connecting components is activated.
By default value is 0.
@end table
@section idet
Detect video interlacing type.
...
...
libavfilter/Makefile
View file @
bb109dce
...
...
@@ -195,6 +195,7 @@ OBJS-$(CONFIG_HUE_FILTER) += vf_hue.o
OBJS-$(CONFIG_HWDOWNLOAD_FILTER)
+=
vf_hwdownload.o
OBJS-$(CONFIG_HWUPLOAD_CUDA_FILTER)
+=
vf_hwupload_cuda.o
OBJS-$(CONFIG_HWUPLOAD_FILTER)
+=
vf_hwupload.o
OBJS-$(CONFIG_HYSTERESIS_FILTER)
+=
vf_hysteresis.o
framesync.o
OBJS-$(CONFIG_IDET_FILTER)
+=
vf_idet.o
OBJS-$(CONFIG_IL_FILTER)
+=
vf_il.o
OBJS-$(CONFIG_INFLATE_FILTER)
+=
vf_neighbor.o
...
...
libavfilter/allfilters.c
View file @
bb109dce
...
...
@@ -212,6 +212,7 @@ void avfilter_register_all(void)
REGISTER_FILTER
(
HWDOWNLOAD
,
hwdownload
,
vf
);
REGISTER_FILTER
(
HWUPLOAD
,
hwupload
,
vf
);
REGISTER_FILTER
(
HWUPLOAD_CUDA
,
hwupload_cuda
,
vf
);
REGISTER_FILTER
(
HYSTERESIS
,
hysteresis
,
vf
);
REGISTER_FILTER
(
IDET
,
idet
,
vf
);
REGISTER_FILTER
(
IL
,
il
,
vf
);
REGISTER_FILTER
(
INFLATE
,
inflate
,
vf
);
...
...
libavfilter/version.h
View file @
bb109dce
...
...
@@ -30,7 +30,7 @@
#include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 6
#define LIBAVFILTER_VERSION_MINOR 5
3
#define LIBAVFILTER_VERSION_MINOR 5
4
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...
...
libavfilter/vf_hysteresis.c
0 → 100644
View file @
bb109dce
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