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
e73768a8
Commit
e73768a8
authored
Mar 10, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/video_output/vout_pictures.c: declaration of FOURCC_RV24, courtesy of Olivier Aubert.
parent
213725df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+13
-1
No files found.
src/video_output/vout_pictures.c
View file @
e73768a8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vout_pictures.c : picture management functions
* vout_pictures.c : picture management functions
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* Copyright (C) 2000 VideoLAN
* $Id: vout_pictures.c,v 1.3
4 2003/01/22 10:44:50 fenrir
Exp $
* $Id: vout_pictures.c,v 1.3
5 2003/03/10 18:26:33 gbazin
Exp $
*
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -529,6 +529,18 @@ void vout_AllocatePicture( vout_thread_t *p_vout, picture_t *p_pic,
...
@@ -529,6 +529,18 @@ void vout_AllocatePicture( vout_thread_t *p_vout, picture_t *p_pic,
p_pic
->
i_planes
=
1
;
p_pic
->
i_planes
=
1
;
break
;
break
;
case
FOURCC_RV24
:
p_pic
->
p
->
i_lines
=
i_height
;
p_pic
->
p
->
i_pitch
=
i_width
*
3
;
p_pic
->
p
->
i_visible_pitch
=
p_pic
->
p
->
i_pitch
;
p_pic
->
p
->
i_pixel_pitch
=
3
;
/* 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
->
i_planes
=
1
;
break
;
case
FOURCC_RV32
:
case
FOURCC_RV32
:
p_pic
->
p
->
i_lines
=
i_height
;
p_pic
->
p
->
i_lines
=
i_height
;
p_pic
->
p
->
i_pitch
=
i_width
*
4
;
p_pic
->
p
->
i_pitch
=
i_width
*
4
;
...
...
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