Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
538e5087
Commit
538e5087
authored
7 years ago
by
Vittorio Giovara
Browse files
Options
Downloads
Patches
Plain Diff
pixfmt: Support chroma-derived and ictcp color matrices
Signed-off-by:
Vittorio Giovara
<
vittorio.giovara@gmail.com
>
parent
ebf3b9e8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libavutil/pixdesc.c
+3
-0
3 additions, 0 deletions
libavutil/pixdesc.c
libavutil/pixfmt.h
+3
-0
3 additions, 0 deletions
libavutil/pixfmt.h
libavutil/version.h
+1
-1
1 addition, 1 deletion
libavutil/version.h
with
7 additions
and
1 deletion
libavutil/pixdesc.c
+
3
−
0
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
[]
=
{
...
...
This diff is collapsed.
Click to expand it.
libavutil/pixfmt.h
+
3
−
0
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
};
...
...
This diff is collapsed.
Click to expand it.
libavutil/version.h
+
1
−
1
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, \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment