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
0d9b9bd3
Commit
0d9b9bd3
authored
Oct 18, 2016
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavu: Add JEDEC P22 color primaries
parent
7c9e2b29
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
2 deletions
+5
-2
options_table.h
libavcodec/options_table.h
+1
-0
version.h
libavcodec/version.h
+1
-1
pixdesc.c
libavutil/pixdesc.c
+1
-0
pixfmt.h
libavutil/pixfmt.h
+1
-0
version.h
libavutil/version.h
+1
-1
No files found.
libavcodec/options_table.h
View file @
0d9b9bd3
...
...
@@ -438,6 +438,7 @@ static const AVOption avcodec_options[] = {
{
"smpte428"
,
"SMPTE 428-1"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_SMPTE428
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"smpte431"
,
"SMPTE 431-2"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_SMPTE431
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"smpte432"
,
"SMPTE 422-1"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_SMPTE432
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"jedec-p22"
,
"JEDEC P22"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_JEDEC_P22
},
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"
},
{
"smptest428_1"
,
"SMPTE 428-1"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
AVCOL_PRI_SMPTE428
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"color_primaries_type"
},
{
"color_trc"
,
"color transfer characteristics"
,
OFFSET
(
color_trc
),
AV_OPT_TYPE_INT
,
{.
i64
=
AVCOL_TRC_UNSPECIFIED
},
1
,
AVCOL_TRC_NB
-
1
,
V
|
E
|
D
,
"color_trc_type"
},
...
...
libavcodec/version.h
View file @
0d9b9bd3
...
...
@@ -29,7 +29,7 @@
#define LIBAVCODEC_VERSION_MAJOR 57
#define LIBAVCODEC_VERSION_MINOR 28
#define LIBAVCODEC_VERSION_MICRO
0
#define LIBAVCODEC_VERSION_MICRO
1
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
libavutil/pixdesc.c
View file @
0d9b9bd3
...
...
@@ -1763,6 +1763,7 @@ static const char *color_primaries_names[] = {
[
AVCOL_PRI_SMPTE428
]
=
"smpte428"
,
[
AVCOL_PRI_SMPTE431
]
=
"smpte431"
,
[
AVCOL_PRI_SMPTE432
]
=
"smpte432"
,
[
AVCOL_PRI_JEDEC_P22
]
=
"jedec-p22"
,
};
static
const
char
*
color_transfer_names
[]
=
{
...
...
libavutil/pixfmt.h
View file @
0d9b9bd3
...
...
@@ -326,6 +326,7 @@ enum AVColorPrimaries {
AVCOL_PRI_SMPTEST428_1
=
AVCOL_PRI_SMPTE428
,
AVCOL_PRI_SMPTE431
=
11
,
///< SMPTE ST 431-2 (2011) / DCI P3
AVCOL_PRI_SMPTE432
=
12
,
///< SMPTE ST 432-1 (2010) / P3 D65 / Display P3
AVCOL_PRI_JEDEC_P22
=
22
,
///< JEDEC P22 phosphors
AVCOL_PRI_NB
,
///< Not part of ABI
};
...
...
libavutil/version.h
View file @
0d9b9bd3
...
...
@@ -54,7 +54,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 55
#define LIBAVUTIL_VERSION_MINOR 2
5
#define LIBAVUTIL_VERSION_MINOR 2
6
#define LIBAVUTIL_VERSION_MICRO 0
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
...
...
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