/hardware/qcom/display/msm8960/libgralloc/ |
D | alloc_controller.cpp | 107 int stride = ALIGN(width, 32); in getStride() 135 stride = ALIGN(width, 32); in getStride() 138 stride = ALIGN(width, 128); in getStride() 148 stride = ALIGN(width, 16); in getStride() 262 alignedh = ALIGN(height, 32); in getBufferSizeAndDimensions() 279 size = ALIGN(alignedw*alignedh, 4096); in getBufferSizeAndDimensions() 280 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getBufferSizeAndDimensions() 286 alignedw = ALIGN(alignedw, 128); in getBufferSizeAndDimensions() 287 size = ALIGN( alignedw * alignedh, 8192); in getBufferSizeAndDimensions() 288 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); in getBufferSizeAndDimensions() [all …]
|
D | mapper.cpp | 259 ystride = ALIGN(hnd->width, 16); in gralloc_lock_ycbcr() 270 ystride = ALIGN(hnd->width, 16); in gralloc_lock_ycbcr() 281 ystride = ALIGN(hnd->width, 16); in gralloc_lock_ycbcr() 282 cstride = ALIGN(ystride / 2, 16); in gralloc_lock_ycbcr()
|
/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 43 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro 394 return ALIGN(width, ALIGN32) * 2; // RGB565 has width as twice in calcStride() 399 return ALIGN(width, ALIGN32) * 4; in calcStride() 401 return ALIGN(width, ALIGN128); in calcStride() 403 return ALIGN(width, ALIGN16); in calcStride() 405 return ALIGN(width, ALIGN16); in calcStride() 407 return ALIGN(width, ALIGN128); in calcStride() 411 return ALIGN(width, ALIGN16); in calcStride() 421 return (ALIGN(width, ALIGN16) * height); in calcYSize() 425 return ALIGN(width, ALIGN16) * height; in calcYSize() [all …]
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 43 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro 427 return ALIGN(width, ALIGN32) * 2; // RGB565 has width as twice in calcStride() 432 return ALIGN(width, ALIGN32) * 4; in calcStride() 434 return ALIGN(width, ALIGN128); in calcStride() 436 return ALIGN(width, ALIGN16); in calcStride() 438 return ALIGN(width, ALIGN16); in calcStride() 440 return ALIGN(width, ALIGN128); in calcStride() 442 return ALIGN(width, ALIGN16); in calcStride() 444 return ALIGN(width, ALIGN16); in calcStride() 456 return (ALIGN(width, ALIGN16) * height); in calcYSize() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | alloc_controller.cpp | 138 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 139 aligned_h = ALIGN(height, 32); in getAlignedWidthAndHeight() 188 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 191 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 194 aligned_w = ALIGN(width * 10 /8, 16); in getAlignedWidthAndHeight() 197 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 205 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 216 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 217 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() 412 size = ALIGN(alignedw * alignedh, 4096); in getSize() [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | alloc_controller.cpp | 144 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 145 aligned_h = ALIGN(height, 32); in getAlignedWidthAndHeight() 198 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 201 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 204 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 211 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 221 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 222 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() 430 size = ALIGN(alignedw*alignedh, 4096); in getSize() 431 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getSize() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | alloc_controller.cpp | 136 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 137 aligned_h = ALIGN(height, 32); in getAlignedWidthAndHeight() 187 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 190 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 198 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 208 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 209 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() 417 size = ALIGN(alignedw*alignedh, 4096); in getSize() 418 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getSize() 424 size = ALIGN( alignedw * alignedh, 8192); in getSize() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | alloc_controller.cpp | 187 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 190 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 193 aligned_w = ALIGN(width * 10 /8, 8); in getAlignedWidthAndHeight() 196 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 204 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 215 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 216 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() 268 aligned_w = ALIGN(width, 32); in getGpuAlignedWidthHeight() 269 aligned_h = ALIGN(height, 32); in getGpuAlignedWidthHeight() 505 size = ALIGN(alignedw * alignedh, 4096); in getSize() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | alloc_controller.cpp | 231 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 234 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 237 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 240 aligned_w = ALIGN(width * 10 / 8, 8); in getAlignedWidthAndHeight() 243 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 250 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 265 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 266 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() 319 aligned_w = ALIGN(width, 32); in getGpuAlignedWidthHeight() 320 aligned_h = ALIGN(height, 32); in getGpuAlignedWidthHeight() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
D | copybit_c2d.cpp | 469 aligned_height = ALIGN(height, 32); in calculate_yuv_offset_and_stride() 470 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 472 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 480 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 485 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 550 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image() 739 (ALIGN(ctx->fb_width,32)- dst->r):dst->r; in set_rects() 753 (ALIGN(ctx->fb_width,32) - dst->r):dst->r; in set_rects() 970 int aligned_w = ALIGN(w, 32); in get_size() 975 size = ALIGN((aligned_w*h), 2048) + in get_size() [all …]
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
D | copybit_c2d.cpp | 470 aligned_height = ALIGN(height, 32); in calculate_yuv_offset_and_stride() 471 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 473 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 481 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 486 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 555 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image() 746 (ALIGN(ctx->fb_width,32)- dst->r):dst->r; in set_rects() 760 (ALIGN(ctx->fb_width,32) - dst->r):dst->r; in set_rects() 968 int aligned_w = ALIGN(w, 32); in get_size() 973 size = ALIGN((aligned_w*h), 2048) + in get_size() [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, 16); in convertYV12toYCrCb420SP() 196 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 197 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 206 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 207 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 241 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 242 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 251 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 252 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
D | copybit_c2d.cpp | 453 aligned_height = ALIGN(height, 32); in calculate_yuv_offset_and_stride() 454 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 456 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 464 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 469 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 534 int aligned_width = ALIGN(surfaceDef.width,32); in set_image() 714 c2dObject->target_rect.y = ctx->fb_width?(ALIGN(ctx->fb_width,32)- dst->r):dst->r; in set_rects() 727 c2dObject->target_rect.x = ctx->fb_width?(ALIGN(ctx->fb_width,32) - dst->r):dst->r; in set_rects() 944 int aligned_w = ALIGN(w, 32); in get_size() 949 size = ALIGN((aligned_w*h), 2048) + in get_size() [all …]
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
D | copybit_c2d.cpp | 463 aligned_height = ALIGN(height, 32); in calculate_yuv_offset_and_stride() 464 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 466 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 474 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 479 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 544 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image() 733 (ALIGN(ctx->fb_width,32)- dst->r):dst->r; in set_rects() 747 (ALIGN(ctx->fb_width,32) - dst->r):dst->r; in set_rects() 964 int aligned_w = ALIGN(w, 32); in get_size() 969 size = ALIGN((aligned_w*h), 2048) + in get_size() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
D | copybit_c2d.cpp | 468 aligned_height = ALIGN(height, 32); in calculate_yuv_offset_and_stride() 469 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 471 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 479 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 484 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 549 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image() 738 (ALIGN(ctx->fb_width,32)- dst->r):dst->r; in set_rects() 752 (ALIGN(ctx->fb_width,32) - dst->r):dst->r; in set_rects() 948 int aligned_w = ALIGN(w, 32); in get_size() 953 size = ALIGN((aligned_w*h), 2048) + in get_size() [all …]
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
D | copybit_c2d.cpp | 472 aligned_height = ALIGN(height, 32); in calculate_yuv_offset_and_stride() 473 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 475 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 483 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 488 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 553 int aligned_width = ALIGN((int)surfaceDef.width,32); in set_image() 742 (ALIGN(ctx->fb_width,32)- dst->r):dst->r; in set_rects() 756 (ALIGN(ctx->fb_width,32) - dst->r):dst->r; in set_rects() 973 int aligned_w = ALIGN(w, 32); in get_size() 978 size = ALIGN((aligned_w*h), 2048) + in get_size() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
D | ads2gas.pl | 125 s/^\s*AREA.*ALIGN=([0-9])$/.text\n.p2align $1/;
|
D | ads2gas_apple.pl | 113 s/^\s*AREA.*ALIGN=([0-9])$/.text\n.p2align $1/;
|
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/test/ |
D | mm_lib2d_test.c | 43 #define ALIGN(a, b) (((a) + (b)) & ~(b)) macro 423 y_plane_stride = ALIGN(width, 32); in main() 425 y_plane_size_align = ALIGN(y_plane_size, ALIGN4K); in main() 448 stride = ALIGN(stride, 32); in main()
|
/hardware/ti/omap4xxx/hwc/ |
D | hal_public.h | 33 #define ALIGN(x,a) (((x) + (a) - 1L) & ~((a) - 1L)) macro
|