Android fast bitmap drawing

I need to optimize this portion of code which consume about 70ms (on my Samsung Galaxy Tab S2 – Android 7.0): private static final int IR_FRAME_WIDTH = 160; private static final int IR_FRAME_HEIGHT = …