| java.lang.Object jj2000.j2k.entropy.CodedCBlk
All known Subclasses: jj2000.j2k.entropy.encoder.CBlkRateDistStats, jj2000.j2k.entropy.decoder.DecLyrdCBlk,
Field Summary | |
public byte | data | public int | m The vertical index of the code-block, within the subband. | public int | n The horizontal index of the code-block, within the subband. | public int | skipMSBP The number of skipped most significant bit-planes. |
Constructor Summary | |
public | CodedCBlk() Creates a new CodedCBlk object wit the default values and without
allocating any space for its members. | public | CodedCBlk(int m, int n, int skipMSBP, byte data) Creates a new CodedCBlk object with the specified values.
Parameters: m - The horizontal index of the code-block, within the subband. Parameters: n - The vertical index of the code-block, within the subband. Parameters: skipMSBP - The number of skipped most significant bit-planes forthis code-block. Parameters: data - The compressed data. |
Method Summary | |
public String | toString() Returns the contents of the object in a string. |
data | public byte data(Code) | | The compressed data
|
m | public int m(Code) | | The vertical index of the code-block, within the subband.
|
n | public int n(Code) | | The horizontal index of the code-block, within the subband.
|
skipMSBP | public int skipMSBP(Code) | | The number of skipped most significant bit-planes.
|
CodedCBlk | public CodedCBlk()(Code) | | Creates a new CodedCBlk object wit the default values and without
allocating any space for its members.
|
CodedCBlk | public CodedCBlk(int m, int n, int skipMSBP, byte data)(Code) | | Creates a new CodedCBlk object with the specified values.
Parameters: m - The horizontal index of the code-block, within the subband. Parameters: n - The vertical index of the code-block, within the subband. Parameters: skipMSBP - The number of skipped most significant bit-planes forthis code-block. Parameters: data - The compressed data. This array is referenced by thisobject so it should not be modified after. |
toString | public String toString()(Code) | | Returns the contents of the object in a string. The string contains the
following data: 'm', 'n', 'skipMSBP' and 'data.length. This is used for
debugging.
A string with the contents of the object |
|
|