Home
last modified time | relevance | path

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

/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/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/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.cpp187 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in ValidateGPUTargetParams()
190 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
999 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() local
1001 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()