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
0df73ceb
Commit
0df73ceb
authored
May 12, 2014
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add VLC_CODEC_BGRA fourcc.
parent
1f8ac012
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
include/vlc_fourcc.h
include/vlc_fourcc.h
+2
-0
src/misc/es_format.c
src/misc/es_format.c
+1
-0
src/misc/fourcc.c
src/misc/fourcc.c
+4
-1
No files found.
include/vlc_fourcc.h
View file @
0df73ceb
...
...
@@ -226,6 +226,8 @@
#define VLC_CODEC_RGBA VLC_FOURCC('R','G','B','A')
/* 32 bits ARGB */
#define VLC_CODEC_ARGB VLC_FOURCC('A','R','G','B')
/* 32 bits BGRA */
#define VLC_CODEC_BGRA VLC_FOURCC('B','G','R','A')
/* Planar GBR 4:4:4 8 bits */
#define VLC_CODEC_GBR_PLANAR VLC_FOURCC('G','B','R','8')
...
...
src/misc/es_format.c
View file @
0df73ceb
...
...
@@ -190,6 +190,7 @@ void video_format_Setup( video_format_t *p_fmt, vlc_fourcc_t i_chroma,
case
VLC_CODEC_RGB32
:
case
VLC_CODEC_RGBA
:
case
VLC_CODEC_ARGB
:
case
VLC_CODEC_BGRA
:
p_fmt
->
i_bits_per_pixel
=
32
;
break
;
case
VLC_CODEC_RGB24
:
...
...
src/misc/fourcc.c
View file @
0df73ceb
...
...
@@ -814,6 +814,8 @@ static const staticentry_t p_list_video[] = {
B
(
VLC_CODEC_RGBA
,
"32 bits ARGB"
),
A
(
"ARGB"
),
A
(
"AV32"
),
B
(
VLC_CODEC_BGRA
,
"32 bits BGRA"
),
A
(
"BGRA"
),
B
(
VLC_CODEC_GREY
,
"8 bits greyscale"
),
A
(
"GREY"
),
...
...
@@ -2084,7 +2086,8 @@ static const struct
VLC_CODEC_RGBA16
,
0
},
PACKED_FMT
(
2
,
16
)
},
{
{
VLC_CODEC_RGB24
,
0
},
PACKED_FMT
(
3
,
24
)
},
{
{
VLC_CODEC_RGB32
,
0
},
PACKED_FMT
(
4
,
24
)
},
{
{
VLC_CODEC_RGBA
,
VLC_CODEC_ARGB
,
0
},
PACKED_FMT
(
4
,
32
)
},
{
{
VLC_CODEC_RGBA
,
VLC_CODEC_ARGB
,
VLC_CODEC_BGRA
,
0
},
PACKED_FMT
(
4
,
32
)
},
{
{
VLC_CODEC_Y211
,
0
},
{
1
,
{
{{
1
,
4
},
{
1
,
1
}}
},
4
,
32
}
},
{
{
VLC_CODEC_XYZ12
,
0
},
PACKED_FMT
(
6
,
48
)
},
...
...
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