Home
last modified time | relevance | path

Searched refs:dst_domain (Results 1 – 23 of 23) sorted by relevance

/hardware/qcom/display/msm8909/sdm/libs/utils/
Drect.cpp207 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/
Drect.cpp202 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/
Drect.cpp202 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/sm7250/display/sdm/libs/utils/
Drect.cpp248 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument
250 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect()
260 double dst_domain_width = DOUBLE(dst_domain.right - dst_domain.left); in MapRect()
261 double dst_domain_height = DOUBLE(dst_domain.bottom - dst_domain.top); in MapRect()
267 out_rect->left = floor(dst_domain.left + (width_ratio * modified_in_rect.left)); in MapRect()
268 out_rect->top = floor(dst_domain.top + (height_ratio * modified_in_rect.top)); in MapRect()
269 out_rect->right = floor(dst_domain.left + (width_ratio * modified_in_rect.right)); in MapRect()
270 out_rect->bottom = floor(dst_domain.top + (height_ratio * modified_in_rect.bottom)); in MapRect()
/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp248 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect, in MapRect() argument
250 if (!IsValid(src_domain) || !IsValid(dst_domain) || !IsValid(in_rect)) { in MapRect()
260 float dst_domain_width = dst_domain.right - dst_domain.left; in MapRect()
261 float dst_domain_height = dst_domain.bottom - dst_domain.top; in MapRect()
266 out_rect->left = dst_domain.left + (width_ratio * modified_in_rect.left); in MapRect()
267 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
268 out_rect->right = dst_domain.left + (width_ratio * modified_in_rect.right); in MapRect()
269 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp202 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/
Drect.h58 void ScaleRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Drect.h58 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
/hardware/qcom/display/msm8998/sdm/include/utils/
Drect.h58 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
/hardware/qcom/display/msm8909/sdm/include/utils/
Drect.h59 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
/hardware/qcom/display/msm8909/sdm/libs/core/
Dstrategy.cpp156 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()
Ddisplay_base.cpp196 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/
Dstrategy.cpp156 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()
Ddisplay_base.cpp191 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/
Dstrategy.cpp156 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()
Ddisplay_base.cpp195 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/sm7250/display/sdm/include/utils/
Drect.h61 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
/hardware/qcom/sm8150/display/sdm/include/utils/
Drect.h61 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
/hardware/qcom/sm8150/display/sdm/libs/core/
Dstrategy.cpp153 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in GetNextStrategy()
163 MapRect(src_domain, dst_domain, layer.dst_rect, &layer.dst_rect); in GetNextStrategy()
Ddisplay_base.cpp262 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in ValidateGPUTargetParams()
265 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
1396 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() local
1398 MapRect(fb_rect, dst_domain, layer->dst_rect, &layer_dst_rect); in NeedsMixerReconfiguration()
/hardware/qcom/sm7250/display/sdm/libs/core/
Dstrategy.cpp152 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in GetNextStrategy()
162 MapRect(src_domain, dst_domain, layer.dst_rect, &layer.dst_rect); in GetNextStrategy()
Ddisplay_base.cpp339 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in ValidateGPUTargetParams()
342 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
1675 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() local
1677 MapRect(fb_rect, dst_domain, layer->dst_rect, &layer_dst_rect); in NeedsMixerReconfiguration()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_base.cpp186 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()