Searched defs:bpp (Results 1 - 4 of 4) sorted by relevance

/hardware/libhardware/modules/gralloc/
H A Dgralloc.cpp209 int bpp = 0; local
214 bpp = 4;
217 bpp = 3;
222 bpp = 2;
227 size_t bpr = (w*bpp + (align-1)) & ~(align-1);
229 stride = bpr / bpp;
/hardware/msm7k/libgralloc/
H A Dgralloc.cpp470 int bpp = 0; local
475 bpp = 4;
478 bpp = 3;
483 bpp = 2;
495 size = stride * h * bpp;
498 size_t bpr = (w*bpp + (align-1)) & ~(align-1);
500 stride = bpr / bpp;
/hardware/ti/omap4xxx/camera/
H A DEncoder_libjpeg.cpp359 int bpp = 2; // for uyvy local
385 bpp = 1;
428 row_uv = src + out_width * out_height * bpp;
442 row_src = row_src + out_width*bpp;
447 row_uv = row_uv + out_width * bpp;
/hardware/ti/omap4xxx/hwc/
H A Dhwc.c384 int bpp = handle->iFormat == HAL_PIXEL_FORMAT_RGB_565 ? 2 : 4; local
385 int stride = ALIGN(handle->iWidth, HW_ALIGN) * bpp;
1591 const int bpp = 4; local
1592 img->size = ALIGN(width * height * bpp, 4096);
1606 row_pointers[i] = img->ptr + i * width * bpp;

Completed in 149 milliseconds