Home
last modified time | relevance | path

Searched refs:dst_domain (Results 1 – 19 of 19) 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/sdm845/display/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/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/msm8998/sdm/include/utils/
Drect.h58 void MapRect(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/msm8909/sdm/include/utils/
Drect.h59 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
/hardware/qcom/sdm845/display/sdm/libs/core/
Dstrategy.cpp144 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()
Ddisplay_base.cpp198 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/
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/sdm845/display/sdm/include/utils/
Drect.h59 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
/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()