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
6da43921
Commit
6da43921
authored
Nov 18, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add rgbashift filter
parent
cfd42122
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
252 additions
and
10 deletions
+252
-10
Changelog
Changelog
+1
-0
filters.texi
doc/filters.texi
+25
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
version.h
libavfilter/version.h
+1
-1
vf_chromashift.c
libavfilter/vf_chromashift.c
+223
-9
No files found.
Changelog
View file @
6da43921
...
...
@@ -5,6 +5,7 @@ version <next>:
- tpad filter
- AV1 decoding support through libdav1d
- dedot filter
- chromashift and rgbashift filters
version 4.1:
...
...
doc/filters.texi
View file @
6da43921
...
...
@@ -14311,6 +14311,31 @@ trim=end=5,reverse
@
end
example
@
end
itemize
@
section
rgbashift
Shift
R
/
G
/
B
/
A
pixels
horizontally
and
/
or
vertically
.
The
filter
accepts
the
following
options
:
@
table
@
option
@
item
rh
Set
amount
to
shift
red
horizontally
.
@
item
rv
Set
amount
to
shift
red
vertically
.
@
item
gh
Set
amount
to
shift
green
horizontally
.
@
item
gv
Set
amount
to
shift
green
vertically
.
@
item
bh
Set
amount
to
shift
blue
horizontally
.
@
item
bv
Set
amount
to
shift
blue
vertically
.
@
item
ah
Set
amount
to
shift
alpha
horizontally
.
@
item
av
Set
amount
to
shift
alpha
vertically
.
@
item
edge
Set
edge
mode
,
can
be
@
var
{
smear
},
default
,
or
@
var
{
warp
}.
@
end
table
@
section
roberts
Apply
roberts
cross
operator
to
input
video
stream
.
...
...
libavfilter/Makefile
View file @
6da43921
...
...
@@ -330,6 +330,7 @@ OBJS-$(CONFIG_REMOVEGRAIN_FILTER) += vf_removegrain.o
OBJS-$(CONFIG_REMOVELOGO_FILTER)
+=
bbox.o
lswsutils.o
lavfutils.o
vf_removelogo.o
OBJS-$(CONFIG_REPEATFIELDS_FILTER)
+=
vf_repeatfields.o
OBJS-$(CONFIG_REVERSE_FILTER)
+=
f_reverse.o
OBJS-$(CONFIG_RGBASHIFT_FILTER)
+=
vf_chromashift.o
OBJS-$(CONFIG_ROBERTS_FILTER)
+=
vf_convolution.o
OBJS-$(CONFIG_ROBERTS_OPENCL_FILTER)
+=
vf_convolution_opencl.o
opencl.o
\
opencl/convolution.o
...
...
libavfilter/allfilters.c
View file @
6da43921
...
...
@@ -314,6 +314,7 @@ extern AVFilter ff_vf_removegrain;
extern
AVFilter
ff_vf_removelogo
;
extern
AVFilter
ff_vf_repeatfields
;
extern
AVFilter
ff_vf_reverse
;
extern
AVFilter
ff_vf_rgbashift
;
extern
AVFilter
ff_vf_roberts
;
extern
AVFilter
ff_vf_roberts_opencl
;
extern
AVFilter
ff_vf_rotate
;
...
...
libavfilter/version.h
View file @
6da43921
...
...
@@ -30,7 +30,7 @@
#include "libavutil/version.h"
#define LIBAVFILTER_VERSION_MAJOR 7
#define LIBAVFILTER_VERSION_MINOR 4
4
#define LIBAVFILTER_VERSION_MINOR 4
5
#define LIBAVFILTER_VERSION_MICRO 100
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
...
...
libavfilter/vf_chromashift.c
View file @
6da43921
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