Lines Matching refs:image

65     fn generic_imageblit(&self, image: &FbImage) {  in generic_imageblit()
67 let x = image.x; in generic_imageblit()
68 let y = image.y; in generic_imageblit()
85 image, in generic_imageblit()
89 if image.depth == 1 { in generic_imageblit()
96 fg = fb_info_data.pesudo_palette[image.fg as usize]; in generic_imageblit()
97 bg = fb_info_data.pesudo_palette[image.bg as usize]; in generic_imageblit()
99 fg = image.fg; in generic_imageblit()
100 bg = image.bg; in generic_imageblit()
106 && image.width & (32 / bit_per_pixel - 1) == 0 in generic_imageblit()
109 unsafe { self.fast_imageblit(image, &mut safe_pointer, fg, bg) } in generic_imageblit()
111 self.slow_imageblit(image, &mut safe_pointer, fg, bg) in generic_imageblit()
124 unsafe fn fast_imageblit(&self, image: &FbImage, dst1: &mut FrameP, fg: u32, bg: u32) { in fast_imageblit()
129 let spitch = (image.width + 7) / 8; in fast_imageblit()
150 let k = image.width / ppw; in fast_imageblit()
161 for _ in (0..image.height).rev() { in fast_imageblit()
169 dst1.write(color_tab[(image.data[src] as usize >> 4) & bitmask]); in fast_imageblit()
170 dst1.write(color_tab[(image.data[src] as usize) & bitmask]); in fast_imageblit()
179 dst1.write(color_tab[(image.data[src] as usize >> 6) & bitmask]); in fast_imageblit()
180 dst1.write(color_tab[(image.data[src] as usize >> 4) & bitmask]); in fast_imageblit()
181 dst1.write(color_tab[(image.data[src] as usize >> 2) & bitmask]); in fast_imageblit()
182 dst1.write(color_tab[(image.data[src] as usize) & bitmask]); in fast_imageblit()
191 dst1.write(color_tab[(image.data[src] as usize >> 7) & bitmask]); in fast_imageblit()
192 dst1.write(color_tab[(image.data[src] as usize >> 6) & bitmask]); in fast_imageblit()
193 dst1.write(color_tab[(image.data[src] as usize >> 5) & bitmask]); in fast_imageblit()
194 dst1.write(color_tab[(image.data[src] as usize >> 4) & bitmask]); in fast_imageblit()
195 dst1.write(color_tab[(image.data[src] as usize >> 3) & bitmask]); in fast_imageblit()
196 dst1.write(color_tab[(image.data[src] as usize >> 2) & bitmask]); in fast_imageblit()
197 dst1.write(color_tab[(image.data[src] as usize >> 1) & bitmask]); in fast_imageblit()
198 dst1.write(color_tab[(image.data[src] as usize) & bitmask]); in fast_imageblit()
213 dst1.write(color_tab[(image.data[src] as usize >> shift) & bitmask]); in fast_imageblit()
415 let mut image = cursor.image.clone(); in soft_cursor() localVariable
419 for i in 0..image.data.len() { in soft_cursor()
420 image.data[i] ^= cursor.mask[i]; in soft_cursor()
424 for i in 0..image.data.len() { in soft_cursor()
425 image.data[i] &= cursor.mask[i]; in soft_cursor()
431 self.fb_image_blit(&image); in soft_cursor()
441 fn fb_image_blit(&self, image: &FbImage); in fb_image_blit()
1183 pub image: FbImage, field