Commit cfd42122 authored by Paul B Mahol's avatar Paul B Mahol

avfilter: add chromashift filter

parent 8f875a90
......@@ -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.
......
......@@ -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
......
......@@ -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;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment