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
713f9c5b
Commit
713f9c5b
authored
Dec 08, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_scale: add more aliases for "range" options
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
b404d41b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
filters.texi
doc/filters.texi
+2
-2
vf_scale.c
libavfilter/vf_scale.c
+2
-0
No files found.
doc/filters.texi
View file @
713f9c5b
...
...
@@ -13086,13 +13086,13 @@ a specific value used for the output and encoder. If not specified, the
range depends on the pixel format. Possible values:
@table @samp
@item auto
@item auto
/unknown
Choose automatically.
@item jpeg/full/pc
Set full range (0-255 in case of 8-bit luma).
@item mpeg/tv
@item mpeg/
limited/
tv
Set "MPEG" range (16-235 in case of 8-bit luma).
@end table
...
...
libavfilter/vf_scale.c
View file @
713f9c5b
...
...
@@ -578,7 +578,9 @@ static const AVOption scale_options[] = {
{
"in_range"
,
"set input color range"
,
OFFSET
(
in_range
),
AV_OPT_TYPE_INT
,
{.
i64
=
AVCOL_RANGE_UNSPECIFIED
},
0
,
2
,
FLAGS
,
"range"
},
{
"out_range"
,
"set output color range"
,
OFFSET
(
out_range
),
AV_OPT_TYPE_INT
,
{.
i64
=
AVCOL_RANGE_UNSPECIFIED
},
0
,
2
,
FLAGS
,
"range"
},
{
"auto"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_RANGE_UNSPECIFIED
},
0
,
0
,
FLAGS
,
"range"
},
{
"unknown"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_RANGE_UNSPECIFIED
},
0
,
0
,
FLAGS
,
"range"
},
{
"full"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_RANGE_JPEG
},
0
,
0
,
FLAGS
,
"range"
},
{
"limited"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_RANGE_MPEG
},
0
,
0
,
FLAGS
,
"range"
},
{
"jpeg"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_RANGE_JPEG
},
0
,
0
,
FLAGS
,
"range"
},
{
"mpeg"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_RANGE_MPEG
},
0
,
0
,
FLAGS
,
"range"
},
{
"tv"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_RANGE_MPEG
},
0
,
0
,
FLAGS
,
"range"
},
...
...
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