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
8007e8fc
Commit
8007e8fc
authored
Dec 28, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_afir: fix minp/maxp range and change default value for maxp
parent
c343e81f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
filters.texi
doc/filters.texi
+3
-3
af_afir.c
libavfilter/af_afir.c
+2
-2
No files found.
doc/filters.texi
View file @
8007e8fc
...
...
@@ -1232,12 +1232,12 @@ Set video stream frame rate. This option is used only when @var{response} is ena
@
item
minp
Set
minimal
partition
size
used
for
convolution
.
Default
is
@
var
{
16
}.
Allowed
range
is
from
@
var
{
16
}
to
@
var
{
65536
}.
Allowed
range
is
from
@
var
{
16
}
to
@
var
{
32768
}.
Lower
values
decreases
latency
at
cost
of
higher
CPU
usage
.
@
item
maxp
Set
maximal
partition
size
used
for
convolution
.
Default
is
@
var
{
65536
}.
Allowed
range
is
from
@
var
{
16
}
to
@
var
{
65536
}.
Set
maximal
partition
size
used
for
convolution
.
Default
is
@
var
{
8192
}.
Allowed
range
is
from
@
var
{
16
}
to
@
var
{
32768
}.
Lower
values
decreases
latency
at
cost
of
higher
CPU
usage
.
@
end
table
...
...
libavfilter/af_afir.c
View file @
8007e8fc
...
...
@@ -735,8 +735,8 @@ static const AVOption afir_options[] = {
{
"channel"
,
"set IR channel to display frequency response"
,
OFFSET
(
ir_channel
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
1024
,
VF
},
{
"size"
,
"set video size"
,
OFFSET
(
w
),
AV_OPT_TYPE_IMAGE_SIZE
,
{.
str
=
"hd720"
},
0
,
0
,
VF
},
{
"rate"
,
"set video rate"
,
OFFSET
(
frame_rate
),
AV_OPT_TYPE_VIDEO_RATE
,
{.
str
=
"25"
},
0
,
INT32_MAX
,
VF
},
{
"minp"
,
"set min partition size"
,
OFFSET
(
minp
),
AV_OPT_TYPE_INT
,
{.
i64
=
16
},
16
,
65536
,
AF
},
{
"maxp"
,
"set max partition size"
,
OFFSET
(
maxp
),
AV_OPT_TYPE_INT
,
{.
i64
=
65536
},
16
,
65536
,
AF
},
{
"minp"
,
"set min partition size"
,
OFFSET
(
minp
),
AV_OPT_TYPE_INT
,
{.
i64
=
16
},
16
,
32768
,
AF
},
{
"maxp"
,
"set max partition size"
,
OFFSET
(
maxp
),
AV_OPT_TYPE_INT
,
{.
i64
=
8192
},
16
,
32768
,
AF
},
{
NULL
}
};
...
...
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