Class ColorAdjustCodec
java.lang.Object
org.monte.media.av.AbstractCodec
org.monte.media.av.codec.video.AbstractVideoCodec
org.monte.media.av.codec.video.ColorAdjustCodec
- All Implemented Interfaces:
Codec
Adjusts the colors of a buffered image.
- Author:
- Werner Randelshofer
-
Field Summary
Fields inherited from class org.monte.media.av.AbstractCodec
inputFormat, inputFormats, name, outputFormat, outputFormatsFields inherited from interface org.monte.media.av.Codec
CODEC_FAILED, CODEC_INPUT_NOT_CONSUMED, CODEC_OK, CODEC_OUTPUT_NOT_FILLED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetModel()intPerforms the media processing defined by this codec.Sets the input format.voidsetModel(ColorAdjustModel newValue) Sets the output format.Methods inherited from class org.monte.media.av.codec.video.AbstractVideoCodec
copyImage, getARGB32, getBufferedImage, getColorModel, getIndexed8, getRGB15, getRGB16, getRGB24, writeInt24, writeInt24LE, writeInts24, writeInts24LEMethods inherited from class org.monte.media.av.AbstractCodec
getInputFormat, getInputFormats, getName, getOutputFormat, getOutputFormats, reset, toString
-
Constructor Details
-
ColorAdjustCodec
public ColorAdjustCodec()
-
-
Method Details
-
setInputFormat
Description copied from interface:CodecSets 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:
setInputFormatin interfaceCodec- Overrides:
setInputFormatin classAbstractCodec
-
setOutputFormat
Description copied from interface:CodecSets the output 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:
setOutputFormatin interfaceCodec- Overrides:
setOutputFormatin classAbstractCodec
-
process
-
getModel
-
setModel
-