convertToBitmap

fun convertToBitmap(data: ByteBuffer, width: Int, height: Int, rotationDegrees: Int): <ERROR CLASS>?

Convert NV21 format byte buffer to bitmap.