|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.fmj.media.AbstractControls
net.sf.fmj.media.AbstractPlugIn
net.sf.fmj.media.AbstractCodec
net.sf.fmj.media.codec.video.ImageScaler
public class ImageScaler
Codec that scales images from one size to another.
| Field Summary |
|---|
| Fields inherited from class net.sf.fmj.media.AbstractCodec |
|---|
inputFormat, inputFormats, opened, outputFormat |
| Fields inherited from interface javax.media.PlugIn |
|---|
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED |
| Constructor Summary | |
|---|---|
ImageScaler()
|
|
| Method Summary | |
|---|---|
Format[] |
getSupportedInputFormats()
|
Format[] |
getSupportedOutputFormats(Format input)
|
int |
process(Buffer input,
Buffer output)
|
Format |
setInputFormat(Format format)
|
| Methods inherited from class net.sf.fmj.media.AbstractCodec |
|---|
checkInputBuffer, dump, getInputFormat, getOutputFormat, isEOM, propagateEOM, setOutputFormat |
| Methods inherited from class net.sf.fmj.media.AbstractPlugIn |
|---|
close, getName, open, reset |
| Methods inherited from class net.sf.fmj.media.AbstractControls |
|---|
addControl, getControl, getControls, removeControl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.media.Codec |
|---|
setOutputFormat |
| Methods inherited from interface javax.media.PlugIn |
|---|
close, getName, open, reset |
| Methods inherited from interface javax.media.Controls |
|---|
getControl, getControls |
| Constructor Detail |
|---|
public ImageScaler()
| Method Detail |
|---|
public Format[] getSupportedInputFormats()
getSupportedInputFormats in interface CodecgetSupportedInputFormats in class AbstractCodecpublic Format[] getSupportedOutputFormats(Format input)
getSupportedOutputFormats in interface CodecgetSupportedOutputFormats in class AbstractCodecpublic Format setInputFormat(Format format)
setInputFormat in interface CodecsetInputFormat in class AbstractCodec
public int process(Buffer input,
Buffer output)
process in interface Codecprocess in class AbstractCodec
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||