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
c97cd116
Commit
c97cd116
authored
Sep 06, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: use AV_OPT_TYPE_BOOL
parent
ae32c991
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
options.c
libswscale/options.c
+1
-3
No files found.
libswscale/options.c
View file @
c97cd116
...
@@ -75,9 +75,7 @@ static const AVOption swscale_options[] = {
...
@@ -75,9 +75,7 @@ static const AVOption swscale_options[] = {
{
"ed"
,
"error diffusion"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_DITHER_ED
},
INT_MIN
,
INT_MAX
,
VE
,
"sws_dither"
},
{
"ed"
,
"error diffusion"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_DITHER_ED
},
INT_MIN
,
INT_MAX
,
VE
,
"sws_dither"
},
{
"a_dither"
,
"arithmetic addition dither"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_DITHER_A_DITHER
},
INT_MIN
,
INT_MAX
,
VE
,
"sws_dither"
},
{
"a_dither"
,
"arithmetic addition dither"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_DITHER_A_DITHER
},
INT_MIN
,
INT_MAX
,
VE
,
"sws_dither"
},
{
"x_dither"
,
"arithmetic xor dither"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_DITHER_X_DITHER
},
INT_MIN
,
INT_MAX
,
VE
,
"sws_dither"
},
{
"x_dither"
,
"arithmetic xor dither"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_DITHER_X_DITHER
},
INT_MIN
,
INT_MAX
,
VE
,
"sws_dither"
},
{
"gamma"
,
"gamma correct scaling"
,
OFFSET
(
gamma_flag
),
AV_OPT_TYPE_INT
,
{
.
i64
=
0
},
0
,
INT_MAX
,
VE
,
"gamma"
},
{
"gamma"
,
"gamma correct scaling"
,
OFFSET
(
gamma_flag
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
0
},
0
,
1
,
VE
},
{
"true"
,
"enable"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
1
},
INT_MIN
,
INT_MAX
,
VE
,
"gamma"
},
{
"false"
,
"disable"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
0
},
INT_MIN
,
INT_MAX
,
VE
,
"gamma"
},
{
"alphablend"
,
"mode for alpha -> non alpha"
,
OFFSET
(
alphablend
),
AV_OPT_TYPE_INT
,
{
.
i64
=
SWS_ALPHA_BLEND_NONE
},
0
,
SWS_ALPHA_BLEND_NB
-
1
,
VE
,
"alphablend"
},
{
"alphablend"
,
"mode for alpha -> non alpha"
,
OFFSET
(
alphablend
),
AV_OPT_TYPE_INT
,
{
.
i64
=
SWS_ALPHA_BLEND_NONE
},
0
,
SWS_ALPHA_BLEND_NB
-
1
,
VE
,
"alphablend"
},
{
"none"
,
"ignore alpha"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_ALPHA_BLEND_NONE
},
INT_MIN
,
INT_MAX
,
VE
,
"alphablend"
},
{
"none"
,
"ignore alpha"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_ALPHA_BLEND_NONE
},
INT_MIN
,
INT_MAX
,
VE
,
"alphablend"
},
{
"uniform_color"
,
"blend onto a uniform color"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_ALPHA_BLEND_UNIFORM
},
INT_MIN
,
INT_MAX
,
VE
,
"alphablend"
},
{
"uniform_color"
,
"blend onto a uniform color"
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
SWS_ALPHA_BLEND_UNIFORM
},
INT_MIN
,
INT_MAX
,
VE
,
"alphablend"
},
...
...
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