Home
last modified time | relevance | path

Searched refs:in_rect (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp142 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, in SplitLeftRight() argument
144 LayerRect rect_temp = in_rect; in SplitLeftRight()
172 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y, in SplitTopBottom() argument
174 LayerRect rect_temp = in_rect; in SplitTopBottom()
202 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()
211 LayerRect modified_in_rect = Reposition(in_rect, -x_offset, -y_offset); 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()
232 float in_width = in_rect.right - in_rect.left; in TransformHV()
[all …]
/hardware/qcom/display/sdm845/sdm/libs/utils/
Drect.cpp142 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, in SplitLeftRight() argument
144 LayerRect rect_temp = in_rect; in SplitLeftRight()
172 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y, in SplitTopBottom() argument
174 LayerRect rect_temp = in_rect; in SplitTopBottom()
202 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()
211 LayerRect modified_in_rect = Reposition(in_rect, -x_offset, -y_offset); 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()
232 float in_width = in_rect.right - in_rect.left; in TransformHV()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp142 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, in SplitLeftRight() argument
144 LayerRect rect_temp = in_rect; in SplitLeftRight()
172 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y, in SplitTopBottom() argument
174 LayerRect rect_temp = in_rect; in SplitTopBottom()
202 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()
216 out_rect->left = width_ratio * in_rect.left; in ScaleRect()
217 out_rect->top = height_ratio * in_rect.top; in ScaleRect()
218 out_rect->right = width_ratio * in_rect.right; in ScaleRect()
219 out_rect->bottom = height_ratio * in_rect.bottom; in ScaleRect()
[all …]
/hardware/qcom/display/msm8998/sdm/include/utils/
Drect.h54 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
56 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
58 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,
62 RectOrientation GetOrientation(const LayerRect &in_rect);
/hardware/qcom/display/sdm845/sdm/include/utils/
Drect.h54 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
56 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
58 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,
62 RectOrientation GetOrientation(const LayerRect &in_rect);
/hardware/qcom/display/msm8996/sdm/include/utils/
Drect.h54 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
56 void SplitTopBottom(const LayerRect &in_rect, uint32_t split_count, uint32_t align_y,
58 void ScaleRect(const LayerRect &src_domain, const LayerRect &dst_domain, const LayerRect &in_rect,
60 RectOrientation GetOrientation(const LayerRect &in_rect);