Searched refs:bitstart (Results 1 – 2 of 2) sorted by relevance
290 let mut bitstart = (y * line_length * 8) + (x * bitdepth); in start_offset() localVariable293 bitstart /= 8; in start_offset()296 bitstart &= !(byte_per_pixel - 1); in start_offset()297 return bitstart; in start_offset()
73 let bitstart = (y * self.current_fb_fix().line_length * 8) + (x * bit_per_pixel); in generic_imageblit() localVariable74 let start_index = bitstart & (32 - 1); in generic_imageblit()