/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/ |
D | yv12config.c | 52 int aligned_width = (width + 15) & ~15; in vp8_yv12_realloc_frame_buffer() local 54 int y_stride = ((aligned_width + 2 * border) + 31) & ~31; in vp8_yv12_realloc_frame_buffer() 56 int uv_width = aligned_width >> 1; in vp8_yv12_realloc_frame_buffer() 82 ybf->y_width = aligned_width; in vp8_yv12_realloc_frame_buffer() 144 const int aligned_width = (width + 7) & ~7; in vp9_realloc_frame_buffer() local 147 int y_stride = ((aligned_width + 2 * border) + 31) & ~31; in vp9_realloc_frame_buffer() 150 const int uv_width = aligned_width >> ss_x; in vp9_realloc_frame_buffer() 157 const int alpha_width = aligned_width; in vp9_realloc_frame_buffer() 245 ybf->y_width = aligned_width; in vp9_realloc_frame_buffer()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_alloccommon.c | 31 static void set_mb_mi(VP9_COMMON *cm, int aligned_width, int aligned_height) { in set_mb_mi() argument 32 cm->mi_cols = aligned_width >> MI_SIZE_LOG2; in set_mb_mi() 117 const int aligned_width = ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2); in vp9_resize_frame_buffers() local 126 set_mb_mi(cm, aligned_width, aligned_height); in vp9_resize_frame_buffers() 163 const int aligned_width = ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2); in vp9_alloc_frame_buffers() local 190 set_mb_mi(cm, aligned_width, aligned_height); in vp9_alloc_frame_buffers() 228 const int aligned_width = ALIGN_POWER_OF_TWO(cm->width, MI_SIZE_LOG2); in vp9_update_frame_size() local 231 set_mb_mi(cm, aligned_width, aligned_height); in vp9_update_frame_size()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 86 int aligned_width = 0, aligned_height = 0; in AllocateBuffer() local 88 aligned_width, aligned_height); in AllocateBuffer() 106 alloc_buffer_info->stride = UINT32(aligned_width); in AllocateBuffer() 179 int aligned_width = 0; in GetBufferSize() local 182 aligned_width, aligned_height); in GetBufferSize()
|
D | hwc_display.cpp | 439 int aligned_width; in PrepareLayerParams() local 454 usage, aligned_width, aligned_height); in PrepareLayerParams() 455 layer_buffer->width = UINT32(aligned_width); in PrepareLayerParams()
|
/hardware/ti/omap4-aah/test/CameraHal/ |
D | camera_test_surfacetexture.cpp | 749 int aligned_width, aligned_height; in setInput() local 756 aligned_width = bufinfo.crop.right - bufinfo.crop.left; in setInput() 758 aligned_width = ALIGN_UP(bufinfo.crop.right - bufinfo.crop.left, ALIGN_WIDTH); in setInput() 761 printf("aligned width: %d height: %d \n", aligned_width, aligned_height); in setInput() 774 aligned_width, aligned_height, bufinfo.format); in setInput() 780 if ((aligned_width != bufinfo.width) || (aligned_height != bufinfo.height) || in setInput() 785 Rect bounds(aligned_width, aligned_height); in setInput() 808 aligned_width, in setInput()
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | copybit_c2d.cpp | 446 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local 454 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 455 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride() 457 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 458 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 464 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 465 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 466 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 469 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 471 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() [all …]
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | copybit_c2d.cpp | 463 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local 471 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 472 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride() 474 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 475 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 481 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 482 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 483 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 486 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 488 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() [all …]
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | copybit_c2d.cpp | 456 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local 464 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 465 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride() 467 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 468 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 474 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 475 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 476 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 479 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 481 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | copybit_c2d.cpp | 462 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local 470 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 471 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride() 473 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 474 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 480 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 481 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 482 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 485 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 487 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit_c2d.cpp | 461 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local 469 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 470 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride() 472 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 473 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 479 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 480 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 481 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 484 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 486 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() [all …]
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | copybit_c2d.cpp | 465 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local 473 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride() 474 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride() 476 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 477 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 483 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride() 484 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 485 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 488 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 490 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
D | rect.cpp | 146 float aligned_width = FLOAT(CeilToMultipleOf(split_width, align_x)); in SplitLeftRight() local 149 float aligned_right = rect_temp.left + aligned_width; in SplitLeftRight()
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
D | C2DColorConverter.h | 69 … int padding_threshold, int *aligned_width, int * aligned_height);
|