[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.decoder.DecLyrdCBlk

DecLyrdCBlk Class

This class stores coded (compressed) code-blocks that are organized in layers. This object can contain either all code-block data (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.

       <p>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.</p>
Inheritance
DecLyrdCBlk
Namespace: CSJ2K.j2k.entropy.decoder
Assembly: C1.WPF.PdfViewer.4.6.2.dll
Syntax
public class DecLyrdCBlk : CodedCBlk

Constructors

Name Description
DecLyrdCBlk()

Fields

Name Description
dl

The coded (compressed) data length. The data is stored in the 'data' array (see super class).

ftpIdx

The index of the first truncation point returned

h

The height of the code-block

nTrunc

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

The number of layers in the coded data.

prog

The progressive flag, false by default (see above).

tsLengths

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

The horizontal coordinate of the upper-left corner of the code-block

uly

The vertical coordinate of the upper left corner of the code-block

w

The width of the code-block

Methods

Name Description
ToString()

Object information in a string

See Also