Home
last modified time | relevance | path

Searched refs:src_domain (Results 1 – 24 of 24) 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/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()
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/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()
213 int x_offset = INT(src_domain.left); in MapRect()
214 int y_offset = INT(src_domain.top); in MapRect()
217 float src_domain_width = src_domain.right - src_domain.left; in MapRect()
218 float src_domain_height = src_domain.bottom - src_domain.top; in MapRect()
231 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, in TransformHV() argument
233 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
239 float x_offset = in_rect.left - src_domain.left; in TransformHV()
240 float y_offset = in_rect.top - src_domain.top; in TransformHV()
[all …]
/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()
213 int x_offset = INT(src_domain.left); in MapRect()
214 int y_offset = INT(src_domain.top); in MapRect()
217 float src_domain_width = src_domain.right - src_domain.left; in MapRect()
218 float src_domain_height = src_domain.bottom - src_domain.top; in MapRect()
231 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, in TransformHV() argument
233 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
239 float x_offset = in_rect.left - src_domain.left; in TransformHV()
240 float y_offset = in_rect.top - src_domain.top; in TransformHV()
[all …]
/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()
254 int x_offset = INT(src_domain.left); in MapRect()
255 int y_offset = INT(src_domain.top); in MapRect()
258 float src_domain_width = src_domain.right - src_domain.left; in MapRect()
259 float src_domain_height = src_domain.bottom - src_domain.top; in MapRect()
272 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect, in TransformHV() argument
274 if (!IsValid(src_domain) || !IsValid(in_rect)) { in TransformHV()
280 float x_offset = in_rect.left - src_domain.left; in TransformHV()
281 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/msm8909w_3100/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/msm8909/sdm/include/utils/
Drect.h59 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
61 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect,
/hardware/qcom/sdm845/display/sdm/include/utils/
Drect.h59 void MapRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
61 void TransformHV(const LayerRect &src_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,
63 void TransformHV(const LayerRect &src_domain, const LayerRect &in_rect,
/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/sm8150/display/sdm/libs/core/
Dstrategy.cpp152 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in GetNextStrategy()
161 TransformHV(src_domain, layer.dst_rect, layer.transform, &layer.dst_rect); in GetNextStrategy()
163 MapRect(src_domain, dst_domain, layer.dst_rect, &layer.dst_rect); in GetNextStrategy()
Ddisplay_base.cpp261 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in ValidateGPUTargetParams()
265 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/sdm845/display/sdm/libs/core/
Dstrategy.cpp143 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in GetNextStrategy()
149 MapRect(src_domain, dst_domain, layer.dst_rect, &layer.dst_rect); in GetNextStrategy()
Ddisplay_base.cpp197 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in ValidateGPUTargetParams()
201 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
/hardware/qcom/display/msm8909/sdm/libs/core/
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.cpp195 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in ValidateGPUTargetParams()
199 MapRect(src_domain, dst_domain, gpu_target_layer->dst_rect, &out_rect); in ValidateGPUTargetParams()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
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/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()