Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d7fe7e31
Commit
d7fe7e31
authored
Feb 15, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reserve FOURCC's for RV12 and AV16 XVideo formats
parent
7d029e21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
include/vlc_fourcc.h
include/vlc_fourcc.h
+4
-0
src/misc/fourcc.c
src/misc/fourcc.c
+7
-2
No files found.
include/vlc_fourcc.h
View file @
d7fe7e31
...
...
@@ -150,6 +150,10 @@
#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 */
#define VLC_CODEC_RGB12 VLC_FOURCC('R','V','1','2')
/* 16 bits VLC RGBA */
#define VLC_CODEC_RGBA16 VLC_FOURCC('A','V','1','6')
/* 15 bits RGB stored on 16 bits */
#define VLC_CODEC_RGB15 VLC_FOURCC('R','V','1','5')
/* 16 bits RGB store on a 16 bits */
...
...
src/misc/fourcc.c
View file @
d7fe7e31
...
...
@@ -662,6 +662,10 @@ static const entry_t p_list_video[] = {
B
(
VLC_CODEC_RGB8
,
"8 bits RGB"
),
A
(
"RGB2"
),
B
(
VLC_CODEC_RGB15
,
"12 bits RGB"
),
A
(
"RV12"
),
B
(
VLC_CODEC_RGB15
,
"16 bits RGBA"
),
A
(
"AV16"
),
B
(
VLC_CODEC_RGB15
,
"15 bits RGB"
),
A
(
"RV15"
),
B
(
VLC_CODEC_RGB16
,
"16 bits RGB"
),
...
...
@@ -672,6 +676,7 @@ static const entry_t p_list_video[] = {
A
(
"RV32"
),
B
(
VLC_CODEC_RGBA
,
"32 bits RGBA"
),
A
(
"RGBA"
),
A
(
"AV32"
),
B
(
VLC_CODEC_GREY
,
"8 bits greyscale"
),
A
(
"GREY"
),
...
...
@@ -1622,7 +1627,8 @@ static const struct
{
{
VLC_CODEC_YUV_PACKED
,
0
},
PACKED
(
2
)
},
{
{
VLC_CODEC_RGB8
,
VLC_CODEC_GREY
,
VLC_CODEC_YUVP
,
VLC_CODEC_RGBP
,
0
},
PACKED
(
1
)
},
{
{
VLC_CODEC_RGB16
,
VLC_CODEC_RGB15
,
0
},
PACKED
(
2
)
},
{
{
VLC_CODEC_RGB16
,
VLC_CODEC_RGB15
,
VLC_CODEC_RGB12
,
VLC_CODEC_RGBA16
,
0
},
PACKED
(
2
)
},
{
{
VLC_CODEC_RGB24
,
0
},
PACKED
(
3
)
},
{
{
VLC_CODEC_RGB32
,
VLC_CODEC_RGBA
,
0
},
PACKED
(
4
)
},
...
...
@@ -1647,4 +1653,3 @@ const vlc_chroma_description_t *vlc_fourcc_GetChromaDescription( vlc_fourcc_t i_
}
return
NULL
;
}
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