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
9713c02a
Commit
9713c02a
authored
May 18, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reserve RGBT codec (RGBA 5-5-5-1)
parent
dfae18e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
include/vlc_fourcc.h
include/vlc_fourcc.h
+8
-6
src/misc/fourcc.c
src/misc/fourcc.c
+4
-2
No files found.
include/vlc_fourcc.h
View file @
9713c02a
...
...
@@ -150,19 +150,21 @@
#define VLC_CODEC_RGBP VLC_FOURCC('R','G','B','P')
/* 8 bits RGB */
#define VLC_CODEC_RGB8 VLC_FOURCC('R','G','B','8')
/* 12 bits RGB
stored on
16 bits */
/* 12 bits RGB
padded to
16 bits */
#define VLC_CODEC_RGB12 VLC_FOURCC('R','V','1','2')
/* 16 bits
VLC RGBA
*/
/* 16 bits
RGBA (12 bits RGB + 4 bits alpha)
*/
#define VLC_CODEC_RGBA16 VLC_FOURCC('A','V','1','6')
/* 15 bits RGB
stored on
16 bits */
/* 15 bits RGB
padded to
16 bits */
#define VLC_CODEC_RGB15 VLC_FOURCC('R','V','1','5')
/* 16 bits RGB store on a 16 bits */
/* 16 bits RGBA (15 bits RGB + 1 bit alpha) */
#define VLC_CODEC_RGBT VLC_FOURCC('R','G','B','T')
/* 16 bits RGB */
#define VLC_CODEC_RGB16 VLC_FOURCC('R','V','1','6')
/* 24 bits RGB */
#define VLC_CODEC_RGB24 VLC_FOURCC('R','V','2','4')
/*
32 bits RGB
*/
/*
24 bits RGB padded to 32 bits
*/
#define VLC_CODEC_RGB32 VLC_FOURCC('R','V','3','2')
/* 32 bits
VLC
RGBA */
/* 32 bits RGBA */
#define VLC_CODEC_RGBA VLC_FOURCC('R','G','B','A')
/* 8 bits grey */
#define VLC_CODEC_GREY VLC_FOURCC('G','R','E','Y')
...
...
src/misc/fourcc.c
View file @
9713c02a
...
...
@@ -674,6 +674,8 @@ static const entry_t p_list_video[] = {
A
(
"AV16"
),
B
(
VLC_CODEC_RGB15
,
"15 bits RGB"
),
A
(
"RV15"
),
B
(
VLC_CODEC_RGBT
,
"16 bits RGBT"
),
A
(
"RGBT"
),
B
(
VLC_CODEC_RGB16
,
"16 bits RGB"
),
A
(
"RV16"
),
B
(
VLC_CODEC_RGB24
,
"24 bits RGB"
),
...
...
@@ -1619,7 +1621,7 @@ bool vlc_fourcc_IsYUV(vlc_fourcc_t fcc)
static
const
struct
{
vlc_fourcc_t
p_fourcc
[
5
];
vlc_fourcc_t
p_fourcc
[
6
];
vlc_chroma_description_t
description
;
}
p_list_chroma_description
[]
=
{
{
{
VLC_CODEC_I411
,
0
},
PLANAR
(
3
,
4
,
1
)
},
...
...
@@ -1633,7 +1635,7 @@ static const struct
{
{
VLC_CODEC_YUV_PACKED
,
0
},
PACKED_FMT
(
2
)
},
{
{
VLC_CODEC_RGB8
,
VLC_CODEC_GREY
,
VLC_CODEC_YUVP
,
VLC_CODEC_RGBP
,
0
},
PACKED_FMT
(
1
)
},
{
{
VLC_CODEC_RGB16
,
VLC_CODEC_RGB15
,
{
{
VLC_CODEC_RGB16
,
VLC_CODEC_RGB15
,
VLC_CODEC_RGBT
,
VLC_CODEC_RGB12
,
VLC_CODEC_RGBA16
,
0
},
PACKED_FMT
(
2
)
},
{
{
VLC_CODEC_RGB24
,
0
},
PACKED_FMT
(
3
)
},
{
{
VLC_CODEC_RGB32
,
VLC_CODEC_RGBA
,
0
},
PACKED_FMT
(
4
)
},
...
...
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