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
bd71c300
Commit
bd71c300
authored
Jun 03, 2014
by
Marc-Antoine Arnaud
Committed by
Derek Buitenhuis
Jun 06, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec options: add enum option for color_primaries
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
8a067941
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
options_table.h
libavcodec/options_table.h
+9
-1
No files found.
libavcodec/options_table.h
View file @
bd71c300
...
...
@@ -367,7 +367,15 @@ static const AVOption avcodec_options[] = {
{
"rc_max_vbv_use"
,
NULL
,
OFFSET
(
rc_max_available_vbv_use
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
1
.
0
/
3
},
0
.
0
,
FLT_MAX
,
V
|
E
},
{
"rc_min_vbv_use"
,
NULL
,
OFFSET
(
rc_min_vbv_overflow_use
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
3
},
0
.
0
,
FLT_MAX
,
V
|
E
},
{
"ticks_per_frame"
,
NULL
,
OFFSET
(
ticks_per_frame
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
1
,
INT_MAX
,
A
|
V
|
E
|
D
},
{
"color_primaries"
,
NULL
,
OFFSET
(
color_primaries
),
AV_OPT_TYPE_INT
,
{.
i64
=
AVCOL_PRI_UNSPECIFIED
},
1
,
AVCOL_PRI_NB
-
1
,
V
|
E
|
D
},
{
"color_primaries"
,
"color primaries"
,
OFFSET
(
color_primaries
),
AV_OPT_TYPE_INT
,
{.
i64
=
AVCOL_PRI_UNSPECIFIED
},
1
,
AVCOL_PRI_NB
-
1
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"bt709"
,
"BT.709"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_BT709
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"unspecified"
,
"Unspecified"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_UNSPECIFIED
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"bt470m"
,
"BT.470 M"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_BT470M
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"bt470bg"
,
"BT.470 BG"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_BT470BG
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"smpte170m"
,
"SMPTE 170 M"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_SMPTE170M
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"smpte240m"
,
"SMPTE 240 M"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_SMPTE240M
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"film"
,
"Film"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_FILM
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"bt2020"
,
"BT.2020"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_BT2020
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"color_trc"
,
NULL
,
OFFSET
(
color_trc
),
AV_OPT_TYPE_INT
,
{.
i64
=
AVCOL_TRC_UNSPECIFIED
},
1
,
AVCOL_TRC_NB
-
1
,
V
|
E
|
D
},
{
"colorspace"
,
NULL
,
OFFSET
(
colorspace
),
AV_OPT_TYPE_INT
,
{.
i64
=
AVCOL_SPC_UNSPECIFIED
},
1
,
AVCOL_SPC_NB
-
1
,
V
|
E
|
D
},
{
"color_range"
,
NULL
,
OFFSET
(
color_range
),
AV_OPT_TYPE_INT
,
{.
i64
=
AVCOL_RANGE_UNSPECIFIED
},
0
,
AVCOL_RANGE_NB
-
1
,
V
|
E
|
D
},
...
...
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