Searched refs:bpr (Results 1 – 4 of 4) sorted by relevance
221 const size_t bpr = (width * bpp + align1) & ~align1; in allocateImpl() local222 bufferSize = bpr * height; in allocateImpl()223 stride = bpr / bpp; in allocateImpl()
576 size_t bpr = GRALLOC_ALIGN(w * bpp, 64); in alloc_device_alloc() local577 size = bpr * h; in alloc_device_alloc()578 stride = bpr / bpp; in alloc_device_alloc()
646 const size_t bpr = (width * bpp + align1) & ~align1; in gralloc_alloc() local647 bufferSize = bpr * height; in gralloc_alloc()648 stride = bpr / bpp; in gralloc_alloc()
816 size_t bpr = (w*bpp + (align-1)) & ~(align-1); in gralloc_alloc() local817 ashmem_size += (bpr * h); in gralloc_alloc()818 stride = bpr / bpp; in gralloc_alloc()