Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
8da1f1f2
Commit
8da1f1f2
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/colormatrix: switch to an AVOptions-based system.
parent
8388e1e2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
filters.texi
doc/filters.texi
+1
-5
avfilter.c
libavfilter/avfilter.c
+1
-0
vf_colormatrix.c
libavfilter/vf_colormatrix.c
+0
-3
No files found.
doc/filters.texi
View file @
8da1f1f2
...
...
@@ -2102,12 +2102,8 @@ boxblur=luma_radius=min(h\,w)/10:luma_power=1:chroma_radius=min(cw\,ch)/10:chrom
Convert color matrix.
The filter accepts parameters as a list of @var{key}=@var{value}
pairs, separated by ":". If the key of the first options is omitted,
the arguments are interpreted according to the syntax
@var{src}:@var{dst}.
The filter accepts the following options:
A description of the accepted options follows:
@table @option
@item src
@item dst
...
...
libavfilter/avfilter.c
View file @
8da1f1f2
...
...
@@ -659,6 +659,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"aformat"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"blackframe"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"boxblur"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"colormatrix"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"crop"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"cropdetect"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"delogo"
)
||
...
...
libavfilter/vf_colormatrix.c
View file @
8da1f1f2
...
...
@@ -375,8 +375,6 @@ static const AVFilterPad colormatrix_outputs[] = {
{
NULL
}
};
static
const
char
*
const
shorthand
[]
=
{
"src"
,
"dst"
,
NULL
};
AVFilter
avfilter_vf_colormatrix
=
{
.
name
=
"colormatrix"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Convert color matrix."
),
...
...
@@ -387,5 +385,4 @@ AVFilter avfilter_vf_colormatrix = {
.
inputs
=
colormatrix_inputs
,
.
outputs
=
colormatrix_outputs
,
.
priv_class
=
&
colormatrix_class
,
.
shorthand
=
shorthand
,
};
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