Searched refs:bitmask (Results 1 – 1 of 1) sorted by relevance
156 let bitmask = (1 << ppw) - 1; in fast_imageblit() localVariable178 *dst = color_tab[(image.data[src] as usize >> 4) & bitmask]; in fast_imageblit()180 *dst = color_tab[(image.data[src] as usize) & bitmask]; in fast_imageblit()190 *dst = color_tab[(image.data[src] as usize >> 6) & bitmask]; in fast_imageblit()192 *dst = color_tab[(image.data[src] as usize >> 4) & bitmask]; in fast_imageblit()194 *dst = color_tab[(image.data[src] as usize >> 2) & bitmask]; in fast_imageblit()196 *dst = color_tab[(image.data[src] as usize) & bitmask]; in fast_imageblit()206 *dst = color_tab[(image.data[src] as usize >> 7) & bitmask]; in fast_imageblit()208 *dst = color_tab[(image.data[src] as usize >> 6) & bitmask]; in fast_imageblit()210 *dst = color_tab[(image.data[src] as usize >> 5) & bitmask]; in fast_imageblit()[all …]