javax.media
Interface Codec

All Superinterfaces:
Controls, PlugIn
All Known Subinterfaces:
Effect
All Known Implementing Classes:
AbstractCodec, AbstractDePacketizer, AbstractPacketizer, com.ibm.media.codec.audio.AudioCodec, com.sun.media.BasicCodec, Decoder, Decoder, DePacketizer, DePacketizer, DePacketizer, Encoder, Encoder, GIFDecoder, GIFEncoder, ImageIODecoder, ImageIOEncoder, ImageScaler, JavaDecoder, JavaDecoder, JavaEncoder, JavaEncoder, JavaSoundCodec, JPEGDecoder, JpegEncoder, JPEGEncoder, Packetizer, Packetizer, Packetizer, PNGDecoder, PNGEncoder, RateConverter

public interface Codec
extends PlugIn

Standard JMF class -- see this class in the JMF Javadoc. Complete.

Author:
Ken Larson

Field Summary
 
Fields inherited from interface javax.media.PlugIn
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
 
Method Summary
 Format[] getSupportedInputFormats()
           
 Format[] getSupportedOutputFormats(Format input)
           
 int process(Buffer input, Buffer output)
           
 Format setInputFormat(Format format)
           
 Format setOutputFormat(Format format)
           
 
Methods inherited from interface javax.media.PlugIn
close, getName, open, reset
 
Methods inherited from interface javax.media.Controls
getControl, getControls
 

Method Detail

getSupportedInputFormats

Format[] getSupportedInputFormats()

getSupportedOutputFormats

Format[] getSupportedOutputFormats(Format input)

process

int process(Buffer input,
            Buffer output)

setInputFormat

Format setInputFormat(Format format)

setOutputFormat

Format setOutputFormat(Format format)