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
82a1a7a0
Commit
82a1a7a0
authored
Mar 22, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename macro to avoid confusion
parent
9914cd55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/misc/fourcc.c
src/misc/fourcc.c
+7
-7
No files found.
src/misc/fourcc.c
View file @
82a1a7a0
...
@@ -1611,7 +1611,7 @@ bool vlc_fourcc_IsYUV(vlc_fourcc_t fcc)
...
@@ -1611,7 +1611,7 @@ bool vlc_fourcc_IsYUV(vlc_fourcc_t fcc)
{.w = {1, 1}, .h = {1, 1}} }, \
{.w = {1, 1}, .h = {1, 1}} }, \
.pixel_size = 1 }
.pixel_size = 1 }
#define PACKED(size) \
#define PACKED
_FMT
(size) \
{ .plane_count = 1, \
{ .plane_count = 1, \
.p = { {.w = {1,1}, .h = {1,1}} }, \
.p = { {.w = {1,1}, .h = {1,1}} }, \
.pixel_size = size }
.pixel_size = size }
...
@@ -1629,20 +1629,20 @@ static const struct
...
@@ -1629,20 +1629,20 @@ static const struct
{
{
VLC_CODEC_YUV_PLANAR_444
,
0
},
PLANAR
(
3
,
1
,
1
)
},
{
{
VLC_CODEC_YUV_PLANAR_444
,
0
},
PLANAR
(
3
,
1
,
1
)
},
{
{
VLC_CODEC_YUVA
,
0
},
PLANAR
(
4
,
1
,
1
)
},
{
{
VLC_CODEC_YUVA
,
0
},
PLANAR
(
4
,
1
,
1
)
},
{
{
VLC_CODEC_YUV_PACKED
,
0
},
PACKED
(
2
)
},
{
{
VLC_CODEC_YUV_PACKED
,
0
},
PACKED
_FMT
(
2
)
},
{
{
VLC_CODEC_RGB8
,
VLC_CODEC_GREY
,
{
{
VLC_CODEC_RGB8
,
VLC_CODEC_GREY
,
VLC_CODEC_YUVP
,
VLC_CODEC_RGBP
,
0
},
PACKED
(
1
)
},
VLC_CODEC_YUVP
,
VLC_CODEC_RGBP
,
0
},
PACKED
_FMT
(
1
)
},
{
{
VLC_CODEC_RGB16
,
VLC_CODEC_RGB15
,
{
{
VLC_CODEC_RGB16
,
VLC_CODEC_RGB15
,
VLC_CODEC_RGB12
,
VLC_CODEC_RGBA16
,
0
},
PACKED
(
2
)
},
VLC_CODEC_RGB12
,
VLC_CODEC_RGBA16
,
0
},
PACKED
_FMT
(
2
)
},
{
{
VLC_CODEC_RGB24
,
0
},
PACKED
(
3
)
},
{
{
VLC_CODEC_RGB24
,
0
},
PACKED
_FMT
(
3
)
},
{
{
VLC_CODEC_RGB32
,
VLC_CODEC_RGBA
,
0
},
PACKED
(
4
)
},
{
{
VLC_CODEC_RGB32
,
VLC_CODEC_RGBA
,
0
},
PACKED
_FMT
(
4
)
},
{
{
VLC_CODEC_Y211
,
0
},
{
1
,
{
{{
1
,
4
},
{
1
,
1
}}
},
4
}
},
{
{
VLC_CODEC_Y211
,
0
},
{
1
,
{
{{
1
,
4
},
{
1
,
1
}}
},
4
}
},
{
{
0
},
{
0
,
{},
0
}
}
{
{
0
},
{
0
,
{},
0
}
}
};
};
#undef PACKED
#undef PACKED
_FMT
#undef PLANAR
#undef PLANAR
const
vlc_chroma_description_t
*
vlc_fourcc_GetChromaDescription
(
vlc_fourcc_t
i_fourcc
)
const
vlc_chroma_description_t
*
vlc_fourcc_GetChromaDescription
(
vlc_fourcc_t
i_fourcc
)
...
...
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