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
010caed2
Commit
010caed2
authored
Nov 21, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: use AV_OPT_TYPE_BOOL for {src,dst}_range options
parent
c1f114a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
options.c
libswscale/options.c
+2
-2
No files found.
libswscale/options.c
View file @
010caed2
...
@@ -59,8 +59,8 @@ static const AVOption swscale_options[] = {
...
@@ -59,8 +59,8 @@ static const AVOption swscale_options[] = {
{
"dsth"
,
"destination height"
,
OFFSET
(
dstH
),
AV_OPT_TYPE_INT
,
{
.
i64
=
16
},
1
,
INT_MAX
,
VE
},
{
"dsth"
,
"destination height"
,
OFFSET
(
dstH
),
AV_OPT_TYPE_INT
,
{
.
i64
=
16
},
1
,
INT_MAX
,
VE
},
{
"src_format"
,
"source format"
,
OFFSET
(
srcFormat
),
AV_OPT_TYPE_INT
,
{
.
i64
=
DEFAULT
},
0
,
AV_PIX_FMT_NB
-
1
,
VE
},
{
"src_format"
,
"source format"
,
OFFSET
(
srcFormat
),
AV_OPT_TYPE_INT
,
{
.
i64
=
DEFAULT
},
0
,
AV_PIX_FMT_NB
-
1
,
VE
},
{
"dst_format"
,
"destination format"
,
OFFSET
(
dstFormat
),
AV_OPT_TYPE_INT
,
{
.
i64
=
DEFAULT
},
0
,
AV_PIX_FMT_NB
-
1
,
VE
},
{
"dst_format"
,
"destination format"
,
OFFSET
(
dstFormat
),
AV_OPT_TYPE_INT
,
{
.
i64
=
DEFAULT
},
0
,
AV_PIX_FMT_NB
-
1
,
VE
},
{
"src_range"
,
"source
range"
,
OFFSET
(
srcRange
),
AV_OPT_TYPE_INT
,
{
.
i64
=
DEFAULT
},
0
,
1
,
VE
},
{
"src_range"
,
"source
is full range"
,
OFFSET
(
srcRange
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
DEFAULT
},
0
,
1
,
VE
},
{
"dst_range"
,
"destination
range"
,
OFFSET
(
dstRange
),
AV_OPT_TYPE_INT
,
{
.
i64
=
DEFAULT
},
0
,
1
,
VE
},
{
"dst_range"
,
"destination
is full range"
,
OFFSET
(
dstRange
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
DEFAULT
},
0
,
1
,
VE
},
{
"param0"
,
"scaler param 0"
,
OFFSET
(
param
[
0
]),
AV_OPT_TYPE_DOUBLE
,
{
.
dbl
=
SWS_PARAM_DEFAULT
},
INT_MIN
,
INT_MAX
,
VE
},
{
"param0"
,
"scaler param 0"
,
OFFSET
(
param
[
0
]),
AV_OPT_TYPE_DOUBLE
,
{
.
dbl
=
SWS_PARAM_DEFAULT
},
INT_MIN
,
INT_MAX
,
VE
},
{
"param1"
,
"scaler param 1"
,
OFFSET
(
param
[
1
]),
AV_OPT_TYPE_DOUBLE
,
{
.
dbl
=
SWS_PARAM_DEFAULT
},
INT_MIN
,
INT_MAX
,
VE
},
{
"param1"
,
"scaler param 1"
,
OFFSET
(
param
[
1
]),
AV_OPT_TYPE_DOUBLE
,
{
.
dbl
=
SWS_PARAM_DEFAULT
},
INT_MIN
,
INT_MAX
,
VE
},
...
...
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