Searched refs:bpp (Results 1 – 4 of 4) sorted by relevance
209 int bpp = 0; in gralloc_alloc() local214 bpp = 4; in gralloc_alloc()217 bpp = 3; in gralloc_alloc()222 bpp = 2; in gralloc_alloc()227 size_t bpr = (w*bpp + (align-1)) & ~(align-1); in gralloc_alloc()229 stride = bpr / bpp; in gralloc_alloc()
470 int bpp = 0; in gralloc_alloc() local475 bpp = 4; in gralloc_alloc()478 bpp = 3; in gralloc_alloc()483 bpp = 2; in gralloc_alloc()495 size = stride * h * bpp; in gralloc_alloc()498 size_t bpr = (w*bpp + (align-1)) & ~(align-1); in gralloc_alloc()500 stride = bpr / bpp; in gralloc_alloc()
364 int bpp = 2; // for uyvy in encode() local390 bpp = 1; in encode()433 row_uv = src + out_width * out_height * bpp; in encode()447 row_src = row_src + out_width*bpp; in encode()452 row_uv = row_uv + out_width * bpp; in encode()
385 int bpp = handle->iFormat == HAL_PIXEL_FORMAT_RGB_565 ? 2 : 4; in mem1d() local386 int stride = ALIGN(handle->iWidth, HW_ALIGN) * bpp; in mem1d()1589 const int bpp = 4; in load_png_image() local1590 img->size = ALIGN(width * height * bpp, 4096); in load_png_image()1604 row_pointers[i] = img->ptr + i * width * bpp; in load_png_image()