Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
bbf253f7
Commit
bbf253f7
authored
Jun 24, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mapped VLC_CODEC for I420 9/10-bit, I422 10-bit, I444 9/10-bit to ffmpeg PIX_FMT.
parent
80861b6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
modules/codec/avcodec/chroma.c
modules/codec/avcodec/chroma.c
+17
-0
No files found.
modules/codec/avcodec/chroma.c
View file @
bbf253f7
...
...
@@ -82,6 +82,23 @@ static const struct
{
VLC_FOURCC
(
'N'
,
'V'
,
'1'
,
'2'
),
PIX_FMT_NV12
,
0
,
0
,
0
},
{
VLC_FOURCC
(
'N'
,
'V'
,
'2'
,
'1'
),
PIX_FMT_NV21
,
0
,
0
,
0
},
#if LIBAVUTIL_VERSION_INT >= ((51<<16)+(4<<8)+0)
{
VLC_CODEC_I420_9L
,
PIX_FMT_YUV420P9LE
,
0
,
0
,
0
},
{
VLC_CODEC_I420_9B
,
PIX_FMT_YUV420P9BE
,
0
,
0
,
0
},
{
VLC_CODEC_I420_10L
,
PIX_FMT_YUV420P10LE
,
0
,
0
,
0
},
{
VLC_CODEC_I420_10B
,
PIX_FMT_YUV420P10BE
,
0
,
0
,
0
},
#endif
#if LIBAVUTIL_VERSION_INT >= ((51<<16)+(9<<8)+0)
/* I422 9-bit seems missing */
{
VLC_CODEC_I422_10L
,
PIX_FMT_YUV422P10LE
,
0
,
0
,
0
},
{
VLC_CODEC_I422_10B
,
PIX_FMT_YUV422P10BE
,
0
,
0
,
0
},
{
VLC_CODEC_I444_9L
,
PIX_FMT_YUV444P9LE
,
0
,
0
,
0
},
{
VLC_CODEC_I444_9B
,
PIX_FMT_YUV444P9BE
,
0
,
0
,
0
},
{
VLC_CODEC_I444_10L
,
PIX_FMT_YUV444P10LE
,
0
,
0
,
0
},
{
VLC_CODEC_I444_10B
,
PIX_FMT_YUV444P10BE
,
0
,
0
,
0
},
#endif
/* Packed YUV formats */
{
VLC_CODEC_YUYV
,
PIX_FMT_YUYV422
,
0
,
0
,
0
},
{
VLC_FOURCC
(
'Y'
,
'U'
,
'Y'
,
'V'
),
PIX_FMT_YUYV422
,
0
,
0
,
0
},
...
...
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