public class ImageUtil
extends java.lang.Object
| Constructor and Description |
|---|
ImageUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getImageFormatName(int format) |
static void |
NV12ToYUV420(byte[] nv12,
byte[] yuv420,
int width,
int height) |
static void |
NV12ToYUV420WithStride(byte[] nv12,
byte[] yuv420,
int realWidth,
int realHeight,
int stride) |
static void |
YUV420ToYUV420WithStride(byte[] yuv,
byte[] dstYuv420,
int realWidth,
int realHeight,
int stride) |
public static void NV12ToYUV420(byte[] nv12,
byte[] yuv420,
int width,
int height)
public static void NV12ToYUV420WithStride(byte[] nv12,
byte[] yuv420,
int realWidth,
int realHeight,
int stride)
public static void YUV420ToYUV420WithStride(byte[] yuv,
byte[] dstYuv420,
int realWidth,
int realHeight,
int stride)
public static java.lang.String getImageFormatName(int format)