/hardware/qcom/sm8150/display/sdm/include/utils/ |
D | rect.h | 46 bool IsValid(const LayerRect &rect); 47 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2); 48 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi); 49 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi); 50 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect); 51 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2); 52 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2); 53 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2); 54 void Subtract(const LayerRect &rect1, const LayerRect &rect2, LayerRect *res); 55 bool Contains(const LayerRect &rect1, const LayerRect &rect2); [all …]
|
/hardware/qcom/sdm845/display/sdm/include/utils/ |
D | rect.h | 46 bool IsValid(const LayerRect &rect); 47 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2); 48 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi); 49 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi); 50 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect); 51 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2); 52 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2); 53 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2); 54 LayerRect Reposition(const LayerRect &rect1, const int &x_offset, const int &y_offset); 55 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, [all …]
|
/hardware/qcom/display/msm8909/sdm/include/utils/ |
D | rect.h | 46 bool IsValid(const LayerRect &rect); 47 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2); 48 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi); 49 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi); 50 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect); 51 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2); 52 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2); 53 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2); 54 LayerRect Reposition(const LayerRect &rect1, const int &x_offset, const int &y_offset); 55 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, [all …]
|
/hardware/qcom/display/msm8998/sdm/include/utils/ |
D | rect.h | 46 bool IsValid(const LayerRect &rect); 47 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2); 48 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi); 49 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect); 50 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2); 51 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2); 52 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2); 53 LayerRect Reposition(const LayerRect &rect1, const int &x_offset, const int &y_offset); 54 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, 55 bool flip_horizontal, LayerRect *out_rects); [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/ |
D | rect.h | 46 bool IsValid(const LayerRect &rect); 47 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2); 48 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi); 49 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect); 50 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2); 51 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2); 52 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2); 53 LayerRect Reposition(const LayerRect &rect1, const int &x_offset, const int &y_offset); 54 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, 55 bool flip_horizontal, LayerRect *out_rects); [all …]
|
/hardware/qcom/display/msm8996/sdm/include/utils/ |
D | rect.h | 46 bool IsValid(const LayerRect &rect); 47 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2); 48 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi); 49 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect); 50 LayerRect Union(const LayerRect &rect1, const LayerRect &rect2); 51 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2); 52 LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2); 53 LayerRect Reposition(const LayerRect &rect1, const int &x_offset, const int &y_offset); 54 void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x, 55 bool flip_horizontal, LayerRect *out_rects); [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 50 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in LogI() 55 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() 60 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() 67 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 68 LayerRect res; in Intersection() 71 return LayerRect(); in Intersection() 80 return LayerRect(); in Intersection() 86 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 50 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() 55 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() 62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 63 LayerRect res; in Intersection() 66 return LayerRect(); in Intersection() 75 return LayerRect(); in Intersection() 81 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() 82 LayerRect res; in Reposition() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 50 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() 55 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() 62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 63 LayerRect res; in Intersection() 66 return LayerRect(); in Intersection() 75 return LayerRect(); in Intersection() 81 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() 82 LayerRect res; in Reposition() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 50 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in LogI() 55 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() 60 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() 67 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 68 LayerRect res; in Intersection() 71 return LayerRect(); in Intersection() 80 return LayerRect(); in Intersection() 86 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 50 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() 55 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() 62 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 63 LayerRect res; in Intersection() 66 return LayerRect(); in Intersection() 75 return LayerRect(); in Intersection() 81 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() 82 LayerRect res; in Reposition() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/utils/ |
D | rect.cpp | 39 bool IsValid(const LayerRect &rect) { in IsValid() 43 bool IsCongruent(const LayerRect &rect1, const LayerRect &rect2) { in IsCongruent() 50 void LogI(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in LogI() 55 void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi) { in Log() 60 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { in Normalize() 67 LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2) { in Intersection() 68 LayerRect res; in Intersection() 71 return LayerRect(); in Intersection() 80 return LayerRect(); in Intersection() 86 LayerRect Reposition(const LayerRect &rect, const int &x_offset, const int &y_offset) { in Reposition() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | resource_default.h | 58 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, 111 const LayerRect &src_rect, const LayerRect &dst_rect, 114 const LayerRect &src_rect, const LayerRect &dst_rect, 116 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 118 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 122 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x, 125 void SplitRect(const LayerRect &src_rect, const LayerRect &dst_rect, LayerRect *src_left, 126 LayerRect *dst_left, LayerRect *src_right, LayerRect *dst_right);
|
/hardware/qcom/sdm845/display/sdm/libs/core/ |
D | resource_default.h | 60 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, bool rotate90, 118 const LayerRect &src_rect, const LayerRect &dst_rect, 121 const LayerRect &src_rect, const LayerRect &dst_rect, 123 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 125 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 129 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x, 132 void SplitRect(const LayerRect &src_rect, const LayerRect &dst_rect, LayerRect *src_left, 133 LayerRect *dst_left, LayerRect *src_right, LayerRect *dst_right);
|
D | strategy.cpp | 143 LayerRect src_domain = (LayerRect){0.0f, 0.0f, fb_width, fb_height}; in GetNextStrategy() 144 LayerRect dst_domain = (LayerRect){0.0f, 0.0f, layer_mixer_width, layer_mixer_height}; in GetNextStrategy() 174 hw_layers_info_->left_frame_roi.push_back(LayerRect(0.0f, 0.0f, in GenerateROI() 176 hw_layers_info_->right_frame_roi.push_back(LayerRect(left_split, in GenerateROI() 179 hw_layers_info_->left_frame_roi.push_back(LayerRect(0.0f, 0.0f, in GenerateROI() 181 hw_layers_info_->right_frame_roi.push_back(LayerRect(0.0f, 0.0f, 0.0f, 0.0f)); in GenerateROI()
|
/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | resource_default.h | 60 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, bool rotate90, 123 const LayerRect &src_rect, const LayerRect &dst_rect, 126 const LayerRect &src_rect, const LayerRect &dst_rect, 128 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 130 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 134 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x, 137 void SplitRect(const LayerRect &src_rect, const LayerRect &dst_rect, LayerRect *src_left, 138 LayerRect *dst_left, LayerRect *src_right, LayerRect *dst_right);
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | resource_default.h | 60 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, bool rotate90, 118 const LayerRect &src_rect, const LayerRect &dst_rect, 121 const LayerRect &src_rect, const LayerRect &dst_rect, 123 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 125 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 129 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x, 132 void SplitRect(const LayerRect &src_rect, const LayerRect &dst_rect, LayerRect *src_left, 133 LayerRect *dst_left, LayerRect *src_right, LayerRect *dst_right);
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | resource_default.h | 60 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, bool rotate90, 117 const LayerRect &src_rect, const LayerRect &dst_rect, 120 const LayerRect &src_rect, const LayerRect &dst_rect, 122 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 124 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 128 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x, 131 void SplitRect(const LayerRect &src_rect, const LayerRect &dst_rect, LayerRect *src_left, 132 LayerRect *dst_left, LayerRect *src_right, LayerRect *dst_right);
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | resource_default.h | 60 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, bool rotate90, 118 const LayerRect &src_rect, const LayerRect &dst_rect, 121 const LayerRect &src_rect, const LayerRect &dst_rect, 123 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 125 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 129 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x, 132 void SplitRect(const LayerRect &src_rect, const LayerRect &dst_rect, LayerRect *src_left, 133 LayerRect *dst_left, LayerRect *src_right, LayerRect *dst_right);
|
/hardware/qcom/display/msm8996/sdm/include/core/ |
D | layer_stack.h | 203 struct LayerRect { struct 209 LayerRect() = default; argument 211 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect() function 213 bool operator==(const LayerRect& rect) const { 217 bool operator!=(const LayerRect& rect) const { 227 LayerRect *rect = NULL; //!< Pointer to first element of array. 250 LayerRect src_rect = {}; //!< Rectangular area of the layer buffer to 253 LayerRect dst_rect = {}; //!< The target position where the frame will be 258 std::vector<LayerRect> visible_regions = {}; //!< Visible rectangular areas in screen space. 262 std::vector<LayerRect> dirty_regions = {}; //!< Rectangular areas in the current frames [all …]
|
/hardware/qcom/display/msm8909/sdm/include/core/ |
D | layer_stack.h | 266 struct LayerRect { struct 272 LayerRect() = default; argument 274 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect() function 276 bool operator==(const LayerRect& rect) const { 280 bool operator!=(const LayerRect& rect) const { 290 LayerRect *rect = NULL; //!< Pointer to first element of array. 313 LayerRect src_rect = {}; //!< Rectangular area of the layer buffer to 316 LayerRect dst_rect = {}; //!< The target position where the frame will be 321 std::vector<LayerRect> visible_regions = {}; //!< Visible rectangular areas in screen space. 325 std::vector<LayerRect> dirty_regions = {}; //!< Rectangular areas in the current frames [all …]
|
/hardware/qcom/display/msm8998/sdm/include/core/ |
D | layer_stack.h | 266 struct LayerRect { struct 272 LayerRect() = default; argument 274 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect() argument 276 bool operator==(const LayerRect& rect) const { 280 bool operator!=(const LayerRect& rect) const { 290 LayerRect *rect = NULL; //!< Pointer to first element of array. 313 LayerRect src_rect = {}; //!< Rectangular area of the layer buffer to 316 LayerRect dst_rect = {}; //!< The target position where the frame will be 321 std::vector<LayerRect> visible_regions = {}; //!< Visible rectangular areas in screen space. 325 std::vector<LayerRect> dirty_regions = {}; //!< Rectangular areas in the current frames [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/include/core/ |
D | layer_stack.h | 266 struct LayerRect { struct 272 LayerRect() = default; argument 274 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect() function 276 bool operator==(const LayerRect& rect) const { 280 bool operator!=(const LayerRect& rect) const { 290 LayerRect *rect = NULL; //!< Pointer to first element of array. 313 LayerRect src_rect = {}; //!< Rectangular area of the layer buffer to 316 LayerRect dst_rect = {}; //!< The target position where the frame will be 321 std::vector<LayerRect> visible_regions = {}; //!< Visible rectangular areas in screen space. 325 std::vector<LayerRect> dirty_regions = {}; //!< Rectangular areas in the current frames [all …]
|
/hardware/qcom/sdm845/display/sdm/include/core/ |
D | layer_stack.h | 268 struct LayerRect { struct 274 LayerRect() = default; argument 276 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect() function 278 bool operator==(const LayerRect& rect) const { 282 bool operator!=(const LayerRect& rect) const { 292 LayerRect *rect = NULL; //!< Pointer to first element of array. 331 LayerRect src_rect = {}; //!< Rectangular area of the layer buffer to 334 LayerRect dst_rect = {}; //!< The target position where the frame will be 339 std::vector<LayerRect> visible_regions = {}; //!< Visible rectangular areas in screen space. 343 std::vector<LayerRect> dirty_regions = {}; //!< Rectangular areas in the current frames [all …]
|
/hardware/qcom/sm8150/display/sdm/include/core/ |
D | layer_stack.h | 289 struct LayerRect { struct 295 LayerRect() = default; argument 297 LayerRect(float l, float t, float r, float b) : left(l), top(t), right(r), bottom(b) { } in LayerRect() argument 299 bool operator==(const LayerRect& rect) const { 303 bool operator!=(const LayerRect& rect) const { 313 LayerRect *rect = NULL; //!< Pointer to first element of array. 352 LayerRect src_rect = {}; //!< Rectangular area of the layer buffer to 355 LayerRect dst_rect = {}; //!< The target position where the frame will be 360 std::vector<LayerRect> visible_regions = {}; //!< Visible rectangular areas in screen space. 364 std::vector<LayerRect> dirty_regions = {}; //!< Rectangular areas in the current frames [all …]
|