Home
last modified time | relevance | path

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

12

/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp124 uint32_t alloc_type, int *aligned_width, in GetAlignedWidthAndHeight() argument
134 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight()
158 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetBufferSize() local
165 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetBufferSize()
299 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetAllocatedBufferInfo() local
306 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetAllocatedBufferInfo()
307 allocated_buffer_info->stride = UINT32(aligned_width); in GetAllocatedBufferInfo()
308 allocated_buffer_info->aligned_width = UINT32(aligned_width); in GetAllocatedBufferInfo()
Dhwc_display_virtual.cpp193 int aligned_width, aligned_height; in SetOutputBuffer() local
195 buffer_allocator_->GetCustomWidthAndHeight(output_handle, &aligned_width, &aligned_height); in SetOutputBuffer()
197 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(output_handle, aligned_width, in SetOutputBuffer()
201 output_buffer_->width = UINT32(aligned_width); in SetOutputBuffer()
Dhwc_buffer_allocator.h57 int *aligned_width, int *aligned_height);
Dhwc_layers.cpp115 int aligned_width, aligned_height; in SetLayerBuffer() local
117 buffer_allocator_->GetCustomWidthAndHeight(handle, &aligned_width, &aligned_height); in SetLayerBuffer()
119 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(handle, aligned_width, aligned_height); in SetLayerBuffer()
122 layer_buffer->width = UINT32(aligned_width); in SetLayerBuffer()
/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()
288 allocated_buffer_info->aligned_width = UINT32(width_aligned); in GetAllocatedBufferInfo()
Dhwc_display_external_test.cpp225 uint32_t width = buffer_info_.alloc_buffer_info.aligned_width; in DumpInputBuffer()
419 uint32_t aligned_width = buffer_info_.alloc_buffer_info.aligned_width; in GenerateColorRamp() local
452 GetStride(format, aligned_width, &buffer_stride); in GenerateColorRamp()
513 uint32_t aligned_width = buffer_info_.alloc_buffer_info.aligned_width; in GenerateBWVertical() local
526 GetStride(format, aligned_width, &buffer_stride); in GenerateBWVertical()
559 uint32_t aligned_width = buffer_info_.alloc_buffer_info.aligned_width; in GenerateColorSquare() local
596 GetStride(format, aligned_width, &buffer_stride); in GenerateColorSquare()
670 layer->input_buffer.width = buffer_info_.alloc_buffer_info.aligned_width; in InitLayer()
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.cpp440 int aligned_width, aligned_height; in PrepareLayerParams() local
443 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(pvt_handle, aligned_width, in PrepareLayerParams()
448 layer_buffer.width = UINT32(aligned_width); in PrepareLayerParams()
487 int aligned_width; in PrepareLayerParams() local
502 usage, aligned_width, aligned_height); in PrepareLayerParams()
503 layer_buffer.width = UINT32(aligned_width); in PrepareLayerParams()
1121 dir_path, buffer_info.alloc_buffer_info.aligned_width, in DumpOutputBuffer()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp124 uint32_t alloc_type, int *aligned_width, in GetAlignedWidthAndHeight() argument
134 producer_usage, consumer_usage, aligned_width, aligned_height, &tile_enabled); in GetAlignedWidthAndHeight()
158 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetBufferSize() local
165 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetBufferSize()
299 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetAllocatedBufferInfo() local
306 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetAllocatedBufferInfo()
307 allocated_buffer_info->stride = UINT32(aligned_width); in GetAllocatedBufferInfo()
Dhwc_display_virtual.cpp195 int aligned_width, aligned_height; in SetOutputBuffer() local
197 buffer_allocator_->GetCustomWidthAndHeight(output_handle, &aligned_width, &aligned_height); in SetOutputBuffer()
199 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(output_handle, aligned_width, in SetOutputBuffer()
203 output_buffer_->width = UINT32(aligned_width); in SetOutputBuffer()
Dhwc_buffer_allocator.h57 int *aligned_width, int *aligned_height);
/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()
/hardware/qcom/display/msm8998/sdm/include/core/
Dbuffer_allocator.h68 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/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/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/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/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/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/media/msm8998/libc2dcolorconvert/
DC2DColorConverter.h69 … int padding_threshold, int *aligned_width, int * aligned_height);
/hardware/qcom/media/msm8996/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.cpp609 int *aligned_width = va_arg(args, int *); in Perform() local
617 *aligned_width = INT(alignedw); in Perform()
705 uint32_t *aligned_width = va_arg(args, uint32_t *); in Perform() local
709 allocator_->GetBufferSizeAndDimensions(descriptor, size, aligned_width, aligned_height); in Perform()

12