Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/video/fbdev/base/
H A Drender_helper.rs290 let mut bitstart = (y * line_length * 8) + (x * bitdepth); in start_offset() localVariable
293 bitstart /= 8; in start_offset()
296 bitstart &= !(byte_per_pixel - 1); in start_offset()
297 return bitstart; in start_offset()
H A Dmod.rs73 let bitstart = (y * self.current_fb_fix().line_length * 8) + (x * bit_per_pixel); in generic_imageblit() localVariable
74 let start_index = bitstart & (32 - 1); in generic_imageblit()