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
cca85323
Commit
cca85323
authored
Nov 05, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fourcc: add ARGB for 32-bits RGBA with X11/BD components order
parent
a1be7cf3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
2 deletions
+9
-2
include/vlc_fourcc.h
include/vlc_fourcc.h
+2
-0
modules/codec/rawvideo.c
modules/codec/rawvideo.c
+1
-0
modules/stream_out/smem.c
modules/stream_out/smem.c
+1
-0
modules/video_filter/invert.c
modules/video_filter/invert.c
+1
-1
src/misc/es_format.c
src/misc/es_format.c
+1
-0
src/misc/fourcc.c
src/misc/fourcc.c
+3
-1
No files found.
include/vlc_fourcc.h
View file @
cca85323
...
@@ -207,6 +207,8 @@
...
@@ -207,6 +207,8 @@
#define VLC_CODEC_RGB32 VLC_FOURCC('R','V','3','2')
#define VLC_CODEC_RGB32 VLC_FOURCC('R','V','3','2')
/* 32 bits RGBA */
/* 32 bits RGBA */
#define VLC_CODEC_RGBA VLC_FOURCC('R','G','B','A')
#define VLC_CODEC_RGBA VLC_FOURCC('R','G','B','A')
/* 32 bits ARGB */
#define VLC_CODEC_ARGB VLC_FOURCC('A','R','G','B')
/* 8 bits grey */
/* 8 bits grey */
#define VLC_CODEC_GREY VLC_FOURCC('G','R','E','Y')
#define VLC_CODEC_GREY VLC_FOURCC('G','R','E','Y')
/* Packed YUV 4:2:2, U:Y:V:Y */
/* Packed YUV 4:2:2, U:Y:V:Y */
...
...
modules/codec/rawvideo.c
View file @
cca85323
...
@@ -125,6 +125,7 @@ static int OpenDecoder( vlc_object_t *p_this )
...
@@ -125,6 +125,7 @@ static int OpenDecoder( vlc_object_t *p_this )
case
VLC_CODEC_RGB8
:
case
VLC_CODEC_RGB8
:
case
VLC_CODEC_RGBP
:
case
VLC_CODEC_RGBP
:
case
VLC_CODEC_RGBA
:
case
VLC_CODEC_RGBA
:
case
VLC_CODEC_ARGB
:
break
;
break
;
default:
default:
...
...
modules/stream_out/smem.c
View file @
cca85323
...
@@ -227,6 +227,7 @@ static sout_stream_id_t *AddVideo( sout_stream_t *p_stream, es_format_t *p_fmt )
...
@@ -227,6 +227,7 @@ static sout_stream_id_t *AddVideo( sout_stream_t *p_stream, es_format_t *p_fmt )
{
{
case
VLC_CODEC_RGB32
:
case
VLC_CODEC_RGB32
:
case
VLC_CODEC_RGBA
:
case
VLC_CODEC_RGBA
:
case
VLC_CODEC_ARGB
:
i_bits_per_pixel
=
32
;
i_bits_per_pixel
=
32
;
break
;
break
;
case
VLC_CODEC_I444
:
case
VLC_CODEC_I444
:
...
...
modules/video_filter/invert.c
View file @
cca85323
...
@@ -67,7 +67,7 @@ static int Create( vlc_object_t *p_this )
...
@@ -67,7 +67,7 @@ static int Create( vlc_object_t *p_this )
vlc_fourcc_t
fourcc
=
p_filter
->
fmt_in
.
video
.
i_chroma
;
vlc_fourcc_t
fourcc
=
p_filter
->
fmt_in
.
video
.
i_chroma
;
if
(
fourcc
==
VLC_CODEC_YUVP
||
fourcc
==
VLC_CODEC_RGBP
if
(
fourcc
==
VLC_CODEC_YUVP
||
fourcc
==
VLC_CODEC_RGBP
||
fourcc
==
VLC_CODEC_RGBA
)
||
fourcc
==
VLC_CODEC_RGBA
||
fourcc
==
VLC_CODEC_ARGB
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
const
vlc_chroma_description_t
*
p_chroma
=
const
vlc_chroma_description_t
*
p_chroma
=
...
...
src/misc/es_format.c
View file @
cca85323
...
@@ -188,6 +188,7 @@ void video_format_Setup( video_format_t *p_fmt, vlc_fourcc_t i_chroma,
...
@@ -188,6 +188,7 @@ void video_format_Setup( video_format_t *p_fmt, vlc_fourcc_t i_chroma,
case
VLC_CODEC_RGB32
:
case
VLC_CODEC_RGB32
:
case
VLC_CODEC_RGBA
:
case
VLC_CODEC_RGBA
:
case
VLC_CODEC_ARGB
:
p_fmt
->
i_bits_per_pixel
=
32
;
p_fmt
->
i_bits_per_pixel
=
32
;
break
;
break
;
case
VLC_CODEC_RGB24
:
case
VLC_CODEC_RGB24
:
...
...
src/misc/fourcc.c
View file @
cca85323
...
@@ -780,6 +780,8 @@ static const staticentry_t p_list_video[] = {
...
@@ -780,6 +780,8 @@ static const staticentry_t p_list_video[] = {
A
(
"RV32"
),
A
(
"RV32"
),
B
(
VLC_CODEC_RGBA
,
"32 bits RGBA"
),
B
(
VLC_CODEC_RGBA
,
"32 bits RGBA"
),
A
(
"RGBA"
),
A
(
"RGBA"
),
B
(
VLC_CODEC_RGBA
,
"32 bits ARGB"
),
A
(
"ARGB"
),
A
(
"AV32"
),
A
(
"AV32"
),
B
(
VLC_CODEC_GREY
,
"8 bits greyscale"
),
B
(
VLC_CODEC_GREY
,
"8 bits greyscale"
),
...
@@ -1987,7 +1989,7 @@ static const struct
...
@@ -1987,7 +1989,7 @@ static const struct
VLC_CODEC_RGBA16
,
0
},
PACKED_FMT
(
2
,
16
)
},
VLC_CODEC_RGBA16
,
0
},
PACKED_FMT
(
2
,
16
)
},
{
{
VLC_CODEC_RGB24
,
0
},
PACKED_FMT
(
3
,
24
)
},
{
{
VLC_CODEC_RGB24
,
0
},
PACKED_FMT
(
3
,
24
)
},
{
{
VLC_CODEC_RGB32
,
0
},
PACKED_FMT
(
4
,
24
)
},
{
{
VLC_CODEC_RGB32
,
0
},
PACKED_FMT
(
4
,
24
)
},
{
{
VLC_CODEC_RGBA
,
0
},
PACKED_FMT
(
4
,
32
)
},
{
{
VLC_CODEC_RGBA
,
VLC_CODEC_ARGB
,
0
},
PACKED_FMT
(
4
,
32
)
},
{
{
VLC_CODEC_Y211
,
0
},
{
1
,
{
{{
1
,
4
},
{
1
,
1
}}
},
4
,
32
}
},
{
{
VLC_CODEC_Y211
,
0
},
{
1
,
{
{{
1
,
4
},
{
1
,
1
}}
},
4
,
32
}
},
{
{
VLC_CODEC_XYZ12
,
0
},
PACKED_FMT
(
6
,
48
)
},
{
{
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