Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
0e10c9d6
Commit
0e10c9d6
authored
Mar 20, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix planar GBR H264 samples
parent
1ec45d90
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
include/vlc_fourcc.h
include/vlc_fourcc.h
+11
-0
modules/codec/avcodec/chroma.c
modules/codec/avcodec/chroma.c
+2
-0
src/misc/fourcc.c
src/misc/fourcc.c
+2
-0
No files found.
include/vlc_fourcc.h
View file @
0e10c9d6
...
...
@@ -202,6 +202,7 @@
#define VLC_CODEC_YUV422A VLC_FOURCC('I','4','2','A')
/* Planar YUV 4:2:0 Y:U:V:A */
#define VLC_CODEC_YUV420A VLC_FOURCC('I','4','0','A')
/* Palettized RGB with palette element R:G:B */
#define VLC_CODEC_RGBP VLC_FOURCC('R','G','B','P')
/* 8 bits RGB */
...
...
@@ -224,6 +225,16 @@
#define VLC_CODEC_RGBA VLC_FOURCC('R','G','B','A')
/* 32 bits ARGB */
#define VLC_CODEC_ARGB VLC_FOURCC('A','R','G','B')
/* Planar GBR 4:4:4 8 bits */
#define VLC_CODEC_GBR_PLANAR VLC_FOURCC('G','B','R','8')
#define VLC_CODEC_GBR_PLANAR_9B VLC_FOURCC('G','B','9','B')
#define VLC_CODEC_GBR_PLANAR_9L VLC_FOURCC('G','B','9','L')
#define VLC_CODEC_GBR_PLANAR_10B VLC_FOURCC('G','B','A','B')
#define VLC_CODEC_GBR_PLANAR_10L VLC_FOURCC('G','B','A','L')
#define VLC_CODEC_GBR_PLANAR_16L VLC_FOURCC('G','B','F','L')
#define VLC_CODEC_GBR_PLANAR_16B VLC_FOURCC('G','B','F','B')
/* 8 bits grey */
#define VLC_CODEC_GREY VLC_FOURCC('G','R','E','Y')
/* Packed YUV 4:2:2, U:Y:V:Y */
...
...
modules/codec/avcodec/chroma.c
View file @
0e10c9d6
...
...
@@ -133,6 +133,8 @@ static const struct
/* Paletized RGB */
{
VLC_CODEC_RGBP
,
PIX_FMT_PAL8
,
0
,
0
,
0
},
{
VLC_CODEC_GBR_PLANAR
,
AV_PIX_FMT_GBRP
,
0
,
0
,
0
},
/* XYZ */
#if LIBAVUTIL_VERSION_CHECK(52, 10, 0, 25, 100)
{
VLC_CODEC_XYZ12
,
AV_PIX_FMT_XYZ12
,
0xfff0
,
0xfff0
,
0xfff0
},
...
...
src/misc/fourcc.c
View file @
0e10c9d6
...
...
@@ -2033,6 +2033,8 @@ static const struct
{
{
VLC_CODEC_YUV420A
,
0
},
PLANAR_8
(
4
,
2
,
2
)
},
{
{
VLC_CODEC_YUV422A
,
0
},
PLANAR_8
(
4
,
2
,
1
)
},
{
{
VLC_CODEC_GBR_PLANAR
,
0
},
PLANAR_8
(
3
,
1
,
1
)
},
{
{
VLC_CODEC_I420_10L
,
VLC_CODEC_I420_10B
,
0
},
PLANAR_16
(
3
,
2
,
2
,
10
)
},
{
{
VLC_CODEC_I420_9L
,
...
...
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