aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2006-07-21 15:33:30 +0000
committerN.N. <matju@users.sourceforge.net>2006-07-21 15:33:30 +0000
commit033e9376d9e39004fb1d1d1383e8f70045dd42ed (patch)
tree187389b5d6102497c04aede37486d66165d70293 /system
parent1c28f203a96d6c8305a431879ab676676d39d045 (diff)
fixed storage-class to make gcc happy
svn path=/trunk/externals/pdp/; revision=5392
Diffstat (limited to 'system')
-rw-r--r--system/type/pdp_bitmap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/type/pdp_bitmap.c b/system/type/pdp_bitmap.c
index b3e3e07..8a30d3e 100644
--- a/system/type/pdp_bitmap.c
+++ b/system/type/pdp_bitmap.c
@@ -463,6 +463,11 @@ static int _pdp_packet_bitmap_convert_yv12_to_image(int packet, t_pdp_symbol *de
return new_p;
}
+static inline u8 _map(s32 pixel){
+ s32 mask = ~(pixel>>16);
+ return ((pixel >> 7) & mask);
+}
+
static int _pdp_packet_bitmap_convert_mchp_to_rgb8(int packet, t_pdp_symbol *dest_template)
{
t_pdp *header = pdp_packet_header(packet);
@@ -475,11 +480,6 @@ static int _pdp_packet_bitmap_convert_mchp_to_rgb8(int packet, t_pdp_symbol *des
int nb_channels = image->depth;
int new_p, i;
- static inline u8 _map(s32 pixel){
- s32 mask = ~(pixel>>16);
- return ((pixel >> 7) & mask);
- }
-
switch(nb_channels){
default: return -1;
case 1: