… | |
… | |
75 | else |
75 | else |
76 | return res; |
76 | return res; |
77 | } |
77 | } |
78 | |
78 | |
79 | static int decode_byte(int lev, psiconv_u32 off, |
79 | static int decode_byte(int lev, psiconv_u32 off, |
80 | psiconv_paint_data_section data, int *pixelnr, |
80 | psiconv_paint_data_section data, psiconv_u32 *pixelnr, |
81 | psiconv_u8 byte, int bits_per_pixel, int linelen, |
81 | psiconv_u8 byte, int bits_per_pixel, int linelen, |
82 | int *linepos,int picsize) |
82 | int *linepos,int picsize) |
83 | { |
83 | { |
84 | int mask = (bits_per_pixel << 1) -1; |
84 | int mask = (bits_per_pixel << 1) -1; |
85 | int i; |
85 | int i; |