ptolemy.actor.lib.jmf
Class MovieWriter.ImageSourceStream

java.lang.Object
  extended by ptolemy.actor.lib.jmf.MovieWriter.ImageSourceStream
All Implemented Interfaces:
javax.media.Controls, javax.media.protocol.PullBufferStream, javax.media.protocol.SourceStream
Enclosing class:
MovieWriter

private class MovieWriter.ImageSourceStream
extends java.lang.Object
implements javax.media.protocol.PullBufferStream


Field Summary
 
Fields inherited from interface javax.media.protocol.SourceStream
LENGTH_UNKNOWN
 
Constructor Summary
MovieWriter.ImageSourceStream(int width, int height)
           
 
Method Summary
 boolean endOfStream()
           
 javax.media.protocol.ContentDescriptor getContentDescriptor()
           
 long getContentLength()
           
 java.lang.Object getControl(java.lang.String type)
           
 java.lang.Object[] getControls()
           
 javax.media.Format getFormat()
           
 void read(javax.media.Buffer buffer)
           
 boolean willReadBlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovieWriter.ImageSourceStream

public MovieWriter.ImageSourceStream(int width,
                                     int height)
Method Detail

endOfStream

public boolean endOfStream()
Specified by:
endOfStream in interface javax.media.protocol.SourceStream

getContentDescriptor

public javax.media.protocol.ContentDescriptor getContentDescriptor()
Specified by:
getContentDescriptor in interface javax.media.protocol.SourceStream

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface javax.media.protocol.SourceStream

getControl

public java.lang.Object getControl(java.lang.String type)
Specified by:
getControl in interface javax.media.Controls

getControls

public java.lang.Object[] getControls()
Specified by:
getControls in interface javax.media.Controls

getFormat

public javax.media.Format getFormat()
Specified by:
getFormat in interface javax.media.protocol.PullBufferStream

read

public void read(javax.media.Buffer buffer)
Specified by:
read in interface javax.media.protocol.PullBufferStream

willReadBlock

public boolean willReadBlock()
Specified by:
willReadBlock in interface javax.media.protocol.PullBufferStream