private class StdEntropyCoder.Compressor extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
(package private) int |
c
The component on which to compress
|
(package private) CBlkRateDistStats |
ccb
The object where to store the compressed code-block
|
private int |
idx
The index of this compressor.
|
(package private) int |
lcType
The length calculation type to use in compression
|
(package private) int |
options
The options bitmask to use in compression
|
(package private) boolean |
rev
The reversible flag to use in compression
|
private long[] |
time
The cumulative wall time for this compressor, for each
component.
|
(package private) int |
tType
The MQ termination type to use in compression
|
Constructor and Description |
---|
StdEntropyCoder.Compressor(int idx)
Creates a new compressor object with the given index.
|
Modifier and Type | Method and Description |
---|---|
int |
getIdx()
Returns the index of this compressor.
|
(package private) long |
getTiming(int c)
Returns the wall time spent by this compressor for component 'c'
since the last call to this method (or the creation of this
compressor if not yet called).
|
void |
run()
Calls the 'compressCodeBlock()' method with thread local
arguments.
|
private final int idx
CBlkRateDistStats ccb
int c
int options
boolean rev
int lcType
int tType
private long[] time
StdEntropyCoder.Compressor(int idx)
idx
- The index of this compressor.public void run()
long getTiming(int c)
public int getIdx()
Copyright © 2015 Open Microscopy Environment