public abstract class AbstractVideoCodec extends AbstractCodec
AbstractVideoCodec.inputFormat, inputFormats, name, outputFormat, outputFormatsCODEC_FAILED, CODEC_INPUT_NOT_CONSUMED, CODEC_OK, CODEC_OUTPUT_NOT_FILLED| Constructor and Description |
|---|
AbstractVideoCodec(Format[] supportedInputFormats,
Format[] supportedOutputFormats) |
| Modifier and Type | Method and Description |
|---|---|
protected static BufferedImage |
copyImage(BufferedImage img)
Copies a buffered image.
|
protected int[] |
getARGB32(Buffer buf)
Gets 32-bit ARGB pixels from a buffer.
|
protected BufferedImage |
getBufferedImage(Buffer buf)
Gets a buffered image from a buffer.
|
protected byte[] |
getIndexed8(Buffer buf)
Gets 8-bit indexed pixels from a buffer.
|
protected short[] |
getRGB15(Buffer buf)
Gets 15-bit RGB pixels from a buffer.
|
protected short[] |
getRGB16(Buffer buf)
Gets 16-bit RGB-5-6-5 pixels from a buffer.
|
protected int[] |
getRGB24(Buffer buf)
Gets 24-bit RGB pixels from a buffer.
|
protected void |
writeInt24(ImageOutputStream out,
int v) |
protected void |
writeInt24LE(ImageOutputStream out,
int v) |
protected void |
writeInts24(ImageOutputStream out,
int[] i,
int off,
int len) |
protected void |
writeInts24LE(ImageOutputStream out,
int[] i,
int off,
int len) |
getInputFormat, getInputFormats, getName, getOutputFormat, getOutputFormats, reset, setInputFormat, setOutputFormat, toStringprotected byte[] getIndexed8(Buffer buf)
protected short[] getRGB15(Buffer buf)
protected short[] getRGB16(Buffer buf)
protected int[] getRGB24(Buffer buf)
protected int[] getARGB32(Buffer buf)
protected BufferedImage getBufferedImage(Buffer buf)
protected void writeInt24(ImageOutputStream out, int v) throws IOException
IOExceptionprotected void writeInt24LE(ImageOutputStream out, int v) throws IOException
IOExceptionprotected void writeInts24(ImageOutputStream out, int[] i, int off, int len) throws IOException
IOExceptionprotected void writeInts24LE(ImageOutputStream out, int[] i, int off, int len) throws IOException
IOExceptionprotected static BufferedImage copyImage(BufferedImage img)
Copyright © 2014. All Rights Reserved.