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
538e5087
Commit
538e5087
authored
Aug 08, 2017
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pixfmt: Support chroma-derived and ictcp color matrices
Signed-off-by:
Vittorio Giovara
<
vittorio.giovara@gmail.com
>
parent
ebf3b9e8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
pixdesc.c
libavutil/pixdesc.c
+3
-0
pixfmt.h
libavutil/pixfmt.h
+3
-0
version.h
libavutil/version.h
+1
-1
No files found.
libavutil/pixdesc.c
View file @
538e5087
...
...
@@ -1806,6 +1806,9 @@ static const char * const color_space_names[] = {
[
AVCOL_SPC_BT2020_NCL
]
=
"bt2020nc"
,
[
AVCOL_SPC_BT2020_CL
]
=
"bt2020c"
,
[
AVCOL_SPC_SMPTE2085
]
=
"smpte2085"
,
[
AVCOL_SPC_CHROMA_DERIVED_NCL
]
=
"chroma-derived-nc"
,
[
AVCOL_SPC_CHROMA_DERIVED_CL
]
=
"chroma-derived-c"
,
[
AVCOL_SPC_ICTCP
]
=
"ictcp"
,
};
static
const
char
*
const
chroma_location_names
[]
=
{
...
...
libavutil/pixfmt.h
View file @
538e5087
...
...
@@ -384,6 +384,9 @@ enum AVColorSpace {
AVCOL_SPC_BT2020_NCL
=
9
,
///< ITU-R BT2020 non-constant luminance system
AVCOL_SPC_BT2020_CL
=
10
,
///< ITU-R BT2020 constant luminance system
AVCOL_SPC_SMPTE2085
=
11
,
///< SMPTE 2085, Y'D'zD'x
AVCOL_SPC_CHROMA_DERIVED_NCL
=
12
,
///< Chromaticity-derived non-constant luminance system
AVCOL_SPC_CHROMA_DERIVED_CL
=
13
,
///< Chromaticity-derived constant luminance system
AVCOL_SPC_ICTCP
=
14
,
///< ITU-R BT.2100-0, ICtCp
AVCOL_SPC_NB
,
///< Not part of ABI
};
...
...
libavutil/version.h
View file @
538e5087
...
...
@@ -54,7 +54,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 56
#define LIBAVUTIL_VERSION_MINOR
4
#define LIBAVUTIL_VERSION_MINOR
5
#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