From 033e9376d9e39004fb1d1d1383e8f70045dd42ed Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 21 Jul 2006 15:33:30 +0000 Subject: fixed storage-class to make gcc happy svn path=/trunk/externals/pdp/; revision=5392 --- system/type/pdp_bitmap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'system') 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: -- cgit v1.2.1