Searched refs:bit_shifts (Results 1 – 1 of 1) sorted by relevance
754 uint8_t bit_shifts[8]; in bmp_decode_rgb() local760 bit_shifts[i] = 8 - ((i + 1) * bmp->bpp); in bmp_decode_rgb()774 uint32_t idx = (*data >> bit_shifts[0]) & bit_mask; in bmp_decode_rgb()794 idx = (cur_byte >> bit_shifts[bit++]) & bit_mask; in bmp_decode_rgb()