Home
last modified time | relevance | path

Searched refs:bit_per_pixel (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/
Dmod.rs66 let bit_per_pixel = self.current_fb_var().bits_per_pixel; in generic_imageblit() localVariable
69 let mut bitstart = (y * self.current_fb_fix().line_length * 8) + (x * bit_per_pixel); in generic_imageblit()
101 if 32 % bit_per_pixel == 0 in generic_imageblit()
104 && image.width & (32 / bit_per_pixel - 1) == 0 in generic_imageblit()
105 && bit_per_pixel >= 8 in generic_imageblit()
106 && bit_per_pixel <= 32 in generic_imageblit()