class JPEGTileDecoder.TileCache extends Object
| Modifier and Type | Field and Description | 
|---|---|
private JPEGCodec | 
codec  | 
private Hashtable<loci.common.Region,byte[]> | 
compressedTiles  | 
private int | 
hh  | 
private loci.common.Region | 
lastRegion  | 
private byte[] | 
lastTile  | 
private CodecOptions | 
options  | 
private int | 
row  | 
private static int | 
ROW_COUNT  | 
private ByteVector | 
toCompress  | 
private int | 
yy  | 
| Constructor and Description | 
|---|
TileCache(int yy,
         int hh)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(byte[] pixels,
   int x,
   int y,
   int w,
   int h)  | 
void | 
add(int[] pixels,
   int x,
   int y,
   int w,
   int h)  | 
byte[] | 
get(int x,
   int y,
   int w,
   int h)  | 
private static final int ROW_COUNT
private Hashtable<loci.common.Region,byte[]> compressedTiles
private JPEGCodec codec
private CodecOptions options
private ByteVector toCompress
private int row
private loci.common.Region lastRegion
private byte[] lastTile
private int yy
private int hh
public void add(byte[] pixels,
                int x,
                int y,
                int w,
                int h)
         throws FormatException,
                IOException
FormatExceptionIOExceptionpublic void add(int[] pixels,
                int x,
                int y,
                int w,
                int h)
         throws FormatException,
                IOException
FormatExceptionIOExceptionpublic byte[] get(int x,
                  int y,
                  int w,
                  int h)
           throws FormatException,
                  IOException
FormatExceptionIOExceptionCopyright © 2017 Open Microscopy Environment