[vlc-devel] Patch: declaration of FOURCC_RV24

Olivier Aubert oaubert at bat710.univ-lyon1.fr
Mon Mar 10 18:08:54 CET 2003


Hello.

Here is a patch against the current CVS: functions are defined
everywhere to deal with RGB24 conversion, but it is not declared in
vout_pictures.c

Bonus question : does anybody else have a problem with the RGB32 or
RGB24 conversion ? It seems to convert only the red component of the
data, setting the two other components to 0.

Bye
Olivier


--- vlc-0.5.0/src/video_output/vout_pictures.c  2003-03-10 17:29:06.000000000 +0100
+++ vlc-cvs/src/video_output/vout_pictures.c    2003-01-22 11:44:50.000000000 +0100
@@ -529,18 +529,6 @@
             p_pic->i_planes = 1;
             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:
             p_pic->p->i_lines = i_height;
             p_pic->p->i_pitch = i_width * 4;


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list