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
287ccf14
Commit
287ccf14
authored
May 08, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added VLC_CODEC_NV12 to vlc_fourcc.h.
parent
e7631379
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
include/vlc_fourcc.h
include/vlc_fourcc.h
+2
-0
modules/codec/avcodec/dxva2.c
modules/codec/avcodec/dxva2.c
+0
-1
src/misc/fourcc.c
src/misc/fourcc.c
+3
-0
No files found.
include/vlc_fourcc.h
View file @
287ccf14
...
@@ -173,6 +173,8 @@
...
@@ -173,6 +173,8 @@
#define VLC_CODEC_CYUV VLC_FOURCC('c','y','u','v')
#define VLC_CODEC_CYUV VLC_FOURCC('c','y','u','v')
/* 10-bit 4:2:2 Component YCbCr */
/* 10-bit 4:2:2 Component YCbCr */
#define VLC_CODEC_V210 VLC_FOURCC('v','2','1','0')
#define VLC_CODEC_V210 VLC_FOURCC('v','2','1','0')
/* Planar Y Packet UV (420) */
#define VLC_CODEC_NV12 VLC_FOURCC('N','V','1','2')
/* Image codec (video) */
/* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
...
...
modules/codec/avcodec/dxva2.c
View file @
287ccf14
...
@@ -180,7 +180,6 @@ static const dxva2_mode_t *Dxva2FindMode(const GUID *guid)
...
@@ -180,7 +180,6 @@ static const dxva2_mode_t *Dxva2FindMode(const GUID *guid)
}
}
/* */
/* */
#define VLC_CODEC_NV12 VLC_FOURCC('N','V','1','2')
/* TODO move to vlc_fourcc.h */
typedef
struct
{
typedef
struct
{
const
char
*
name
;
const
char
*
name
;
D3DFORMAT
format
;
D3DFORMAT
format
;
...
...
src/misc/fourcc.c
View file @
287ccf14
...
@@ -700,6 +700,9 @@ static const entry_t p_list_video[] = {
...
@@ -700,6 +700,9 @@ static const entry_t p_list_video[] = {
B
(
VLC_CODEC_V210
,
"10-bit 4:2:2 Component YCbCr"
),
B
(
VLC_CODEC_V210
,
"10-bit 4:2:2 Component YCbCr"
),
A
(
"v210"
),
A
(
"v210"
),
B
(
VLC_CODEC_NV12
,
"Planar Y, Packet UV (420)"
),
A
(
"NV12"
),
/* Videogames Codecs */
/* Videogames Codecs */
/* Interplay MVE */
/* Interplay MVE */
...
...
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