com.panayotis.jubler.media.preview.decoders
Interface DecoderInterface

All Known Implementing Classes:
FFMPEG, NativeDecoder

public interface DecoderInterface


Method Summary
 void closeAudioCache(CacheFile cache)
           
 AudioPreview getAudioPreview(CacheFile cache, double from, double to)
           
 java.awt.Image getFrame(VideoFile video, double time, float resize)
           
 boolean getInterruptStatus()
           
 boolean initAudioCache(AudioFile afile, CacheFile cfile, DecoderListener fback)
           
 boolean isDecoderValid()
           
 void playAudioClip(AudioFile audio, double from, double to)
           
 void retrieveInformation(VideoFile vfile)
           
 void setInterruptStatus(boolean interrupt)
           
 

Method Detail

isDecoderValid

boolean isDecoderValid()

initAudioCache

boolean initAudioCache(AudioFile afile,
                       CacheFile cfile,
                       DecoderListener fback)

setInterruptStatus

void setInterruptStatus(boolean interrupt)

getInterruptStatus

boolean getInterruptStatus()

closeAudioCache

void closeAudioCache(CacheFile cache)

getAudioPreview

AudioPreview getAudioPreview(CacheFile cache,
                             double from,
                             double to)

getFrame

java.awt.Image getFrame(VideoFile video,
                        double time,
                        float resize)

retrieveInformation

void retrieveInformation(VideoFile vfile)

playAudioClip

void playAudioClip(AudioFile audio,
                   double from,
                   double to)