Lines Matching refs:bytes_per_pixel
25 int bytes_per_pixel[DRV_MAX_PLANES]; member
34 .bytes_per_pixel = { 1 }
41 .bytes_per_pixel = { 2 }
48 .bytes_per_pixel = { 3 }
55 .bytes_per_pixel = { 4 }
62 .bytes_per_pixel = { 8 }
69 .bytes_per_pixel = { 1, 2 }
76 .bytes_per_pixel = { 1, 1, 1 }
83 .bytes_per_pixel = { 2, 4 }
222 return layout->bytes_per_pixel[plane]; in drv_bytes_per_pixel_from_format()
234 uint32_t stride = plane_width * layout->bytes_per_pixel[plane]; in drv_stride_from_format()
351 DIV_ROUND_UP(aligned_width * layout_from_format(format)->bytes_per_pixel[0], 4); in drv_dumb_bo_create_ex()
354 create_dumb.bpp = layout_from_format(format)->bytes_per_pixel[0] * 8; in drv_dumb_bo_create_ex()