Lines Matching refs:shift
878 uint8_t shift = 0; in decode_alpha_only() local
889 uint8_t value = ((*in >> shift) & mask); in decode_alpha_only()
891 shift += bpp; in decode_alpha_only()
892 if(shift >= 8) { in decode_alpha_only()
893 shift = 0; in decode_alpha_only()
1029 int8_t shift = 0; in decode_indexed_line() local
1034 shift = 7 - (x & 0x7); in decode_indexed_line()
1039 shift = 6 - 2 * (x & 0x3); in decode_indexed_line()
1044 shift = 4 - 4 * (x & 0x1); in decode_indexed_line()
1049 shift = 0; in decode_indexed_line()
1059 uint8_t val_act = (*in >> shift) & mask; in decode_indexed_line()
1062 shift -= px_size; in decode_indexed_line()
1063 if(shift < 0) { in decode_indexed_line()
1064 shift = 8 - px_size; in decode_indexed_line()