/hardware/qcom/display/msm8974/libgralloc/ |
H A D | alloc_controller.cpp | 105 int stride = ALIGN(width, 32); 143 stride = ALIGN(width, 32); 146 stride = ALIGN(width, 128); 153 stride = ALIGN(width, 16); 163 stride = ALIGN(width, 64); 278 alignedh = ALIGN(height, 32); 297 size = ALIGN(alignedw*alignedh, 4096); 298 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(heigh [all...] |
H A D | gr.h | 45 inline size_t ALIGN(size_t x, size_t align) { function
|
H A D | gpu.cpp | 73 data.align = ALIGN(data.align, SZ_1M); 74 size = ALIGN(size, data.align);
|
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | alloc_controller.cpp | 105 int stride = ALIGN(width, 32); 134 stride = ALIGN(width, 32); 137 stride = ALIGN(width, 128); 145 stride = ALIGN(width, 16); 259 alignedh = ALIGN(height, 32); 278 size = ALIGN(alignedw*alignedh, 4096); 279 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); 285 size = ALIGN( aligned [all...] |
H A D | gr.h | 45 inline size_t ALIGN(size_t x, size_t align) { function
|
H A D | gpu.cpp | 74 data.align = ALIGN(data.align, SZ_1M); 75 size = ALIGN(size, data.align);
|
/hardware/qcom/display/msm8x26/libgralloc/ |
H A D | alloc_controller.cpp | 105 int stride = ALIGN(width, 32); 134 stride = ALIGN(width, 32); 137 stride = ALIGN(width, 128); 145 stride = ALIGN(width, 16); 259 alignedh = ALIGN(height, 32); 276 size = ALIGN(alignedw*alignedh, 4096); 277 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); 283 size = ALIGN( aligned [all...] |
H A D | gr.h | 45 inline size_t ALIGN(size_t x, size_t align) { function
|
H A D | gpu.cpp | 74 data.align = ALIGN(data.align, SZ_1M); 75 size = ALIGN(size, data.align);
|
/hardware/qcom/media/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 41 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro 392 return ALIGN(width, ALIGN32) * 2; // RGB565 has width as twice 397 return ALIGN(width, ALIGN32) * 4; 399 return ALIGN(width, ALIGN128); 401 return ALIGN(width, ALIGN32); 403 return ALIGN(width, ALIGN16); 405 return ALIGN(width, ALIGN128); 409 return ALIGN(width, ALIGN16); 419 return (ALIGN(width, ALIGN32) * height); 423 return ALIGN(widt [all...] |
/hardware/samsung_slsi/exynos5/libexynosutils/ |
H A D | exynos5_format_v4l2.c | 276 size = ALIGN(width, 16) * ALIGN(height, 16); 277 frame_size = size + 2 * ALIGN(width >> 1, 8) * ALIGN(height >> 1, 8); 284 size = ALIGN(ALIGN(width, 16) * ALIGN(height, 16), 2048); 285 frame_size = size + ALIGN(ALIGN(width, 16) * ALIGN(heigh [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, 16); 196 info.src_stride = ALIGN(info.width, 32); 197 info.dst_stride = ALIGN(info.width, 16); 206 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); 207 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); 241 info.src_stride = ALIGN(hnd->width, 16); 242 info.dst_stride = ALIGN(info.width, 32); 251 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); 252 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048);
|
H A D | copybit_c2d.cpp | 453 aligned_height = ALIGN(height, 32); 454 aligned_width = ALIGN(width, 128); 456 yuvInfo.plane1_offset = ALIGN(size,8192); 464 aligned_width = ALIGN(width, 32); 469 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); 534 int aligned_width = ALIGN(surfaceDef.width,32); 714 c2dObject->target_rect.y = ctx->fb_width?(ALIGN(ctx->fb_width,32)- dst->r):dst->r; 727 c2dObject->target_rect.x = ctx->fb_width?(ALIGN(ctx->fb_width,32) - dst->r):dst->r; 944 int aligned_w = ALIGN(w, 32); 949 size = ALIGN((aligned_ [all...] |
/hardware/qcom/display/msm8974/libcopybit/ |
H A D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, 16); 196 info.src_stride = ALIGN(info.width, 32); 197 info.dst_stride = ALIGN(info.width, 16); 206 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); 207 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); 241 info.src_stride = ALIGN(hnd->width, 16); 242 info.dst_stride = ALIGN(info.width, 32); 251 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); 252 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048);
|
H A D | copybit_c2d.cpp | 464 aligned_height = ALIGN(height, 32); 465 aligned_width = ALIGN(width, 128); 467 yuvInfo.plane1_offset = ALIGN(size,8192); 475 aligned_width = ALIGN(width, 32); 480 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); 545 int aligned_width = ALIGN(surfaceDef.width,32); 733 c2dObject->target_rect.y = ctx->fb_width?(ALIGN(ctx->fb_width,32)- dst->r):dst->r; 746 c2dObject->target_rect.x = ctx->fb_width?(ALIGN(ctx->fb_width,32) - dst->r):dst->r; 963 int aligned_w = ALIGN(w, 32); 968 size = ALIGN((aligned_ [all...] |
/hardware/qcom/display/msm8x26/libcopybit/ |
H A D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, 16); 196 info.src_stride = ALIGN(info.width, 32); 197 info.dst_stride = ALIGN(info.width, 16); 206 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); 207 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); 241 info.src_stride = ALIGN(hnd->width, 16); 242 info.dst_stride = ALIGN(info.width, 32); 251 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); 252 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048);
|
H A D | copybit_c2d.cpp | 453 aligned_height = ALIGN(height, 32); 454 aligned_width = ALIGN(width, 128); 456 yuvInfo.plane1_offset = ALIGN(size,8192); 464 aligned_width = ALIGN(width, 32); 469 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); 534 int aligned_width = ALIGN(surfaceDef.width,32); 714 c2dObject->target_rect.y = ctx->fb_width?(ALIGN(ctx->fb_width,32)- dst->r):dst->r; 727 c2dObject->target_rect.x = ctx->fb_width?(ALIGN(ctx->fb_width,32) - dst->r):dst->r; 944 int aligned_w = ALIGN(w, 32); 949 size = ALIGN((aligned_ [all...] |
/hardware/samsung_slsi/exynos5/gralloc/ |
H A D | gralloc.cpp | 179 bpr = ALIGN(w*bpp, 64); 180 vstride = ALIGN(h, 16); 186 size = ALIGN(size, PAGE_SIZE); 212 *stride = ALIGN(w, 16); 213 size = (*stride * h) + (ALIGN(*stride / 2, 16) * h); 241 *stride = ALIGN(w, 16); 256 *stride = ALIGN(w, 32); 257 luma_vstride = ALIGN(h, 16); 259 chroma_size = (luma_vstride / 2) * ALIGN(*stride / 2, 16); 267 size_t chroma_vstride = ALIGN( [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/ |
H A D | Exynos_OMX_Venc.h | 45 ALIGN((ALIGN_TO_16B(DEFAULT_FRAME_WIDTH) * ALIGN_TO_16B(DEFAULT_FRAME_HEIGHT))/2,256)) 52 #define DEFAULT_MFC_INPUT_CBUFFER_SIZE ALIGN((DEFAULT_MFC_INPUT_YBUFFER_SIZE / 2), 256)
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/include/exynos/ |
H A D | Exynos_OMX_Macros.h | 37 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
|
/hardware/samsung_slsi/exynos5/include/ |
H A D | exynos_format.h | 79 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
|
/hardware/samsung_slsi/exynos5/librotator/ |
H A D | exynos_rotator.c | 156 plane_size[0] = ALIGN(width, 16) * ALIGN(height, 16); 157 plane_size[1] = ALIGN(width, 16) * ALIGN(height / 2, 8); 222 *w = ALIGN(*w, 16); 223 *h = ALIGN(*h, 16); 229 *w = ALIGN(*w, 8); 230 *h = ALIGN(*h, 8); 248 *w = ALIGN(*w, 4); 249 *h = ALIGN(* [all...] |
/hardware/ti/omap4xxx/hwc/ |
H A D | hal_public.h | 33 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
|
/hardware/libhardware/tests/camera2/ |
H A D | CameraStreamFixture.h | 33 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro 222 chromaStride = ALIGN(img.width / 2, 16);
|
/hardware/samsung_slsi/exynos5/libcsc/ |
H A D | csc.c | 70 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro 436 ALIGN(csc_handle->src_format.width, GSCALER_IMG_ALIGN), 437 ALIGN(csc_handle->src_format.height, GSCALER_IMG_ALIGN), 448 ALIGN(csc_handle->dst_format.width, GSCALER_IMG_ALIGN), 449 ALIGN(csc_handle->dst_format.height, GSCALER_IMG_ALIGN), 465 g2d->src.width = ALIGN(csc_handle->src_format.width, 479 g2d->dst.width = ALIGN(csc_handle->dst_format.width,
|