Merge "SF: left/right flip luma calculation 90 deg rot" into qt-dev

am: 947b4f8348

Change-Id: I36ad999a6ba7a01e8cde6d25b2ec0a3845758b5a
This commit is contained in:
Kevin DuBois 2019-06-06 10:17:13 -07:00 committed by android-build-merger
commit f91264c7d6

View file

@ -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 = {};