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
0e62b5d1
Commit
0e62b5d1
authored
Nov 21, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: use AV_OPT_TYPE_BOOL in a bunch of places
parent
fb99ef0b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
avf_showwaves.c
libavfilter/avf_showwaves.c
+1
-1
vf_pullup.c
libavfilter/vf_pullup.c
+1
-1
vf_scale.c
libavfilter/vf_scale.c
+1
-1
No files found.
libavfilter/avf_showwaves.c
View file @
0e62b5d1
...
@@ -436,7 +436,7 @@ AVFilter ff_avf_showwaves = {
...
@@ -436,7 +436,7 @@ AVFilter ff_avf_showwaves = {
static
const
AVOption
showwavespic_options
[]
=
{
static
const
AVOption
showwavespic_options
[]
=
{
{
"size"
,
"set video size"
,
OFFSET
(
w
),
AV_OPT_TYPE_IMAGE_SIZE
,
{.
str
=
"600x240"
},
0
,
0
,
FLAGS
},
{
"size"
,
"set video size"
,
OFFSET
(
w
),
AV_OPT_TYPE_IMAGE_SIZE
,
{.
str
=
"600x240"
},
0
,
0
,
FLAGS
},
{
"s"
,
"set video size"
,
OFFSET
(
w
),
AV_OPT_TYPE_IMAGE_SIZE
,
{.
str
=
"600x240"
},
0
,
0
,
FLAGS
},
{
"s"
,
"set video size"
,
OFFSET
(
w
),
AV_OPT_TYPE_IMAGE_SIZE
,
{.
str
=
"600x240"
},
0
,
0
,
FLAGS
},
{
"split_channels"
,
"draw channels separately"
,
OFFSET
(
split_channels
),
AV_OPT_TYPE_
INT
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
"split_channels"
,
"draw channels separately"
,
OFFSET
(
split_channels
),
AV_OPT_TYPE_
BOOL
,
{.
i64
=
0
},
0
,
1
,
FLAGS
},
{
NULL
}
{
NULL
}
};
};
...
...
libavfilter/vf_pullup.c
View file @
0e62b5d1
...
@@ -42,7 +42,7 @@ static const AVOption pullup_options[] = {
...
@@ -42,7 +42,7 @@ static const AVOption pullup_options[] = {
{
"jr"
,
"set right junk size"
,
OFFSET
(
junk_right
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
0
,
INT_MAX
,
FLAGS
},
{
"jr"
,
"set right junk size"
,
OFFSET
(
junk_right
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
0
,
INT_MAX
,
FLAGS
},
{
"jt"
,
"set top junk size"
,
OFFSET
(
junk_top
),
AV_OPT_TYPE_INT
,
{.
i64
=
4
},
1
,
INT_MAX
,
FLAGS
},
{
"jt"
,
"set top junk size"
,
OFFSET
(
junk_top
),
AV_OPT_TYPE_INT
,
{.
i64
=
4
},
1
,
INT_MAX
,
FLAGS
},
{
"jb"
,
"set bottom junk size"
,
OFFSET
(
junk_bottom
),
AV_OPT_TYPE_INT
,
{.
i64
=
4
},
1
,
INT_MAX
,
FLAGS
},
{
"jb"
,
"set bottom junk size"
,
OFFSET
(
junk_bottom
),
AV_OPT_TYPE_INT
,
{.
i64
=
4
},
1
,
INT_MAX
,
FLAGS
},
{
"sb"
,
"set strict breaks"
,
OFFSET
(
strict_breaks
),
AV_OPT_TYPE_
INT
,
{.
i64
=
0
},
-
1
,
1
,
FLAGS
},
{
"sb"
,
"set strict breaks"
,
OFFSET
(
strict_breaks
),
AV_OPT_TYPE_
BOOL
,
{.
i64
=
0
},
-
1
,
1
,
FLAGS
},
{
"mp"
,
"set metric plane"
,
OFFSET
(
metric_plane
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
2
,
FLAGS
,
"mp"
},
{
"mp"
,
"set metric plane"
,
OFFSET
(
metric_plane
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
2
,
FLAGS
,
"mp"
},
{
"y"
,
"luma"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
0
},
0
,
0
,
FLAGS
,
"mp"
},
{
"y"
,
"luma"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
0
},
0
,
0
,
FLAGS
,
"mp"
},
{
"u"
,
"chroma blue"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
1
},
0
,
0
,
FLAGS
,
"mp"
},
{
"u"
,
"chroma blue"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
1
},
0
,
0
,
FLAGS
,
"mp"
},
...
...
libavfilter/vf_scale.c
View file @
0e62b5d1
...
@@ -628,7 +628,7 @@ static const AVOption scale_options[] = {
...
@@ -628,7 +628,7 @@ static const AVOption scale_options[] = {
{
"h"
,
"Output video height"
,
OFFSET
(
h_expr
),
AV_OPT_TYPE_STRING
,
.
flags
=
FLAGS
},
{
"h"
,
"Output video height"
,
OFFSET
(
h_expr
),
AV_OPT_TYPE_STRING
,
.
flags
=
FLAGS
},
{
"height"
,
"Output video height"
,
OFFSET
(
h_expr
),
AV_OPT_TYPE_STRING
,
.
flags
=
FLAGS
},
{
"height"
,
"Output video height"
,
OFFSET
(
h_expr
),
AV_OPT_TYPE_STRING
,
.
flags
=
FLAGS
},
{
"flags"
,
"Flags to pass to libswscale"
,
OFFSET
(
flags_str
),
AV_OPT_TYPE_STRING
,
{
.
str
=
"bilinear"
},
.
flags
=
FLAGS
},
{
"flags"
,
"Flags to pass to libswscale"
,
OFFSET
(
flags_str
),
AV_OPT_TYPE_STRING
,
{
.
str
=
"bilinear"
},
.
flags
=
FLAGS
},
{
"interl"
,
"set interlacing"
,
OFFSET
(
interlaced
),
AV_OPT_TYPE_
INT
,
{.
i64
=
0
},
-
1
,
1
,
FLAGS
},
{
"interl"
,
"set interlacing"
,
OFFSET
(
interlaced
),
AV_OPT_TYPE_
BOOL
,
{.
i64
=
0
},
-
1
,
1
,
FLAGS
},
{
"size"
,
"set video size"
,
OFFSET
(
size_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
FLAGS
},
{
"size"
,
"set video size"
,
OFFSET
(
size_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
FLAGS
},
{
"s"
,
"set video size"
,
OFFSET
(
size_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
FLAGS
},
{
"s"
,
"set video size"
,
OFFSET
(
size_str
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
FLAGS
},
{
"in_color_matrix"
,
"set input YCbCr type"
,
OFFSET
(
in_color_matrix
),
AV_OPT_TYPE_STRING
,
{
.
str
=
"auto"
},
.
flags
=
FLAGS
},
{
"in_color_matrix"
,
"set input YCbCr type"
,
OFFSET
(
in_color_matrix
),
AV_OPT_TYPE_STRING
,
{
.
str
=
"auto"
},
.
flags
=
FLAGS
},
...
...
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