sdm: Remove unused function in rect utility
Remove unused function Union of regions in rect utility. CRs-Fixed: 935432 Change-Id: I6bbe65342d3d3b132668334d334d2225a4d7b7e2
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
b8067a42ed
commit
ddca4e7dfd
@@ -42,7 +42,6 @@ namespace sdm {
|
||||
void Log(DebugTag debug_tag, const char *prefix, const LayerRect &roi);
|
||||
void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect);
|
||||
LayerRect Union(const LayerRect &rect1, const LayerRect &rect2);
|
||||
LayerRect Union(const LayerRectArray &rects);
|
||||
LayerRect Intersection(const LayerRect &rect1, const LayerRect &rect2);
|
||||
LayerRect Subtract(const LayerRect &rect1, const LayerRect &rect2);
|
||||
LayerRect Reposition(const LayerRect &rect1, const int &x_offset, const int &y_offset);
|
||||
|
||||
@@ -138,16 +138,6 @@ LayerRect Union(const LayerRect &rect1, const LayerRect &rect2) {
|
||||
return res;
|
||||
}
|
||||
|
||||
LayerRect Union(const LayerRectArray &rects) {
|
||||
LayerRect res;
|
||||
|
||||
for (uint32_t i = 0; i < rects.count; i++) {
|
||||
res = Union(rects.rect[i], res);
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
void SplitLeftRight(const LayerRect &in_rect, uint32_t split_count, uint32_t align_x,
|
||||
bool flip_horizontal, LayerRect *out_rects) {
|
||||
LayerRect rect_temp = in_rect;
|
||||
|
||||
Reference in New Issue
Block a user