logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

bagder: apps/plugins jpeg.c,1.6,1.7: msg#00051

Subject: bagder: apps/plugins jpeg.c,1.6,1.7
Update of /cvsroot/rockbox/apps/plugins
In directory labb.contactor.se:/var/tmp/cvs-serv29823

Modified Files:
        jpeg.c 
Log Message:
o removed the grayscale framework, it gets linked in from the libplugin instead
o use the grayscale.h header
o killed trailing whitespace


Index: jpeg.c
===================================================================
RCS file: /cvsroot/rockbox/apps/plugins/jpeg.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- jpeg.c      18 May 2004 07:16:41 -0000      1.6
+++ jpeg.c      19 May 2004 08:05:58 -0000      1.7
@@ -27,1591 +27,12 @@
 #include "plugin.h"
 
 #ifdef HAVE_LCD_BITMAP /* and also not for the Player */
+#include "grayscale.h"
 
 /******************************* Globals ***********************************/
 
 static struct plugin_api* rb;
 
-/*********************** Begin grayscale framework *************************/
-
[...1561 lines suppressed...]
-                col += stride;
-            }
-
-            if (bits & 0x01)
-                graypixel(xi, y + dy, fg_pattern);
-            else
-                if (draw_bg)
-                    graypixel(xi, y + dy, bg_pattern);
-
-            bits >>= 1;
-        }
-    }
-}
-
-/*********************** end grayscale framework ***************************/
-
-
 /* for portability of below JPEG code */
 #define MEMSET(p,v,c) rb->memset(p,v,c)
 #define INLINE static inline

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>