Home
last modified time | relevance | path

Searched refs:out_rect (Results 1 – 9 of 9) sorted by relevance

/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp203 LayerRect *out_rect) { in MapRect() argument
220 out_rect->left = dst_domain.left + (width_ratio * modified_in_rect.left); in MapRect()
221 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
222 out_rect->right = dst_domain.left + (width_ratio * modified_in_rect.right); in MapRect()
223 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
227 const LayerTransform &transform, LayerRect *out_rect) { in TransformHV() argument
236 *out_rect = in_rect; in TransformHV()
239 out_rect->right = src_domain.right - x_offset; in TransformHV()
240 out_rect->left = out_rect->right - in_width; in TransformHV()
244 out_rect->bottom = src_domain.bottom - y_offset; in TransformHV()
[all …]
/hardware/qcom/display/sdm845/sdm/libs/utils/
Drect.cpp203 LayerRect *out_rect) { in MapRect() argument
220 out_rect->left = dst_domain.left + (width_ratio * modified_in_rect.left); in MapRect()
221 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
222 out_rect->right = dst_domain.left + (width_ratio * modified_in_rect.right); in MapRect()
223 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
227 const LayerTransform &transform, LayerRect *out_rect) { in TransformHV() argument
236 *out_rect = in_rect; in TransformHV()
239 out_rect->right = src_domain.right - x_offset; in TransformHV()
240 out_rect->left = out_rect->right - in_width; in TransformHV()
244 out_rect->bottom = src_domain.bottom - y_offset; in TransformHV()
[all …]
/hardware/qcom/display/msm8998/sdm/include/utils/
Drect.h59 LayerRect *out_rect);
61 const LayerTransform &transform, LayerRect *out_rect);
/hardware/qcom/display/sdm845/sdm/include/utils/
Drect.h59 LayerRect *out_rect);
61 const LayerTransform &transform, LayerRect *out_rect);
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp203 LayerRect *out_rect) { in ScaleRect() argument
216 out_rect->left = width_ratio * in_rect.left; in ScaleRect()
217 out_rect->top = height_ratio * in_rect.top; in ScaleRect()
218 out_rect->right = width_ratio * in_rect.right; in ScaleRect()
219 out_rect->bottom = height_ratio * in_rect.bottom; in ScaleRect()
/hardware/qcom/display/msm8996/sdm/include/utils/
Drect.h59 LayerRect *out_rect);
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_base.cpp187 LayerRect out_rect = gpu_target_layer->dst_rect; in ValidateGPUTarget() local
189 ScaleRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTarget()
191 auto gpu_target_layer_dst_xpixels = out_rect.right - out_rect.left; in ValidateGPUTarget()
192 auto gpu_target_layer_dst_ypixels = out_rect.bottom - out_rect.top; in ValidateGPUTarget()
/hardware/qcom/display/sdm845/sdm/libs/core/
Ddisplay_base.cpp192 LayerRect out_rect = gpu_target_layer->dst_rect; in ValidateGPUTargetParams() local
194 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
195 Normalize(1, 1, &out_rect); in ValidateGPUTargetParams()
197 auto gpu_target_layer_dst_xpixels = out_rect.right - out_rect.left; in ValidateGPUTargetParams()
198 auto gpu_target_layer_dst_ypixels = out_rect.bottom - out_rect.top; in ValidateGPUTargetParams()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp196 LayerRect out_rect = gpu_target_layer->dst_rect; in ValidateGPUTargetParams() local
198 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
199 Normalize(1, 1, &out_rect); in ValidateGPUTargetParams()
201 auto gpu_target_layer_dst_xpixels = out_rect.right - out_rect.left; in ValidateGPUTargetParams()
202 auto gpu_target_layer_dst_ypixels = out_rect.bottom - out_rect.top; in ValidateGPUTargetParams()