| java.lang.Object jj2000.j2k.entropy.CodedCBlk jj2000.j2k.entropy.decoder.DecLyrdCBlk
DecLyrdCBlk | public class DecLyrdCBlk extends CodedCBlk (Code) | | This class stores coded (compressed) code-blocks that are organized
in layers. This object can contain either all the data of the
code-block (i.e. all layers), or a subset of all the layers that
make up the whole compressed-code-block. It is applicable to the
decoder engine only. Some data of the coded-block is stored
in the super class, see CodedCBlk.
A code-block may have its progressive attribute set (i.e. the
'prog' flag is true). If a code-block is progressive then it means
that more data for it may be obtained for an improved quality. If
the progressive flag is false then no more data is available from
the source for this code-block.
See Also: CodedCBlk |
Field Summary | |
public int | dl The coded (compressed) data length. | public int | ftpIdx | public int | h | public int | nTrunc The total number of truncation points from layer 1 to the last one in
this object. | public int | nl The number of layers in the coded data. | public boolean | prog The progressive flag, false by default (see above). | public int | tsLengths The length of each terminated segment. | public int | ulx | public int | uly | public int | w |
dl | public int dl(Code) | | The coded (compressed) data length. The data is stored in the
'data' array (see super class).
|
ftpIdx | public int ftpIdx(Code) | | The index of the first truncation point returned
|
h | public int h(Code) | | The height of the code-block
|
nTrunc | public int nTrunc(Code) | | The total number of truncation points from layer 1 to the last one in
this object. The number of truncation points in 'data' is
'nTrunc-ftpIdx'.
|
nl | public int nl(Code) | | The number of layers in the coded data.
|
prog | public boolean prog(Code) | | The progressive flag, false by default (see above).
|
tsLengths | public int tsLengths(Code) | | The length of each terminated segment. If null then there is only one
terminated segment, and its length is 'dl'. The number of terminated
segments is to be deduced from 'ftpIdx', 'nTrunc' and the coding
options. This array contains all terminated segments from the 'ftpIdx'
truncation point, upto, and including, the 'nTrunc-1' truncation
point. Any data after 'nTrunc-1' is not included in any length.
|
ulx | public int ulx(Code) | | The horizontal coordinate of the upper-left corner of the code-block
|
uly | public int uly(Code) | | The vertical coordinate of the upper left corner of the code-block
|
w | public int w(Code) | | The width of the code-block
|
toString | public String toString()(Code) | | Object information in a string
Information in a string |
|
|