Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp194 int bpp = 0; in gralloc_alloc() local
200 bpp = 4; in gralloc_alloc()
205 bpp = 3; in gralloc_alloc()
210 bpp = 2; in gralloc_alloc()
216 bpp = 2; in gralloc_alloc()
217 align = 16*bpp; in gralloc_alloc()
227 bpp = 1; in gralloc_alloc()
238 bpp = 1; // per-channel bpp in gralloc_alloc()
244 bpp = 1; // per-channel bpp in gralloc_alloc()
262 size_t yStride = (w*bpp + (align - 1)) & ~(align-1); in gralloc_alloc()
[all …]
/device/linaro/hikey/gralloc/
Dalloc_device.cpp412 int bpp = 0; in alloc_device_alloc() local
419 bpp = 4; in alloc_device_alloc()
423 bpp = 3; in alloc_device_alloc()
431 bpp = 2; in alloc_device_alloc()
438 size_t bpr = GRALLOC_ALIGN(w * bpp, 64); in alloc_device_alloc()
440 stride = bpr / bpp; in alloc_device_alloc()