Searched refs:ALIGN (Results 1 - 25 of 43) sorted by relevance

12

/hardware/qcom/display/msm8974/libgralloc/
H A Dalloc_controller.cpp105 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 Dgr.h45 inline size_t ALIGN(size_t x, size_t align) { function
H A Dgpu.cpp73 data.align = ALIGN(data.align, SZ_1M);
74 size = ALIGN(size, data.align);
/hardware/qcom/display/msm8960/libgralloc/
H A Dalloc_controller.cpp105 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 Dgr.h45 inline size_t ALIGN(size_t x, size_t align) { function
H A Dgpu.cpp74 data.align = ALIGN(data.align, SZ_1M);
75 size = ALIGN(size, data.align);
/hardware/qcom/display/msm8x26/libgralloc/
H A Dalloc_controller.cpp105 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 Dgr.h45 inline size_t ALIGN(size_t x, size_t align) { function
H A Dgpu.cpp74 data.align = ALIGN(data.align, SZ_1M);
75 size = ALIGN(size, data.align);
/hardware/qcom/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp41 #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 Dexynos5_format_v4l2.c276 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 Dsoftware_converter.cpp55 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 Dcopybit_c2d.cpp453 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 Dsoftware_converter.cpp55 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 Dcopybit_c2d.cpp464 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 Dsoftware_converter.cpp55 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 Dcopybit_c2d.cpp453 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 Dgralloc.cpp179 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 DExynos_OMX_Venc.h45 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 DExynos_OMX_Macros.h37 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
/hardware/samsung_slsi/exynos5/include/
H A Dexynos_format.h79 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
/hardware/samsung_slsi/exynos5/librotator/
H A Dexynos_rotator.c156 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 Dhal_public.h33 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
/hardware/libhardware/tests/camera2/
H A DCameraStreamFixture.h33 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
222 chromaStride = ALIGN(img.width / 2, 16);
/hardware/samsung_slsi/exynos5/libcsc/
H A Dcsc.c70 #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,

Completed in 324 milliseconds

12