|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jj2000.j2k.entropy.CodedCBlk
This is the generic class to store coded (compressed) code-block. It stores the compressed data as well as the necessary side-information.
This class is normally not used. Instead the EncRDCBlk, EncLyrdCBlk and the DecLyrdCBlk subclasses are used.
CBlkRateDistStats,
DecLyrdCBlk| Field Summary | |
byte[] |
data
The compressed data |
int |
m
The vertical index of the code-block, within the subband. |
int |
n
The horizontal index of the code-block, within the subband. |
int |
skipMSBP
The number of skipped most significant bit-planes. |
| Constructor Summary | |
CodedCBlk()
Creates a new CodedCBlk object wit the default values and without allocating any space for its members. |
|
CodedCBlk(int m,
int n,
int skipMSBP,
byte[] data)
Creates a new CodedCBlk object with the specified values. |
|
| Method Summary | |
java.lang.String |
toString()
Returns the contents of the object in a string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int n
public int m
public int skipMSBP
public byte[] data
| Constructor Detail |
public CodedCBlk()
public CodedCBlk(int m,
int n,
int skipMSBP,
byte[] data)
m - The horizontal index of the code-block, within the subband.n - The vertical index of the code-block, within the subband.skipMSBP - The number of skipped most significant bit-planes for
this code-block.data - The compressed data. This array is referenced by this
object so it should not be modified after.| Method Detail |
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||