Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/media/video/
Dvino.c248 static int bytes_per_pixel(struct vino_device *v) in bytes_per_pixel() function
307 lsize = (bytes_per_pixel(v) * w / d) & ~7; in set_clipping()
308 w = lsize * d / bytes_per_pixel(v); in set_clipping()
341 lsize = (bytes_per_pixel(v) * w) & ~7; in set_scaling()
342 w = lsize * d / bytes_per_pixel(v); in set_scaling()
/linux-2.4.37.9/drivers/video/
Dsgivwfb.c129 static unsigned long bytes_per_pixel(int bpp);
141 return(xres_virtual * bytes_per_pixel(bpp)); in get_line_length()
144 static unsigned long bytes_per_pixel(int bpp) in bytes_per_pixel() function
249 bytesPerPixel = bytes_per_pixel(par->var.bits_per_pixel); in activate_par()
/linux-2.4.37.9/drivers/video/intel/
Dintelfbhw.c207 int bytes_per_pixel; in intelfbhw_validate_mode() local
212 bytes_per_pixel = var->bits_per_pixel / 8; in intelfbhw_validate_mode()
213 if (bytes_per_pixel == 3) in intelfbhw_validate_mode()
214 bytes_per_pixel = 4; in intelfbhw_validate_mode()
217 tmp = var->yres_virtual * var->xres_virtual * bytes_per_pixel; in intelfbhw_validate_mode()