Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e536ea5c
Commit
e536ea5c
authored
Feb 04, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Use UYVY fourcc instead of Y422, since i believe it's more common.
parent
638acbf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/video_output/opengl.c
modules/video_output/opengl.c
+2
-2
No files found.
modules/video_output/opengl.c
View file @
e536ea5c
...
@@ -269,12 +269,12 @@ static int Init( vout_thread_t *p_vout )
...
@@ -269,12 +269,12 @@ static int Init( vout_thread_t *p_vout )
p_sys
->
p_vout
->
pf_init
(
p_sys
->
p_vout
);
p_sys
->
p_vout
->
pf_init
(
p_sys
->
p_vout
);
/* TODO: We use YCbCr on Mac which is Y422, but on OSX it seems to == YUY2. Verify */
/* TODO: We use YCbCr on Mac which is Y422, but on OSX it seems to == YUY2. Verify */
#if
defined( __ppc__ ) || defined( __ppc64__
) || (VLCGL_FORMAT == YCBCR_MESA)
#if
( defined( WORDS_BIGENDIAN ) && VLCGL_FORMAT == GL_YCBCR_422_APPLE
) || (VLCGL_FORMAT == YCBCR_MESA)
p_vout
->
output
.
i_chroma
=
VLC_FOURCC
(
'Y'
,
'U'
,
'Y'
,
'2'
);
p_vout
->
output
.
i_chroma
=
VLC_FOURCC
(
'Y'
,
'U'
,
'Y'
,
'2'
);
i_pixel_pitch
=
2
;
i_pixel_pitch
=
2
;
#elif (VLCGL_FORMAT == GL_YCBCR_422_APPLE)
#elif (VLCGL_FORMAT == GL_YCBCR_422_APPLE)
p_vout
->
output
.
i_chroma
=
VLC_FOURCC
(
'
Y'
,
'4'
,
'2'
,
'2
'
);
p_vout
->
output
.
i_chroma
=
VLC_FOURCC
(
'
U'
,
'Y'
,
'V'
,
'Y
'
);
i_pixel_pitch
=
2
;
i_pixel_pitch
=
2
;
#elif VLCGL_FORMAT == GL_RGB
#elif VLCGL_FORMAT == GL_RGB
...
...
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