public class JpegEncoder extends AbstractCodec implements Codec
inputFormat, inputFormats, opened, outputFormat
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
Constructor and Description |
---|
JpegEncoder() |
Modifier and Type | Method and Description |
---|---|
Format[] |
getSupportedInputFormats() |
Format[] |
getSupportedOutputFormats(Format input) |
int |
process(Buffer input,
Buffer output) |
Format |
setInputFormat(Format format) |
checkInputBuffer, dump, getInputFormat, getOutputFormat, isEOM, propagateEOM, setOutputFormat
close, getName, open, reset
addControl, getControl, getControls, removeControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setOutputFormat
getControl, getControls
public Format[] getSupportedInputFormats()
getSupportedInputFormats
in interface Codec
getSupportedInputFormats
in class AbstractCodec
public Format[] getSupportedOutputFormats(Format input)
getSupportedOutputFormats
in interface Codec
getSupportedOutputFormats
in class AbstractCodec
public Format setInputFormat(Format format)
setInputFormat
in interface Codec
setInputFormat
in class AbstractCodec