public static class QuantizeProcessor.DoubleQuantCompressor extends QuantizeProcessor implements ICompressor<DoubleBuffer>
QuantizeProcessor.DoubleQuantCompressor, QuantizeProcessor.FloatQuantCompressorquantizeOption| Constructor and Description |
|---|
DoubleQuantCompressor(QuantizeOption quantizeOption,
ICompressor<IntBuffer> postCompressor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compress(DoubleBuffer buffer,
ByteBuffer compressed)
compress the buffer into the byte buffer.
|
void |
decompress(ByteBuffer compressed,
DoubleBuffer buffer)
Decompress the byte buffer and restore the buffer from it, again enough
space must already be allocated.
|
getQuantize, quantize, quantize, unquantizepublic DoubleQuantCompressor(QuantizeOption quantizeOption, ICompressor<IntBuffer> postCompressor)
public boolean compress(DoubleBuffer buffer, ByteBuffer compressed)
ICompressorcompress in interface ICompressor<DoubleBuffer>buffer - the buffer to compress.compressed - the compressed datapublic void decompress(ByteBuffer compressed, DoubleBuffer buffer)
ICompressordecompress in interface ICompressor<DoubleBuffer>compressed - the compressed databuffer - the buffer to fill with the uncompressed data.Copyright © 1996–2018 nom-tam-fits. All rights reserved.