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
cff8f91d
Commit
cff8f91d
authored
Apr 10, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/decimate: switch to an AVOption-based system
parent
2040b428
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
8 deletions
+1
-8
filters.texi
doc/filters.texi
+0
-5
avfilter.c
libavfilter/avfilter.c
+1
-0
vf_decimate.c
libavfilter/vf_decimate.c
+0
-3
No files found.
doc/filters.texi
View file @
cff8f91d
...
...
@@ -2452,11 +2452,6 @@ The main use of this filter is for very-low-bitrate encoding
(e.g. streaming over dialup modem), but it could in theory be used for
fixing movies that were inverse-telecined incorrectly.
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:
@option{max}:@option{hi}:@option{lo}:@option{frac}.
A description of the accepted options follows.
@table @option
...
...
libavfilter/avfilter.c
View file @
cff8f91d
...
...
@@ -664,6 +664,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"crop"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"cropdetect"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"curves"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"decimate"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"delogo"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"drawbox"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"drawtext"
)
||
...
...
libavfilter/vf_decimate.c
View file @
cff8f91d
...
...
@@ -244,8 +244,6 @@ static const AVFilterPad decimate_outputs[] = {
{
NULL
}
};
static
const
char
*
const
shorthand
[]
=
{
"max"
,
"hi"
,
"lo"
,
"frac"
,
NULL
};
AVFilter
avfilter_vf_decimate
=
{
.
name
=
"decimate"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Remove near-duplicate frames."
),
...
...
@@ -257,5 +255,4 @@ AVFilter avfilter_vf_decimate = {
.
inputs
=
decimate_inputs
,
.
outputs
=
decimate_outputs
,
.
priv_class
=
&
decimate_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