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
7668b683
Commit
7668b683
authored
Apr 10, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/idet: switch to an AVOptions-based system.
parent
b2d58918
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
filters.texi
doc/filters.texi
+9
-0
avfilter.c
libavfilter/avfilter.c
+1
-0
vf_idet.c
libavfilter/vf_idet.c
+0
-3
No files found.
doc/filters.texi
View file @
7668b683
...
@@ -3730,6 +3730,15 @@ Detect video interlacing type.
...
@@ -3730,6 +3730,15 @@ Detect video interlacing type.
This filter tries to detect if the input is interlaced or progressive,
This filter tries to detect if the input is interlaced or progressive,
top or bottom field first.
top or bottom field first.
The filter accepts the following options:
@table @option
@item intl_thres
Set interlacing threshold.
@item prog_thres
Set progressive threshold.
@end table
@section il
@section il
Deinterleave or interleave fields.
Deinterleave or interleave fields.
...
...
libavfilter/avfilter.c
View file @
7668b683
...
@@ -682,6 +682,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
...
@@ -682,6 +682,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
!
strcmp
(
filter
->
filter
->
name
,
"histeq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"histeq"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"histogram"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"histogram"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"hqdn3d"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"hqdn3d"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"idet"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"ocv"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"ocv"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"life"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"life"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"lut"
)
||
!
strcmp
(
filter
->
filter
->
name
,
"lut"
)
||
...
...
libavfilter/vf_idet.c
View file @
7668b683
...
@@ -304,8 +304,6 @@ static const AVFilterPad idet_outputs[] = {
...
@@ -304,8 +304,6 @@ static const AVFilterPad idet_outputs[] = {
{
NULL
}
{
NULL
}
};
};
static
const
char
*
const
shorthand
[]
=
{
"intl_thres"
,
"prog_thres"
,
NULL
};
AVFilter
avfilter_vf_idet
=
{
AVFilter
avfilter_vf_idet
=
{
.
name
=
"idet"
,
.
name
=
"idet"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Interlace detect Filter."
),
.
description
=
NULL_IF_CONFIG_SMALL
(
"Interlace detect Filter."
),
...
@@ -317,5 +315,4 @@ AVFilter avfilter_vf_idet = {
...
@@ -317,5 +315,4 @@ AVFilter avfilter_vf_idet = {
.
inputs
=
idet_inputs
,
.
inputs
=
idet_inputs
,
.
outputs
=
idet_outputs
,
.
outputs
=
idet_outputs
,
.
priv_class
=
&
idet_class
,
.
priv_class
=
&
idet_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