Merge "SF: left/right flip luma calculation 90 deg rot" into qt-dev
am: 947b4f8348
Change-Id: I36ad999a6ba7a01e8cde6d25b2ec0a3845758b5a
This commit is contained in:
commit
f91264c7d6
1 changed files with 4 additions and 0 deletions
|
@ -280,6 +280,10 @@ float sampleArea(const uint32_t* data, int32_t width, int32_t height, int32_t st
|
|||
area.top = height - area.top;
|
||||
area.bottom = height - area.bottom;
|
||||
std::swap(area.top, area.bottom);
|
||||
|
||||
area.left = width - area.left;
|
||||
area.right = width - area.right;
|
||||
std::swap(area.left, area.right);
|
||||
}
|
||||
|
||||
std::array<int32_t, 256> brightnessBuckets = {};
|
||||
|
|
Loading…
Reference in a new issue