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
3f24e744
Commit
3f24e744
authored
Feb 09, 2020
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_asoftclip: add support for commands
parent
d8429981
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
filters.texi
doc/filters.texi
+4
-0
af_asoftclip.c
libavfilter/af_asoftclip.c
+2
-1
No files found.
doc/filters.texi
View file @
3f24e744
...
@@ -2257,6 +2257,10 @@ It accepts the following values:
...
@@ -2257,6 +2257,10 @@ It accepts the following values:
Set additional parameter which controls sigmoid function.
Set additional parameter which controls sigmoid function.
@end table
@end table
@subsection Commands
This filter supports the all above options as @ref{commands}.
@section asr
@section asr
Automatic Speech Recognition
Automatic Speech Recognition
...
...
libavfilter/af_asoftclip.c
View file @
3f24e744
...
@@ -46,7 +46,7 @@ typedef struct ASoftClipContext {
...
@@ -46,7 +46,7 @@ typedef struct ASoftClipContext {
}
ASoftClipContext
;
}
ASoftClipContext
;
#define OFFSET(x) offsetof(ASoftClipContext, x)
#define OFFSET(x) offsetof(ASoftClipContext, x)
#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
|AV_OPT_FLAG_RUNTIME_PARAM
static
const
AVOption
asoftclip_options
[]
=
{
static
const
AVOption
asoftclip_options
[]
=
{
{
"type"
,
"set softclip type"
,
OFFSET
(
type
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
NB_TYPES
-
1
,
A
,
"types"
},
{
"type"
,
"set softclip type"
,
OFFSET
(
type
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
NB_TYPES
-
1
,
A
,
"types"
},
...
@@ -313,6 +313,7 @@ AVFilter ff_af_asoftclip = {
...
@@ -313,6 +313,7 @@ AVFilter ff_af_asoftclip = {
.
priv_class
=
&
asoftclip_class
,
.
priv_class
=
&
asoftclip_class
,
.
inputs
=
inputs
,
.
inputs
=
inputs
,
.
outputs
=
outputs
,
.
outputs
=
outputs
,
.
process_command
=
ff_filter_process_command
,
.
flags
=
AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
|
.
flags
=
AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
|
AVFILTER_FLAG_SLICE_THREADS
,
AVFILTER_FLAG_SLICE_THREADS
,
};
};
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