Home
last modified time | relevance | path

Searched refs:src_domain (Results 1 – 13 of 13) 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, in TransformHV() argument
228 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
234 float x_offset = in_rect.left - src_domain.left; in TransformHV()
235 float y_offset = in_rect.top - src_domain.top; in TransformHV()
[all …]
/hardware/qcom/display/sdm845/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, in TransformHV() argument
228 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
234 float x_offset = in_rect.left - src_domain.left; in TransformHV()
235 float y_offset = in_rect.top - src_domain.top; in TransformHV()
[all …]
/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,
/hardware/qcom/display/sdm845/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,
/hardware/qcom/display/sdm845/sdm/libs/core/
Ddisplay_primary.cpp94 LayerRect src_domain = {}; in Prepare() local
100 src_domain.right = variable_info.x_pixels; in Prepare()
101 src_domain.bottom = variable_info.y_pixels; in Prepare()
107 TransformHV(src_domain, layer->dst_rect, panel_transform, &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.cpp190 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in ValidateGPUTargetParams()
194 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_primary.cpp91 LayerRect src_domain = {}; in Prepare() local
97 src_domain.right = variable_info.x_pixels; in Prepare()
98 src_domain.bottom = variable_info.y_pixels; in Prepare()
104 TransformHV(src_domain, layer->dst_rect, panel_transform, &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.cpp194 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in ValidateGPUTargetParams()
198 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()