public class YuvConversionHelper
extends java.lang.Object
| Constructor and Description |
|---|
YuvConversionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static android.graphics.Bitmap |
convertYuvBufferToBitmap(android.content.Context context,
YuvBuffer yuvImage)
Deprecated.
|
static android.graphics.Bitmap |
convertYuvBufferToBitmap(YuvBuffer yuvImage)
Deprecated.
|
static com.yoti.mobile.android.core.yuvtools.YuvModel |
generateYUVFormat(byte[] bytes,
int width,
int height,
boolean noModify)
Read a YUV saved picture and create a YotiYUV object where Y is width * height and UV is 0.5
* width * height.
|
static com.yoti.mobile.android.core.yuvtools.YuvModel |
generateYUVFormat(com.yoti.mobile.android.commons.image.ImageBuffer buffer) |
static com.yoti.mobile.android.core.yuvtools.YuvModel |
generateYUVFormat(YuvBuffer buffer)
Deprecated.
|
static com.yoti.mobile.android.core.yuvtools.YuvModel |
generateYUVFormat(YuvBuffer buffer,
boolean noModify)
Deprecated.
|
@Deprecated public static android.graphics.Bitmap convertYuvBufferToBitmap(YuvBuffer yuvImage)
@Deprecated
public static android.graphics.Bitmap convertYuvBufferToBitmap(android.content.Context context,
YuvBuffer yuvImage)
public static com.yoti.mobile.android.core.yuvtools.YuvModel generateYUVFormat(@NonNull
byte[] bytes,
int width,
int height,
boolean noModify)
bytes - - the YUV byteswidth - - the picture widthheight - - the picture heightnoModify - true if the input bytes will be used after this call, so must not be
modified. Will be faster if falsepublic static com.yoti.mobile.android.core.yuvtools.YuvModel generateYUVFormat(com.yoti.mobile.android.commons.image.ImageBuffer buffer)
@Deprecated public static com.yoti.mobile.android.core.yuvtools.YuvModel generateYUVFormat(YuvBuffer buffer, boolean noModify)
@Deprecated public static com.yoti.mobile.android.core.yuvtools.YuvModel generateYUVFormat(YuvBuffer buffer)