public class ImageConvert extends Object
Constructor and Description |
---|
ImageConvert() |
Modifier and Type | Method and Description |
---|---|
static byte |
crop(int i) |
static int |
icrop(int i) |
static byte |
RGB888toU4(int r,
int g,
int b) |
static byte |
RGB888toV4(int r,
int g,
int b) |
static byte |
RGB888toY4(int r,
int g,
int b) |
static void |
RGB888toYUV444(ByteBuffer rgb,
ByteBuffer Y,
ByteBuffer U,
ByteBuffer V) |
static byte |
y_ccir_to_jpeg(byte y) |
static byte |
y_jpeg_to_ccir(byte y) |
static int |
ycbcr_to_rgb24(int y,
int cb,
int cr) |
static void |
YUV444toRGB888(int y,
int u,
int v,
ByteBuffer rgb) |
public static final int ycbcr_to_rgb24(int y, int cb, int cr)
public static final int icrop(int i)
public static final byte crop(int i)
public static final byte y_ccir_to_jpeg(byte y)
public static final byte y_jpeg_to_ccir(byte y)
public static void YUV444toRGB888(int y, int u, int v, ByteBuffer rgb)
public static void RGB888toYUV444(ByteBuffer rgb, ByteBuffer Y, ByteBuffer U, ByteBuffer V)
public static byte RGB888toY4(int r, int g, int b)
public static byte RGB888toU4(int r, int g, int b)
public static byte RGB888toV4(int r, int g, int b)
Copyright © 2019. All rights reserved.