Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
778c00c7
Commit
778c00c7
authored
May 20, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./src/video_output/vout_pictures.c: workaround for a bug in the dummy vout.
parent
ebf2982e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+7
-4
No files found.
src/video_output/vout_pictures.c
View file @
778c00c7
...
...
@@ -2,7 +2,7 @@
* vout_pictures.c : picture management functions
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* $Id: vout_pictures.c,v 1.2
4 2002/05/20 19:02:22
sam Exp $
* $Id: vout_pictures.c,v 1.2
5 2002/05/20 19:34:58
sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -489,9 +489,10 @@ void vout_AllocatePicture( picture_t *p_pic,
p_pic
->
p
->
i_pitch
=
i_width
*
2
;
p_pic
->
p
->
i_visible_bytes
=
p_pic
->
p
->
i_pitch
;
p_pic
->
p
->
i_pixel_bytes
=
2
;
/* FIXME: p_heap isn't always reachable
p_pic->p_heap->i_rmask = 0x001f;
p_pic->p_heap->i_gmask = 0x03e0;
p_pic
->
p_heap
->
i_bmask
=
0x7c00
;
p_pic->p_heap->i_bmask = 0x7c00;
*/
p_pic
->
i_planes
=
1
;
break
;
...
...
@@ -500,9 +501,10 @@ void vout_AllocatePicture( picture_t *p_pic,
p_pic
->
p
->
i_pitch
=
i_width
*
2
;
p_pic
->
p
->
i_visible_bytes
=
p_pic
->
p
->
i_pitch
;
p_pic
->
p
->
i_pixel_bytes
=
2
;
/* FIXME: p_heap isn't always reachable
p_pic->p_heap->i_rmask = 0x001f;
p_pic->p_heap->i_gmask = 0x07e0;
p_pic
->
p_heap
->
i_bmask
=
0xf800
;
p_pic->p_heap->i_bmask = 0xf800;
*/
p_pic
->
i_planes
=
1
;
break
;
...
...
@@ -511,9 +513,10 @@ void vout_AllocatePicture( picture_t *p_pic,
p_pic
->
p
->
i_pitch
=
i_width
*
4
;
p_pic
->
p
->
i_visible_bytes
=
p_pic
->
p
->
i_pitch
;
p_pic
->
p
->
i_pixel_bytes
=
4
;
/* FIXME: p_heap isn't always reachable
p_pic->p_heap->i_rmask = 0xff0000;
p_pic->p_heap->i_gmask = 0x00ff00;
p_pic
->
p_heap
->
i_bmask
=
0x0000ff
;
p_pic->p_heap->i_bmask = 0x0000ff;
*/
p_pic
->
i_planes
=
1
;
break
;
...
...
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