org.monte.media.converter
Class ColorAdjustCodec
java.lang.Object
org.monte.media.AbstractCodec
org.monte.media.AbstractVideoCodec
org.monte.media.converter.ColorAdjustCodec
- All Implemented Interfaces:
- Codec
public class ColorAdjustCodec
- extends AbstractVideoCodec
Adjusts the colors of a buffered image.
- Version:
- 1.0 2012-01-16 Created.
- Author:
- Werner Randelshofer
| Methods inherited from class org.monte.media.AbstractVideoCodec |
copyImage, getARGB32, getBufferedImage, getIndexed8, getRGB15, getRGB16, getRGB24, writeInt24, writeInt24LE, writeInts24, writeInts24LE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ColorAdjustCodec
public ColorAdjustCodec()
setInputFormat
public Format setInputFormat(Format f)
- Description copied from interface:
Codec
- Sets the input format.
Returns the format that was actually set. This is the closest format
that the Codec supports. Returns null if the specified format is not
supported and no reasonable match could be found.
- Specified by:
setInputFormat in interface Codec- Overrides:
setInputFormat in class AbstractCodec
process
public int process(Buffer in,
Buffer out)
- Description copied from interface:
Codec
- Performs the media processing defined by this codec.
Copies the data from the input buffer into the output buffer.
- Returns:
- A combination of processing flags.
getModel
public ColorAdjustModel getModel()
setModel
public void setModel(ColorAdjustModel newValue)