# CSJ2K.j2k.entropy.decoder.DecLyrdCBlk

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk" class="text-break">DecLyrdCBlk Class
</h1>
  <div class="markdown level0 summary"><p>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>
<pre><code>       &lt;p&gt;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.&lt;/p&gt;
</code></pre>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="CSJ2K.j2k.entropy.CodedCBlk.html">CodedCBlk</a></div>
    <div class="level2"><span class="xref">DecLyrdCBlk</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CSJ2K.j2k.entropy.decoder.html">CSJ2K.j2k.entropy.decoder</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Pdf.4.8.dll</h6>
  <h5 id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DecLyrdCBlk : CodedCBlk</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DecLyrdCBlk
    Inherits CodedCBlk</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk__ctor" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.#ctor">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.-ctor.html#CSJ2K_j2k_entropy_decoder_DecLyrdCBlk__ctor">DecLyrdCBlk()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_dl" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.dl">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.dl.html">dl</a>
        </td>
        <td class="markdown level1 summary"><p>The coded (compressed) data length. The data is stored in the 'data'
array (see super class).</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_ftpIdx" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.ftpIdx">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.ftpIdx.html">ftpIdx</a>
        </td>
        <td class="markdown level1 summary"><p>The index of the first truncation point returned</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_h" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.h">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.h.html">h</a>
        </td>
        <td class="markdown level1 summary"><p>The height of the code-block</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_nTrunc" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.nTrunc">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.nTrunc.html">nTrunc</a>
        </td>
        <td class="markdown level1 summary"><p>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'.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_nl" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.nl">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.nl.html">nl</a>
        </td>
        <td class="markdown level1 summary"><p>The number of layers in the coded data.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_prog" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.prog">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.prog.html">prog</a>
        </td>
        <td class="markdown level1 summary"><p>The progressive flag, false by default (see above).</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_tsLengths" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.tsLengths">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.tsLengths.html">tsLengths</a>
        </td>
        <td class="markdown level1 summary"><p>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.</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_ulx" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.ulx">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.ulx.html">ulx</a>
        </td>
        <td class="markdown level1 summary"><p>The horizontal coordinate of the upper-left corner of the code-block</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_uly" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.uly">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.uly.html">uly</a>
        </td>
        <td class="markdown level1 summary"><p>The vertical coordinate of the upper left corner of the code-block</p>
</td>
      </tr>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_w" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.w">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.w.html">w</a>
        </td>
        <td class="markdown level1 summary"><p>The width of the code-block</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_ToString" data-uid="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.ToString">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.ToString.html#CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Object information in a string</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="CSJ2K.j2k.entropy.CodedCBlk.html">CodedCBlk</a></div>
  </div>

</div>
