Home
last modified time | relevance | path

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

12

/hardware/intel/img/hwcomposer/ips/common/
DPixelFormat.cpp24 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp) in convertFormat() argument
29 bpp = 4; in convertFormat()
33 bpp = 4; in convertFormat()
37 bpp = 4; in convertFormat()
41 bpp = 4; in convertFormat()
45 bpp = 2; in convertFormat()
DPixelFormat.h35 static bool convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp);
/hardware/samsung_slsi/exynos5/libexynosutils/
Dexynos5_format_v4l2.c350 int V4L2_PIX_2_YUV_INFO(unsigned int v4l2_pixel_format, unsigned int * bpp, unsigned int * planes) in V4L2_PIX_2_YUV_INFO() argument
354 *bpp = 12; in V4L2_PIX_2_YUV_INFO()
362 *bpp = 12; in V4L2_PIX_2_YUV_INFO()
368 *bpp = 12; in V4L2_PIX_2_YUV_INFO()
375 *bpp = 16; in V4L2_PIX_2_YUV_INFO()
382 *bpp = 16; in V4L2_PIX_2_YUV_INFO()
386 *bpp = 16; in V4L2_PIX_2_YUV_INFO()
399 unsigned int bpp, planes; in get_yuv_bpp() local
401 if (V4L2_PIX_2_YUV_INFO(v4l2_pixel_format, &bpp, &planes) < 0) in get_yuv_bpp()
402 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()
221 bpp = 2; in gralloc_alloc()
226 size_t bpr = (w*bpp + (align-1)) & ~(align-1); in gralloc_alloc()
228 stride = bpr / bpp; in gralloc_alloc()
/hardware/qcom/media/libc2dcolorconvert/
DC2DColorConverter.cpp535 req->bpp = calcBytesPerPixel(mSrcFormat); in getBuffReq()
545 req->bpp = calcBytesPerPixel(mDstFormat); in getBuffReq()
583 C2DBytesPerPixel bpp; in calcBytesPerPixel() local
584 bpp.numerator = 0; in calcBytesPerPixel()
585 bpp.denominator = 1; in calcBytesPerPixel()
589 bpp.numerator = 2; in calcBytesPerPixel()
592 bpp.numerator = 4; in calcBytesPerPixel()
600 bpp.numerator = 3; in calcBytesPerPixel()
601 bpp.denominator = 2; in calcBytesPerPixel()
606 return bpp; in calcBytesPerPixel()
[all …]
/hardware/qcom/display/msm8226/libgralloc/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
Dalloc_controller.cpp147 int bpp = 4; in getAlignedWidthAndHeight() local
151 bpp = 3; in getAlignedWidthAndHeight()
154 bpp = 2; in getAlignedWidthAndHeight()
165 height, bpp, tile_enabled, in getAlignedWidthAndHeight()
171 aligned_w = LINK_adreno_compute_padding(width, bpp, in getAlignedWidthAndHeight()
/hardware/qcom/display/msm8084/libgralloc/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
Dalloc_controller.cpp147 int bpp = 4; in getAlignedWidthAndHeight() local
151 bpp = 3; in getAlignedWidthAndHeight()
154 bpp = 2; in getAlignedWidthAndHeight()
165 height, bpp, tile_enabled, in getAlignedWidthAndHeight()
171 aligned_w = LINK_adreno_compute_padding(width, bpp, in getAlignedWidthAndHeight()
/hardware/qcom/media/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp181 if (!cret && (req.bpp.denominator > 0)) { in get_output_filled_length()
182 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in get_output_filled_length()
183 filled_length /= req.bpp.denominator; in get_output_filled_length()
/hardware/samsung_slsi/exynos5/gralloc/
Dgralloc.cpp133 int bpp = 0, vstride, fd, err; in gralloc_alloc_rgb() local
157 bpp = 4; in gralloc_alloc_rgb()
160 bpp = 3; in gralloc_alloc_rgb()
164 bpp = 2; in gralloc_alloc_rgb()
176 bpr = ALIGN(w*bpp, 64); in gralloc_alloc_rgb()
182 *stride = bpr / bpp; in gralloc_alloc_rgb()
/hardware/intel/img/hwcomposer/ips/anniedale/
DAnnRGBPlane.cpp149 int bpp; in setDataBuffer() local
169 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) { in setDataBuffer()
182 …linoff = srcY * stride + srcX * bpp + (mapper.getCrop().h - 1) * stride + (mapper.getCrop().w - 1… in setDataBuffer()
184 linoff = srcY * stride + srcX * bpp; in setDataBuffer()
/hardware/qcom/display/msm8974/libgralloc/
Dalloc_controller.cpp117 int bpp = 4; in getStride() local
121 bpp = 3; in getStride()
124 bpp = 2; in getStride()
134 stride = LINK_adreno_compute_padding(stride, bpp, in getStride()
Dgr.h99 int (*LINK_adreno_compute_padding) (int width, int bpp,
/hardware/qcom/display/msm8960/libgralloc/
Dalloc_controller.cpp108 int bpp = 4; in getStride() local
112 bpp = 3; in getStride()
115 bpp = 2; in getStride()
125 stride = LINK_adreno_compute_padding(stride, bpp, in getStride()
Dgr.h99 int (*LINK_adreno_compute_padding) (int width, int bpp,
/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/omap4-aah/camera/
DEncoder_libjpeg.cpp432 int bpp = 2; // for uyvy in encode() local
458 bpp = 1; in encode()
503 row_uv = src + out_width * out_height * bpp; in encode()
519 row_src = row_src + out_width*bpp; in encode()
524 row_uv = row_uv + out_width * bpp; in encode()
/hardware/intel/img/libdrm/shared-core/
Ddrm_mode.h232 __u32 bpp; member
359 uint32_t bpp; member
/hardware/samsung_slsi/exynos5/include/
Dexynos_format.h159 unsigned int *bpp,
Ds5p_fimc_v4l2.h115 int bpp; member
/hardware/libhardware/tests/camera2/
Dcamera2.cpp542 size_t bpp = 2; in TEST_F() local
545 (const char *)(buffer.data + y * buffer.stride * bpp), in TEST_F()
546 buffer.width * bpp); in TEST_F()
849 size_t bpp = 1; in TEST_F() local
852 (const char *)(buffer.data + y * buffer.stride * bpp), in TEST_F()
853 buffer.width * bpp); in TEST_F()
/hardware/intel/img/libdrm/libdrm/
Dxf86drmMode.c192 uint8_t bpp, uint32_t pitch, uint32_t bo_handle, in drmModeAddFB() argument
201 f.bpp = bpp; in drmModeAddFB()
236 r->bpp = info.bpp; in drmModeGetFB()
Dxf86drmMode.h191 uint32_t bpp; member
298 uint8_t bpp, uint32_t pitch, uint32_t bo_handle,
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_surfacetexture.cpp92 unsigned int bpp; in calcOffset() local
96 bpp = 1; in calcOffset()
100 bpp = 2; in calcOffset()
104 bpp = 1; in calcOffset()
108 return top * width + left * bpp; in calcOffset()

12