public abstract class AbstractVideoCodec extends AbstractCodec
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 java.awt.image.BufferedImage |
copyImage(java.awt.image.BufferedImage img) |
protected int[] |
getARGB32(Buffer buf) |
protected java.awt.image.BufferedImage |
getBufferedImage(Buffer buf) |
protected byte[] |
getIndexed8(Buffer buf) |
protected short[] |
getRGB15(Buffer buf) |
protected short[] |
getRGB16(Buffer buf) |
protected int[] |
getRGB24(Buffer buf) |
protected void |
writeInt24(javax.imageio.stream.ImageOutputStream out,
int v) |
protected void |
writeInt24LE(javax.imageio.stream.ImageOutputStream out,
int v) |
protected void |
writeInts24(javax.imageio.stream.ImageOutputStream out,
int[] i,
int off,
int len) |
protected void |
writeInts24LE(javax.imageio.stream.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 java.awt.image.BufferedImage getBufferedImage(Buffer buf)
protected void writeInt24(javax.imageio.stream.ImageOutputStream out,
int v)
throws java.io.IOException
java.io.IOExceptionprotected void writeInt24LE(javax.imageio.stream.ImageOutputStream out,
int v)
throws java.io.IOException
java.io.IOExceptionprotected void writeInts24(javax.imageio.stream.ImageOutputStream out,
int[] i,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionprotected void writeInts24LE(javax.imageio.stream.ImageOutputStream out,
int[] i,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionprotected static java.awt.image.BufferedImage copyImage(java.awt.image.BufferedImage img)
Copyright © 2022. All Rights Reserved.