Searched refs:bit_shift (Results 1 – 1 of 1) sorted by relevance
147 size_t bit_shift = 7 - bit_index; // Amount to right shift to get bit in LSB in bmp_write_bit() local148 buf[byte_index] = (buf[byte_index] & ~(1 << bit_shift)) | (bit << bit_shift); in bmp_write_bit()