Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/hals/
Dallocator3.cpp208 const size_t align1 = align - 1; in allocateImpl() local
215 const size_t yStride = (width * bpp + align1) & ~align1; in allocateImpl()
216 const size_t uvStride = (yStride / 2 + align1) & ~align1; in allocateImpl()
221 const size_t bpr = (width * bpp + align1) & ~align1; in allocateImpl()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_30.cpp633 const size_t align1 = align - 1; in gralloc_alloc() local
638 const size_t yStride = (width * bpp + align1) & ~align1; in gralloc_alloc()
639 const size_t uvStride = (yStride / 2 + align1) & ~align1; in gralloc_alloc()
644 const size_t bpr = (width * bpp + align1) & ~align1; in gralloc_alloc()