/hardware/qcom/display/msm8909/sdm/libs/utils/ |
D | rect.cpp | 207 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument 209 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect() 219 float dst_domain_width = dst_domain.right - dst_domain.left; in MapRect() 220 float dst_domain_height = dst_domain.bottom - dst_domain.top; in MapRect() 225 out_rect->left = dst_domain.left + (width_ratio * modified_in_rect.left); in MapRect() 226 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect() 227 out_rect->right = dst_domain.left + (width_ratio * modified_in_rect.right); in MapRect() 228 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
|
/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/msm8909w_3100/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/sdm845/display/sdm/libs/utils/ |
D | rect.cpp | 207 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument 209 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect() 219 float dst_domain_width = dst_domain.right - dst_domain.left; in MapRect() 220 float dst_domain_height = dst_domain.bottom - dst_domain.top; in MapRect() 225 out_rect->left = dst_domain.left + (width_ratio * modified_in_rect.left); in MapRect() 226 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect() 227 out_rect->right = dst_domain.left + (width_ratio * modified_in_rect.right); in MapRect() 228 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/msm8909w_3100/sdm/include/utils/ |
D | rect.h | 58 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
|
/hardware/qcom/display/msm8909/sdm/include/utils/ |
D | rect.h | 59 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
|
/hardware/qcom/sdm845/display/sdm/libs/core/ |
D | strategy.cpp | 144 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in GetNextStrategy() 149 MapRect(src_domain, dst_domain, layer.dst_rect, &layer.dst_rect); in GetNextStrategy()
|
D | display_base.cpp | 198 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in ValidateGPUTargetParams() 201 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/msm8909/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 | 196 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in ValidateGPUTargetParams() 199 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams() 1187 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() local 1189 MapRect(fb_rect, dst_domain, layer->dst_rect, &layer_dst_rect); in NeedsMixerReconfiguration()
|
/hardware/qcom/display/msm8909w_3100/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() 1162 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() local 1164 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() 1185 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() local 1187 MapRect(fb_rect, dst_domain, layer->dst_rect, &layer_dst_rect); in NeedsMixerReconfiguration()
|
/hardware/qcom/sdm845/display/sdm/include/utils/ |
D | rect.h | 59 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
|
/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()
|