public class ConvertYuv420_888
extends java.lang.Object
| Constructor and Description |
|---|
ConvertYuv420_888() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
declareWork(int strideY,
int strideUV,
byte[] work) |
static void |
processYuv(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
byte[] work,
boofcv.core.encoding.ConvertYuv420_888.ProcessorYuv processor) |
static void |
yuvToBoof(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
ColorFormat colorOutput,
ImageBase output,
byte[] work) |
static GrayF32 |
yuvToGray(java.nio.ByteBuffer bufferY,
int width,
int height,
int strideRow,
GrayF32 output,
byte[] work) |
static GrayU8 |
yuvToGray(java.nio.ByteBuffer bufferY,
int width,
int height,
int strideRow,
GrayU8 output) |
static <T extends ImageGray<T>> |
yuvToGray(java.nio.ByteBuffer bufferY,
int width,
int height,
int strideRow,
T output,
byte[] work,
java.lang.Class<T> outputType)
Converts an YUV 420 888 into gray
|
static InterleavedF32 |
yuvToInterleavedRgbF32(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
InterleavedF32 output,
byte[] work) |
static InterleavedU8 |
yuvToInterleavedRgbU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
InterleavedU8 output,
byte[] work) |
static InterleavedU8 |
yuvToInterleavedYuvU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
InterleavedU8 output,
byte[] work) |
static Planar<GrayF32> |
yuvToPlanarRgbF32(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
Planar<GrayF32> output,
byte[] work) |
static Planar<GrayU8> |
yuvToPlanarRgbU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
Planar<GrayU8> output,
byte[] work) |
static Planar<GrayU8> |
yuvToPlanarYuvU8(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
Planar<GrayU8> output,
byte[] work) |
public static byte[] declareWork(int strideY,
int strideUV,
byte[] work)
public static void yuvToBoof(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
ColorFormat colorOutput,
ImageBase output,
byte[] work)
public static <T extends ImageGray<T>> T yuvToGray(java.nio.ByteBuffer bufferY, int width, int height, int strideRow, T output, byte[] work, java.lang.Class<T> outputType)
T - Output image typeoutput - Output: Optional storage for output image. Can be null.outputType - Output: Type of output imagepublic static GrayF32 yuvToGray(java.nio.ByteBuffer bufferY, int width, int height, int strideRow, GrayF32 output, byte[] work)
output - Output: Optional storage for output image. Can be null.public static GrayU8 yuvToGray(java.nio.ByteBuffer bufferY, int width, int height, int strideRow, GrayU8 output)
public static void processYuv(java.nio.ByteBuffer bufferY,
java.nio.ByteBuffer bufferU,
java.nio.ByteBuffer bufferV,
int width,
int height,
int strideY,
int strideUV,
int stridePixelUV,
byte[] work,
boofcv.core.encoding.ConvertYuv420_888.ProcessorYuv processor)
public static Planar<GrayU8> yuvToPlanarRgbU8(java.nio.ByteBuffer bufferY, java.nio.ByteBuffer bufferU, java.nio.ByteBuffer bufferV, int width, int height, int strideY, int strideUV, int stridePixelUV, Planar<GrayU8> output, byte[] work)
public static Planar<GrayF32> yuvToPlanarRgbF32(java.nio.ByteBuffer bufferY, java.nio.ByteBuffer bufferU, java.nio.ByteBuffer bufferV, int width, int height, int strideY, int strideUV, int stridePixelUV, Planar<GrayF32> output, byte[] work)
public static InterleavedU8 yuvToInterleavedRgbU8(java.nio.ByteBuffer bufferY, java.nio.ByteBuffer bufferU, java.nio.ByteBuffer bufferV, int width, int height, int strideY, int strideUV, int stridePixelUV, InterleavedU8 output, byte[] work)
public static InterleavedF32 yuvToInterleavedRgbF32(java.nio.ByteBuffer bufferY, java.nio.ByteBuffer bufferU, java.nio.ByteBuffer bufferV, int width, int height, int strideY, int strideUV, int stridePixelUV, InterleavedF32 output, byte[] work)
public static Planar<GrayU8> yuvToPlanarYuvU8(java.nio.ByteBuffer bufferY, java.nio.ByteBuffer bufferU, java.nio.ByteBuffer bufferV, int width, int height, int strideY, int strideUV, int stridePixelUV, Planar<GrayU8> output, byte[] work)
public static InterleavedU8 yuvToInterleavedYuvU8(java.nio.ByteBuffer bufferY, java.nio.ByteBuffer bufferU, java.nio.ByteBuffer bufferV, int width, int height, int strideY, int strideUV, int stridePixelUV, InterleavedU8 output, byte[] work)