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
cfd42122
Commit
cfd42122
authored
Nov 17, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add chromashift filter
parent
8f875a90
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
278 additions
and
0 deletions
+278
-0
filters.texi
doc/filters.texi
+17
-0
Makefile
libavfilter/Makefile
+1
-0
allfilters.c
libavfilter/allfilters.c
+1
-0
vf_chromashift.c
libavfilter/vf_chromashift.c
+259
-0
No files found.
doc/filters.texi
View file @
cfd42122
...
...
@@ -6253,6 +6253,23 @@ ffmpeg -f lavfi -i color=c=black:s=1280x720 -i video.mp4 -shortest -filter_compl
@
end
example
@
end
itemize
@
section
chromashift
Shift
chroma
pixels
horizontally
and
/
or
vertically
.
The
filter
accepts
the
following
options
:
@
table
@
option
@
item
cbh
Set
amount
to
shift
chroma
-
blue
horizontally
.
@
item
cbv
Set
amount
to
shift
chroma
-
blue
vertically
.
@
item
crh
Set
amount
to
shift
chroma
-
red
horizontally
.
@
item
crv
Set
amount
to
shift
chroma
-
red
vertically
.
@
item
edge
Set
edge
mode
,
can
be
@
var
{
smear
},
default
,
or
@
var
{
warp
}.
@
end
table
@
section
ciescope
Display
CIE
color
diagram
with
pixels
overlaid
onto
it
.
...
...
libavfilter/Makefile
View file @
cfd42122
...
...
@@ -169,6 +169,7 @@ OBJS-$(CONFIG_BOXBLUR_OPENCL_FILTER) += vf_avgblur_opencl.o opencl.o \
OBJS-$(CONFIG_BWDIF_FILTER)
+=
vf_bwdif.o
OBJS-$(CONFIG_CHROMAHOLD_FILTER)
+=
vf_chromakey.o
OBJS-$(CONFIG_CHROMAKEY_FILTER)
+=
vf_chromakey.o
OBJS-$(CONFIG_CHROMASHIFT_FILTER)
+=
vf_chromashift.o
OBJS-$(CONFIG_CIESCOPE_FILTER)
+=
vf_ciescope.o
OBJS-$(CONFIG_CODECVIEW_FILTER)
+=
vf_codecview.o
OBJS-$(CONFIG_COLORBALANCE_FILTER)
+=
vf_colorbalance.o
...
...
libavfilter/allfilters.c
View file @
cfd42122
...
...
@@ -158,6 +158,7 @@ extern AVFilter ff_vf_boxblur_opencl;
extern
AVFilter
ff_vf_bwdif
;
extern
AVFilter
ff_vf_chromahold
;
extern
AVFilter
ff_vf_chromakey
;
extern
AVFilter
ff_vf_chromashift
;
extern
AVFilter
ff_vf_ciescope
;
extern
AVFilter
ff_vf_codecview
;
extern
AVFilter
ff_vf_colorbalance
;
...
...
libavfilter/vf_chromashift.c
0 → 100644
View file @
cfd42122
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