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

12345

/hardware/qcom/display/msm8960/libgralloc/
H A Dalloc_controller.cpp105 int stride = ALIGN(width, 32);
133 stride = ALIGN(width, 32);
136 stride = ALIGN(width, 128);
146 stride = ALIGN(width, 16);
260 alignedh = ALIGN(height, 32);
280 size = ALIGN(alignedw*alignedh, 4096);
281 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096);
287 alignedw = ALIGN(aligned
[all...]
H A Dgr.h41 inline size_t ALIGN(size_t x, size_t align) { function
/hardware/qcom/display/msm8974/libgralloc/
H A Dalloc_controller.cpp105 int stride = ALIGN(width, 32);
142 stride = ALIGN(width, 32);
145 stride = ALIGN(width, 128);
154 stride = ALIGN(width, 16);
164 stride = ALIGN(width, 64);
279 alignedh = ALIGN(height, 32);
299 size = ALIGN(alignedw*alignedh, 4096);
300 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(heigh
[all...]
H A Dgr.h41 inline size_t ALIGN(size_t x, size_t align) { function
/hardware/qcom/display/msm8084/libgralloc/
H A Dalloc_controller.cpp136 aligned_w = ALIGN(width, 32);
137 aligned_h = ALIGN(height, 32);
186 aligned_w = ALIGN(width, 32);
189 aligned_w = ALIGN(width, 16);
192 aligned_w = ALIGN(width * 10 /8, 16);
195 aligned_w = ALIGN(width, 128);
203 aligned_w = ALIGN(width, 16);
213 aligned_w = ALIGN(width, 64);
214 aligned_h = ALIGN(height, 64);
417 size = ALIGN(aligned
[all...]
H A Dgr.h41 inline Type ALIGN(Type x, Type align) { function
/hardware/qcom/display/msm8226/libgralloc/
H A Dalloc_controller.cpp136 aligned_w = ALIGN(width, 32);
137 aligned_h = ALIGN(height, 32);
187 aligned_w = ALIGN(width, 32);
190 aligned_w = ALIGN(width, 128);
198 aligned_w = ALIGN(width, 16);
208 aligned_w = ALIGN(width, 64);
209 aligned_h = ALIGN(height, 64);
419 size = ALIGN(alignedw*alignedh, 4096);
420 size += ALIGN(2 * ALIGN(widt
[all...]
H A Dgr.h41 inline Type ALIGN(Type x, Type align) { function
/hardware/qcom/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp40 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro
391 return ALIGN(width, ALIGN32) * 2; // RGB565 has width as twice
396 return ALIGN(width, ALIGN32) * 4;
398 return ALIGN(width, ALIGN128);
400 return ALIGN(width, ALIGN16);
402 return ALIGN(width, ALIGN16);
404 return ALIGN(width, ALIGN128);
408 return ALIGN(width, ALIGN16);
418 return (ALIGN(width, ALIGN16) * height);
422 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/msm8084/libcopybit/
H A Dsoftware_converter.cpp55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16);
197 info.src_stride = ALIGN(info.width, 32);
198 info.dst_stride = ALIGN(info.width, 16);
207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048);
208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048);
242 info.src_stride = ALIGN(hnd->width, 16);
243 info.dst_stride = ALIGN(info.width, 32);
252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048);
253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048);
H A Dcopybit_c2d.cpp463 aligned_height = ALIGN(height, 32);
464 aligned_width = ALIGN(width, 128);
466 yuvInfo.plane1_offset = ALIGN(size,8192);
474 aligned_width = ALIGN(width, 32);
479 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048);
544 int aligned_width = ALIGN((int)surfaceDef.width,32);
733 (ALIGN(ctx->fb_width,32)- dst->r):dst->r;
747 (ALIGN(ctx->fb_width,32) - dst->r):dst->r;
964 int aligned_w = ALIGN(w, 32);
969 size = ALIGN((aligned_
[all...]
/hardware/qcom/display/msm8226/libcopybit/
H A Dsoftware_converter.cpp55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16);
197 info.src_stride = ALIGN(info.width, 32);
198 info.dst_stride = ALIGN(info.width, 16);
207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048);
208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048);
242 info.src_stride = ALIGN(hnd->width, 16);
243 info.dst_stride = ALIGN(info.width, 32);
252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048);
253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048);
/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);
/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);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
H A Dads2armasm_ms.pl35 s/^(\s*)ENDP.*/$&\n$1ALIGN 4/;
/hardware/samsung_slsi/exynos5/gralloc/
H A Dgralloc.cpp176 bpr = ALIGN(w*bpp, 64);
177 vstride = ALIGN(h, 16);
183 size = ALIGN(size, PAGE_SIZE);
209 *stride = ALIGN(w, 16);
210 size = (*stride * h) + (ALIGN(*stride / 2, 16) * h);
238 *stride = ALIGN(w, 16);
253 *stride = ALIGN(w, 32);
254 luma_vstride = ALIGN(h, 16);
256 chroma_size = (luma_vstride / 2) * ALIGN(*stride / 2, 16);
264 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/omap4-aah/hwc/
H A Dhal_public.h33 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
/hardware/ti/omap4xxx/hwc/
H A Dhal_public.h33 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
/hardware/intel/img/hwcomposer/include/pvr/hal/
H A Dhal_public.h37 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/neon/
H A Dvp8_memcpy_neon.asm18 AREA ||.text||, CODE, READONLY, ALIGN=2

Completed in 774 milliseconds

12345