/hardware/qcom/display/msm8998/sdm/libs/utils/ |
D | rect.cpp | 202 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument 204 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect() 214 float dst_domain_width = dst_domain.right - dst_domain.left; in MapRect() 215 float dst_domain_height = dst_domain.bottom - dst_domain.top; in MapRect() 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()
|
/hardware/qcom/display/sdm845/sdm/libs/utils/ |
D | rect.cpp | 202 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument 204 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect() 214 float dst_domain_width = dst_domain.right - dst_domain.left; in MapRect() 215 float dst_domain_height = dst_domain.bottom - dst_domain.top; in MapRect() 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()
|
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
D | rect.cpp | 202 void ScaleRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in ScaleRect() argument 204 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in ScaleRect() 210 float dst_domain_width = dst_domain.right - dst_domain.left; in ScaleRect() 211 float dst_domain_height = dst_domain.bottom - dst_domain.top; in ScaleRect()
|
/hardware/qcom/display/msm8996/sdm/include/utils/ |
D | rect.h | 58 void ScaleRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
|
/hardware/qcom/display/msm8998/sdm/include/utils/ |
D | rect.h | 58 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
|
/hardware/qcom/display/sdm845/sdm/include/utils/ |
D | rect.h | 58 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
|
/hardware/qcom/display/sdm845/sdm/libs/core/ |
D | strategy.cpp | 156 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in GetNextStrategy() 160 MapRect(src_domain, dst_domain, layer.dst_rect, &layer.dst_rect); in GetNextStrategy()
|
D | display_base.cpp | 191 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in ValidateGPUTargetParams() 194 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams() 1178 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() local 1180 MapRect(fb_rect, dst_domain, layer->dst_rect, &layer_dst_rect); in NeedsMixerReconfiguration()
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | strategy.cpp | 156 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in GetNextStrategy() 160 MapRect(src_domain, dst_domain, layer.dst_rect, &layer.dst_rect); in GetNextStrategy()
|
D | display_base.cpp | 195 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in ValidateGPUTargetParams() 198 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams() 1179 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() local 1181 MapRect(fb_rect, dst_domain, layer->dst_rect, &layer_dst_rect); in NeedsMixerReconfiguration()
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | display_base.cpp | 186 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in ValidateGPUTarget() 189 ScaleRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTarget()
|