Changeset 217

Show
Ignore:
Timestamp:
04/22/06 12:32:28 (2 years ago)
Author:
goodea
Message:

FIFO

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • misc/java/src/edu/cmu/cs/cc3/Pixbuf.java

    r216 r217  
    2222    int width, height; 
    2323 
     24     
    2425    public abstract void rewind(); 
    2526 
     
    8788    } 
    8889 
    89     public abstract void readRows(byte[] mem, int rows); 
    90  
     90    public abstract byte read(); 
     91     
     92    public abstract void skip(); 
     93     
     94     
    9195    public void setCOI(int channel) { 
    9296        coi = channel; 
    93     } 
    94  
    95     public byte[] allocateRows(int rows) { 
    96         int s = coi == CHANNEL_ALL ? 3 : 1; 
    97         return new byte[s * rows * width]; 
    9897    } 
    9998