Searched refs:ashmem_size (Results 1 – 1 of 1) sorted by relevance
465 int ashmem_size = 0; in gralloc_alloc() local575 ashmem_size += sizeof(uint32_t) * 2; in gralloc_alloc()580 ashmem_size += sizeof(uint32_t) * 1; in gralloc_alloc()591 ashmem_size += yStride * h + 2 * (uvHeight * uvStride); in gralloc_alloc()595 ashmem_size += (bpr * h); in gralloc_alloc()601 ashmem_size, stride, gettid()); in gralloc_alloc()607 if (ashmem_size > 0) { in gralloc_alloc()609 ashmem_size = (ashmem_size + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); in gralloc_alloc()611 ALOGD("%s: Creating ashmem region of size %lu\n", __FUNCTION__, ashmem_size); in gralloc_alloc()612 fd = ashmem_create_region("gralloc-buffer", ashmem_size); in gralloc_alloc()[all …]