|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.monte.media.AbstractCodec
org.monte.media.AbstractVideoCodec
public abstract class AbstractVideoCodec
AbstractVideoCodec.
| Field Summary |
|---|
| Fields inherited from class org.monte.media.AbstractCodec |
|---|
inputFormat, inputFormats, name, outputFormat, outputFormats |
| Fields inherited from interface org.monte.media.Codec |
|---|
CODEC_FAILED, CODEC_INPUT_NOT_CONSUMED, CODEC_OK, CODEC_OUTPUT_NOT_FILLED |
| Constructor Summary | |
|---|---|
AbstractVideoCodec(Format[] supportedInputFormats,
Format[] supportedOutputFormats)
|
|
| Method Summary | |
|---|---|
protected static java.awt.image.BufferedImage |
copyImage(java.awt.image.BufferedImage img)
Copies a buffered image. |
protected int[] |
getARGB32(Buffer buf)
Gets 32-bit ARGB pixels from a buffer. |
protected java.awt.image.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(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)
|
| Methods inherited from class org.monte.media.AbstractCodec |
|---|
getInputFormat, getInputFormats, getName, getOutputFormat, getOutputFormats, reset, setInputFormat, setOutputFormat, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.monte.media.Codec |
|---|
process |
| Constructor Detail |
|---|
public AbstractVideoCodec(Format[] supportedInputFormats,
Format[] supportedOutputFormats)
| Method Detail |
|---|
protected 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.IOException
protected void writeInt24LE(javax.imageio.stream.ImageOutputStream out,
int v)
throws java.io.IOException
java.io.IOException
protected void writeInts24(javax.imageio.stream.ImageOutputStream out,
int[] i,
int off,
int len)
throws java.io.IOException
java.io.IOException
protected 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 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||