-
public class PreviewImageUtilUtil methods to process camera preview images
-
-
Field Summary
Fields Modifier and Type Field Description public final static PreviewImageUtilINSTANCE
-
Method Summary
Modifier and Type Method Description final static BitmapconvertNV21ToBitmap(ByteArray nv21Image, Integer imageWidth, Integer imageHeight, Integer imageOrientation)Converts the image byte array in NV21 format to Bitmap final static ByteArrayconvertYUV420toNV21(ImageProxy image)Converts the image in YUV_420_888 to NV21 format -
-
Method Detail
-
convertNV21ToBitmap
final static Bitmap convertNV21ToBitmap(ByteArray nv21Image, Integer imageWidth, Integer imageHeight, Integer imageOrientation)
Converts the image byte array in NV21 format to Bitmap
-
convertYUV420toNV21
final static ByteArray convertYUV420toNV21(ImageProxy image)
Converts the image in YUV_420_888 to NV21 format
-
-
-
-