Home
last modified time | relevance | path

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

12

/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/qcom/display/msm8998/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp90 int aligned_width = 0, aligned_height = 0; in AllocateBuffer() local
92 aligned_width, aligned_height); in AllocateBuffer()
111 alloc_buffer_info->stride = UINT32(aligned_width); in AllocateBuffer()
112 alloc_buffer_info->aligned_width = UINT32(aligned_width); in AllocateBuffer()
148 alloc_buffer_info->aligned_width = 0; in FreeBuffer()
192 int aligned_width = 0; in GetBufferSize() local
195 aligned_width, aligned_height); in GetBufferSize()
Dhwc_display_virtual.cpp280 int aligned_width, aligned_height; in SetOutputBuffer() local
283 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(output_handle, aligned_width, in SetOutputBuffer()
288 output_buffer_->width = UINT32(aligned_width); in SetOutputBuffer()
Dhwc_display.cpp349 int aligned_width, aligned_height; in PrepareLayerParams() local
352 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(pvt_handle, aligned_width, in PrepareLayerParams()
357 layer_buffer->width = UINT32(aligned_width); in PrepareLayerParams()
396 int aligned_width; in PrepareLayerParams() local
411 usage, aligned_width, aligned_height); in PrepareLayerParams()
412 layer_buffer->width = UINT32(aligned_width); in PrepareLayerParams()
Dhwc_display_primary.cpp378 output_buffer->width = alloc_buffer_info.aligned_width; in SetLayerBuffer()
/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.cpp381 int aligned_width; in PrepareLayerParams() local
396 usage, aligned_width, aligned_height); in PrepareLayerParams()
397 layer_buffer->width = UINT32(aligned_width); in PrepareLayerParams()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display_virtual.cpp191 int aligned_width, aligned_height; in SetOutputBuffer() local
194 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(output_handle, aligned_width, in SetOutputBuffer()
199 output_buffer_->width = UINT32(aligned_width); in SetOutputBuffer()
Dhwc_layers.cpp78 int aligned_width, aligned_height; in SetLayerBuffer() local
81 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(handle, aligned_width, aligned_height); in SetLayerBuffer()
85 layer_buffer->width = UINT32(aligned_width); in SetLayerBuffer()
/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/msm8998/sdm/include/core/
Dbuffer_allocator.h67 uint32_t aligned_width = 0; //!< Specifies aligned allocated buffer width in pixels. member
/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/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/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/msm8998/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/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.h69 … int padding_threshold, int *aligned_width, int * aligned_height);
/hardware/qcom/media/msm8998/libc2dcolorconvert/
DC2DColorConverter.h69 … int padding_threshold, int *aligned_width, int * aligned_height);
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp147 float aligned_width = FLOAT(CeilToMultipleOf(split_width, align_x)); in SplitLeftRight() local
150 float aligned_right = rect_temp.left + aligned_width; in SplitLeftRight()
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp147 float aligned_width = FLOAT(CeilToMultipleOf(split_width, align_x)); in SplitLeftRight() local
150 float aligned_right = rect_temp.left + aligned_width; in SplitLeftRight()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.cpp571 int *aligned_width = va_arg(args, int *); in Perform() local
580 *aligned_width = INT(alignedw); in Perform()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.cpp565 int *aligned_width = va_arg(args, int *); in Perform() local
574 *aligned_width = INT(alignedw); in Perform()

12