public abstract class RiceCompressor<T extends Buffer> extends Object implements ICompressor<T>
Modifier and Type | Class and Description |
---|---|
static class |
RiceCompressor.ByteRiceCompressor |
static class |
RiceCompressor.DoubleRiceCompressor |
static class |
RiceCompressor.FloatRiceCompressor |
static class |
RiceCompressor.IntRiceCompressor |
static class |
RiceCompressor.ShortRiceCompressor |
Modifier and Type | Method and Description |
---|---|
protected void |
compress(int dataLength,
int firstPixel,
BitBuffer buffer)
compress the integer tiledImageOperation on a rise compressed byte
buffer.
|
protected void |
decompressBuffer(ByteBuffer readBuffer,
int nx)
decompress the readbuffer and fill the pixelarray.
|
protected abstract int |
nextPixel() |
protected abstract void |
nextPixel(int pixel) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compress, decompress
protected void compress(int dataLength, int firstPixel, BitBuffer buffer)
dataLength
- length of the data to compressfirstPixel
- the value of the first pixelbuffer
- the buffer to write toprotected void decompressBuffer(ByteBuffer readBuffer, int nx)
readBuffer
- input buffernx
- the number of pixel to uncompressprotected abstract int nextPixel()
protected abstract void nextPixel(int pixel)
Copyright © 1996–2016 nom-tam-fits. All rights reserved.