org.iso.mpeg.mpegj.decoder
Interface MPDecoder


public interface MPDecoder
extends MPDecoderEventGenerator

This is the base interface for media decoders.


Method Summary
 void attach(ESDescriptor eSDesc)
          Attach a decoder for decoding of data.
 void detach()
          Detach a decoder already decoding data.
 ESDescriptor getESDescriptor()
          Get the attached ESDescriptor
 int getInstance()
          Get instance number.
 DecoderType getType()
          Get decoder type.
 java.lang.String getVendor()
          Get decoder vendor name.
 boolean isPauseable()
          Determines if the decoder is pauseable.
 void pause()
          Pause decoding of data.
 void resume()
          Resume decoding of data from paused instant.
 void start()
          Start decoding of data.
 void stop()
          Stop decoding of data.
 
Methods inherited from interface org.iso.mpeg.mpegj.resource.MPDecoderEventGenerator
addMPDecoderMediaListener, removeMPDecoderMediaListener
 

Method Detail

start

public void start()
Start decoding of data. This method should not be called for normal decoding. Because normal decoding starts automatically from the underlying BIFS construct

stop

public void stop()
Stop decoding of data.

pause

public void pause()
Pause decoding of data.

resume

public void resume()
Resume decoding of data from paused instant.

attach

public void attach(ESDescriptor eSDesc)
Attach a decoder for decoding of data.

detach

public void detach()
Detach a decoder already decoding data.

getType

public DecoderType getType()
Get decoder type.

getVendor

public java.lang.String getVendor()
Get decoder vendor name.

getInstance

public int getInstance()
Get instance number.

isPauseable

public boolean isPauseable()
Determines if the decoder is pauseable.

getESDescriptor

public ESDescriptor getESDescriptor()
Get the attached ESDescriptor