Searched refs:bytes_per_pixel (Results 1 – 5 of 5) sorted by relevance
51 const int32_t bytes_per_pixel = 2; in convertYUV420spToARGB() local56 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2)); in convertYUV420spToARGB()57 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1); in convertYUV420spToARGB()73 const int32_t bytes_per_pixel = 2; in convertYUV420spToRGB888() local78 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2)); in convertYUV420spToRGB888()79 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1); in convertYUV420spToRGB888()
56 int bytes_per_pixel; in get_framebuffer() local94 bytes_per_pixel = vi.bits_per_pixel >> 3; in get_framebuffer()98 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()106 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()108 vi.yres * vi.xres * bytes_per_pixel); in get_framebuffer()
188 auto bytes_per_pixel = gralloc::GetBpp(hnd->format); in lock() local189 hidl_cb(err, out_data, bytes_per_pixel, hnd->width * bytes_per_pixel); in lock()
1895 int bytes_per_pixel; member
2002 int bytes_per_pixel; member