pike.git / src / post_modules / GTK2 / source / encode_truecolor.c

version» Context lines:

pike.git/src/post_modules/GTK2/source/encode_truecolor.c:356:    x-=2;    }    break;    case 1:    while (x--) {*(d)=swap_bits[*d]; d++; }    break;    }    }   }    - static INLINE void examine_mask(unsigned int x, int *bits,int *shift) + static inline void examine_mask(unsigned int x, int *bits,int *shift)   {    *bits=0;    *shift=0;    if (!x) return;    while (!(x&1)) x>>=1,(*shift)++;    while (x&1) x>>=1,(*bits)++;   }      void pgtk2_encode_grey(struct image *i, unsigned char *dest, int bpp, int bpl )   {