Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f91264c7 authored by Kevin DuBois's avatar Kevin DuBois Committed by android-build-merger
Browse files

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

am: 947b4f83

Change-Id: I36ad999a6ba7a01e8cde6d25b2ec0a3845758b5a
parents 5648ceb8 947b4f83
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -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.top = height - area.top;
        area.bottom = height - area.bottom;
        area.bottom = height - area.bottom;
        std::swap(area.top, 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 = {};
    std::array<int32_t, 256> brightnessBuckets = {};