Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/modules/gralloc/
Dgralloc.cpp209 int bpp = 0; in gralloc_alloc() local
214 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()
/hardware/msm7k/libgralloc/
Dgralloc.cpp470 int bpp = 0; in gralloc_alloc() local
475 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()
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp364 int bpp = 2; // for uyvy in encode() local
390 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()
/hardware/ti/omap4xxx/hwc/
Dhwc.c385 int bpp = handle->iFormat == HAL_PIXEL_FORMAT_RGB_565 ? 2 : 4; in mem1d() local
386 int stride = ALIGN(handle->iWidth, HW_ALIGN) * bpp; in mem1d()
1589 const int bpp = 4; in load_png_image() local
1590 img->size = ALIGN(width * height * bpp, 4096); in load_png_image()
1604 row_pointers[i] = img->ptr + i * width * bpp; in load_png_image()