Home
last modified time | relevance | path

Searched refs:aligned_width (Results 1 – 13 of 13) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
Dyv12config.c52 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/
Dvp9_alloccommon.c31 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/
Dhwc_buffer_allocator.cpp86 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()
Dhwc_display.cpp439 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/
Dcamera_test_surfacetexture.cpp749 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/
Dcopybit_c2d.cpp446 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/
Dcopybit_c2d.cpp463 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/
Dcopybit_c2d.cpp456 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/
Dcopybit_c2d.cpp462 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/
Dcopybit_c2d.cpp461 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/
Dcopybit_c2d.cpp465 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/
Drect.cpp146 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/
DC2DColorConverter.h69 … int padding_threshold, int *aligned_width, int * aligned_height);