Home
last modified time | relevance | path

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

/hardware/samsung_slsi/exynos5/libexynosutils/
Dexynos5_format_v4l2.c366 int V4L2_PIX_2_YUV_INFO(unsigned int v4l2_pixel_format, unsigned int * bpp, unsigned int * planes) in V4L2_PIX_2_YUV_INFO() argument
370 *bpp = 12; in V4L2_PIX_2_YUV_INFO()
378 *bpp = 12; in V4L2_PIX_2_YUV_INFO()
384 *bpp = 12; in V4L2_PIX_2_YUV_INFO()
391 *bpp = 16; in V4L2_PIX_2_YUV_INFO()
398 *bpp = 16; in V4L2_PIX_2_YUV_INFO()
402 *bpp = 16; in V4L2_PIX_2_YUV_INFO()
415 unsigned int bpp, planes; in get_yuv_bpp() local
417 if (V4L2_PIX_2_YUV_INFO(v4l2_pixel_format, &bpp, &planes) < 0) in get_yuv_bpp()
418 bpp = -1; in get_yuv_bpp()
[all …]
/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()
223 bpp = 2; in gralloc_alloc()
228 size_t bpr = (w*bpp + (align-1)) & ~(align-1); in gralloc_alloc()
230 stride = bpr / bpp; in gralloc_alloc()
/hardware/samsung_slsi/exynos5/gralloc/
Dgralloc.cpp135 int bpp = 0, vstride, fd, err; in gralloc_alloc_rgb() local
142 bpp = 4; in gralloc_alloc_rgb()
145 bpp = 3; in gralloc_alloc_rgb()
151 bpp = 2; in gralloc_alloc_rgb()
163 bpr = ALIGN(w*bpp, 16); in gralloc_alloc_rgb()
169 *stride = bpr / bpp; in gralloc_alloc_rgb()
/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/libhardware/tests/camera2/
Dcamera2.cpp427 size_t bpp = 2; in TEST_F() local
430 (const char *)(buffer.data + y * buffer.stride * bpp), in TEST_F()
431 buffer.width * bpp); in TEST_F()
703 size_t bpp = 1; in TEST_F() local
706 (const char *)(buffer.data + y * buffer.stride * bpp), in TEST_F()
707 buffer.width * bpp); in TEST_F()
/hardware/samsung_slsi/exynos5/include/
Dexynos_format.h141 unsigned int *bpp,
Ds5p_fimc_v4l2.h115 int bpp; member
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp344 uint8_t bpp = exynos5_format_to_bpp(format); in is_x_aligned() local
345 uint8_t pixel_alignment = 32 / bpp; in is_x_aligned()
762 int bpp; in exynos5_visible_width() local
764 bpp = 32; in exynos5_visible_width()
766 bpp = exynos5_format_to_bpp(format); in exynos5_visible_width()
770 return (right - left) * bpp / 8; in exynos5_visible_width()
1302 uint8_t bpp = exynos5_format_to_bpp(handle->format); in exynos5_config_handle() local
1303 uint32_t offset = (sourceCrop.top * handle->stride + sourceCrop.left) * bpp / 8; in exynos5_config_handle()
1311 offset += crop * bpp / 8; in exynos5_config_handle()
1329 offset += handle->stride * crop * bpp / 8; in exynos5_config_handle()
[all …]
/hardware/qcom/media/libc2dcolorconvert/
DC2DColorConverter.cpp646 int bpp = 1; //bytes per pixel in dumpOutput() local
648 bpp = 2; in dumpOutput()
650 bpp = 4; in dumpOutput()
655 ret = write(fd, base, mDstWidth*bpp); in dumpOutput()
/hardware/ti/omap4xxx/hwc/
Dhwc.c386 int bpp = handle->iFormat == HAL_PIXEL_FORMAT_RGB_565 ? 2 : 4; in mem1d() local
387 int stride = ALIGN(handle->iWidth, HW_ALIGN) * bpp; in mem1d()
1639 const int bpp = 4; in load_png_image() local
1640 img->size = ALIGN(width * height * bpp, 4096); in load_png_image()
1654 row_pointers[i] = img->ptr + i * width * bpp; in load_png_image()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCamera.cpp3413 unsigned int bpp; in m_setWidthHeight() local
3424 V4L2_PIX_2_YUV_INFO(colorFormat, &bpp, &planes); in m_setWidthHeight()