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
093a5044
Commit
093a5044
authored
Apr 26, 2019
by
Martin Vobruba
Committed by
Paul B Mahol
Apr 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/avf_showwaves: Add draw mode also to showwavespic filter
See commit
a8c2d375
parent
31990046
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
filters.texi
doc/filters.texi
+14
-0
avf_showwaves.c
libavfilter/avf_showwaves.c
+3
-0
No files found.
doc/filters.texi
View file @
093a5044
...
...
@@ -22704,6 +22704,20 @@ Cubic root.
@
end
table
Default
is
linear
.
@
item
draw
Set
the
draw
mode
.
Available
values
are
:
@
table
@
samp
@
item
scale
Scale
pixel
values
for
each
drawn
sample
.
@
item
full
Draw
every
sample
directly
.
@
end
table
Default
value
is
@
code
{
scale
}.
@
end
table
@
subsection
Examples
...
...
libavfilter/avf_showwaves.c
View file @
093a5044
...
...
@@ -765,6 +765,9 @@ static const AVOption showwavespic_options[] = {
{
"log"
,
"logarithmic"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SCALE_LOG
},
.
flags
=
FLAGS
,
.
unit
=
"scale"
},
{
"sqrt"
,
"square root"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SCALE_SQRT
},
.
flags
=
FLAGS
,
.
unit
=
"scale"
},
{
"cbrt"
,
"cubic root"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
SCALE_CBRT
},
.
flags
=
FLAGS
,
.
unit
=
"scale"
},
{
"draw"
,
"set draw mode"
,
OFFSET
(
draw_mode
),
AV_OPT_TYPE_INT
,
{.
i64
=
DRAW_SCALE
},
0
,
DRAW_NB
-
1
,
FLAGS
,
.
unit
=
"draw"
},
{
"scale"
,
"scale pixel values for each drawn sample"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DRAW_SCALE
},
.
flags
=
FLAGS
,
.
unit
=
"draw"
},
{
"full"
,
"draw every pixel for sample directly"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
DRAW_FULL
},
.
flags
=
FLAGS
,
.
unit
=
"draw"
},
{
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