Home
last modified time | relevance | path

Searched refs:out_rect (Results 1 – 6 of 6) 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()
226 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, LayerRect *out_rect) { in TransformHV() argument
234 out_rect->right = src_domain.right - in_rect.left; in TransformHV()
235 out_rect->bottom = src_domain.bottom - in_rect.top; in TransformHV()
236 out_rect->left = out_rect->right - in_width; in TransformHV()
237 out_rect->top = out_rect->bottom - in_height; in TransformHV()
/hardware/qcom/display/msm8998/sdm/include/utils/
Drect.h59 LayerRect *out_rect);
60 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, 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/msm8998/sdm/libs/core/
Ddisplay_base.cpp188 LayerRect out_rect = gpu_target_layer->dst_rect; in ValidateGPUTargetParams() local
190 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
191 Normalize(1, 1, &out_rect); in ValidateGPUTargetParams()
193 auto gpu_target_layer_dst_xpixels = out_rect.right - out_rect.left; in ValidateGPUTargetParams()
194 auto gpu_target_layer_dst_ypixels = out_rect.bottom - out_rect.top; in ValidateGPUTargetParams()
/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()