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
31e2279b
Commit
31e2279b
authored
Feb 18, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add YUV 4:4:4 16-bit
10 bits should be enough for everyone
parent
aec33d68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
include/vlc_fourcc.h
include/vlc_fourcc.h
+3
-0
src/misc/fourcc.c
src/misc/fourcc.c
+19
-1
No files found.
include/vlc_fourcc.h
View file @
31e2279b
...
...
@@ -183,6 +183,9 @@
/* Planar YUV 4:4:4 Y:U:V 10-bit stored on 16 bits */
#define VLC_CODEC_I444_10L VLC_FOURCC('I','4','A','L')
#define VLC_CODEC_I444_10B VLC_FOURCC('I','4','A','B')
/* Planar YUV 4:4:4 Y:U:V 16-bit */
#define VLC_CODEC_I444_16L VLC_FOURCC('I','4','F','L')
#define VLC_CODEC_I444_16B VLC_FOURCC('I','4','F','B')
/* Planar YUV 4:2:0 Y:U:V full scale */
#define VLC_CODEC_J420 VLC_FOURCC('J','4','2','0')
/* Planar YUV 4:2:2 Y:U:V full scale */
...
...
src/misc/fourcc.c
View file @
31e2279b
...
...
@@ -870,6 +870,12 @@ static const staticentry_t p_list_video[] = {
B
(
VLC_CODEC_I444_10B
,
"Planar 4:4:4 YUV 10-bit BE"
),
A
(
"I4AB"
),
B
(
VLC_CODEC_I444_16L
,
"Planar 4:4:4 YUV 16-bit LE"
),
A
(
"I4FL"
),
B
(
VLC_CODEC_I444_16B
,
"Planar 4:4:4 YUV 16-bit BE"
),
A
(
"I4FB"
),
/* XYZ color space */
B
(
VLC_CODEC_XYZ12
,
"Packed XYZ 12-bit BE"
),
A
(
"XY12"
),
...
...
@@ -1680,7 +1686,8 @@ const char *vlc_fourcc_GetDescription( int i_cat, vlc_fourcc_t i_fourcc )
VLC_CODEC_NV24, VLC_CODEC_NV42
#define VLC_CODEC_YUV_PLANAR_444_16 \
VLC_CODEC_I444_10L, VLC_CODEC_I444_10B, VLC_CODEC_I444_9L, VLC_CODEC_I444_9B
VLC_CODEC_I444_10L, VLC_CODEC_I444_10B, VLC_CODEC_I444_9L, VLC_CODEC_I444_9B, \
VLC_CODEC_I444_16L, VLC_CODEC_I444_16B
#define VLC_CODEC_YUV_PACKED \
VLC_CODEC_YUYV, VLC_CODEC_YVYU, \
...
...
@@ -1772,6 +1779,13 @@ static const vlc_fourcc_t p_I444_10L_fallback[] = {
static
const
vlc_fourcc_t
p_I444_10B_fallback
[]
=
{
VLC_CODEC_I444_10B
,
VLC_CODEC_I444_10L
,
VLC_CODEC_FALLBACK_444_16
,
0
};
static
const
vlc_fourcc_t
p_I444_16L_fallback
[]
=
{
VLC_CODEC_I444_16L
,
VLC_CODEC_I444_16B
,
VLC_CODEC_FALLBACK_444_16
,
0
};
static
const
vlc_fourcc_t
p_I444_16B_fallback
[]
=
{
VLC_CODEC_I444_16B
,
VLC_CODEC_I444_16L
,
VLC_CODEC_FALLBACK_444_16
,
0
};
static
const
vlc_fourcc_t
p_I440_fallback
[]
=
{
VLC_CODEC_I440
,
...
...
@@ -1836,6 +1850,8 @@ static const vlc_fourcc_t *pp_YUV_fallback[] = {
p_I444_9B_fallback
,
p_I444_10L_fallback
,
p_I444_10B_fallback
,
p_I444_16L_fallback
,
p_I444_16B_fallback
,
p_I440_fallback
,
p_YUYV_fallback
,
p_YVYU_fallback
,
...
...
@@ -2029,6 +2045,8 @@ static const struct
VLC_CODEC_I444_10B
,
0
},
PLANAR_16
(
3
,
1
,
1
,
10
)
},
{
{
VLC_CODEC_I444_9L
,
VLC_CODEC_I444_9B
,
0
},
PLANAR_16
(
3
,
1
,
1
,
9
)
},
{
{
VLC_CODEC_I444_16L
,
VLC_CODEC_I444_16B
,
0
},
PLANAR_16
(
3
,
1
,
1
,
16
)
},
{
{
VLC_CODEC_YUV_PACKED
,
0
},
PACKED_FMT
(
2
,
16
)
},
{
{
VLC_CODEC_RGB8
,
VLC_CODEC_GREY
,
...
...
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