|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jj2000.j2k.entropy.encoder.StdEntropyCoder.Compressor
Class that takes care of running the 'compressCodeBlock()' method with thread local arguments. Used only in multithreaded implementation.
Field Summary | |
(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 Summary | |
(package private) |
StdEntropyCoder.Compressor(int idx)
Creates a new compressor object with the given index. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final int idx
CBlkRateDistStats ccb
int c
int options
boolean rev
int lcType
int tType
private long[] time
Constructor Detail |
StdEntropyCoder.Compressor(int idx)
idx
- The index of this compressor.Method Detail |
public void run()
run
in interface java.lang.Runnable
long getTiming(int c)
public int getIdx()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |