Home
last modified time | relevance | path

Searched refs:src_domain (Results 1 – 8 of 8) 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()
208 int x_offset = INT(src_domain.left); in MapRect()
209 int y_offset = INT(src_domain.top); in MapRect()
212 float src_domain_width = src_domain.right - src_domain.left; in MapRect()
213 float src_domain_height = src_domain.bottom - src_domain.top; in MapRect()
226 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, LayerRect *out_rect) { in TransformHV() argument
227 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
234 out_rect->right = src_domain.right - in_rect.left; in TransformHV()
235 out_rect->bottom = src_domain.bottom - in_rect.top; in TransformHV()
/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()
208 float src_domain_width = src_domain.right - src_domain.left; in ScaleRect()
209 float src_domain_height = src_domain.bottom - src_domain.top; in ScaleRect()
/hardware/qcom/display/msm8998/sdm/include/utils/
Drect.h58 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
60 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, LayerRect *out_rect);
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_primary.cpp93 LayerRect src_domain = {}; in Prepare() local
98 src_domain.right = variable_info.x_pixels; in Prepare()
99 src_domain.bottom = variable_info.y_pixels; in Prepare()
103 TransformHV(src_domain, layer->dst_rect, &layer->dst_rect); in Prepare()
Dstrategy.cpp155 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in GetNextStrategy()
160 MapRect(src_domain, dst_domain, layer.dst_rect, &layer.dst_rect); in GetNextStrategy()
Ddisplay_base.cpp186 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in ValidateGPUTargetParams()
190 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
/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/msm8996/sdm/libs/core/
Ddisplay_base.cpp185 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in ValidateGPUTarget()
189 ScaleRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTarget()