getBitmapFromBuffer

open fun getBitmapFromBuffer(data: ByteBuffer, metadata: FrameMetadata): Bitmap

Converts NV21 format byte buffer to bitmap.