Searched refs:align1 (Results 1 – 2 of 2) sorted by relevance
208 const size_t align1 = align - 1; in allocateImpl() local215 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()
633 const size_t align1 = align - 1; in gralloc_alloc() local638 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()