# CSJ2K.j2k.entropy.decoder.CodedCBlkDataSrcDec

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="CSJ2K_j2k_entropy_decoder_CodedCBlkDataSrcDec" data-uid="CSJ2K.j2k.entropy.decoder.CodedCBlkDataSrcDec" class="text-break">CodedCBlkDataSrcDec Interface
</h1>
  <div class="markdown level0 summary"><p>This interface defines a source of entropy coded data and methods to
transfer it in a code-block by code-block basis. In each call to
'geCodeBlock()' a specified coded code-block is returned.</p>
<pre><code>       &lt;p&gt;This interface is the source of data for the entropy decoder. See the
       'EntropyDecoder' class.&lt;/p&gt;&lt;p&gt;For each coded-code-block the entropy-coded data is returned along with
       its truncation point information in a 'DecLyrdCBlk' object.&lt;/p&gt;
</code></pre>
</div>
  <div class="markdown level0 conceptual"></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.WPF.ReportViewer.4.6.2.dll</h6>
  <h5 id="CSJ2K_j2k_entropy_decoder_CodedCBlkDataSrcDec_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface CodedCBlkDataSrcDec : InvWTData, MultiResImgData</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface CodedCBlkDataSrcDec
    Inherits InvWTData, MultiResImgData</code></pre>
  </div>
  <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_CodedCBlkDataSrcDec_getCodeBlock_System_Int32_System_Int32_System_Int32_CSJ2K_j2k_wavelet_synthesis_SubbandSyn_System_Int32_System_Int32_CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_" data-uid="CSJ2K.j2k.entropy.decoder.CodedCBlkDataSrcDec.getCodeBlock(System.Int32,System.Int32,System.Int32,CSJ2K.j2k.wavelet.synthesis.SubbandSyn,System.Int32,System.Int32,CSJ2K.j2k.entropy.decoder.DecLyrdCBlk)">
          <a class="xref" href="CSJ2K.j2k.entropy.decoder.CodedCBlkDataSrcDec.getCodeBlock.html#CSJ2K_j2k_entropy_decoder_CodedCBlkDataSrcDec_getCodeBlock_System_Int32_System_Int32_System_Int32_CSJ2K_j2k_wavelet_synthesis_SubbandSyn_System_Int32_System_Int32_CSJ2K_j2k_entropy_decoder_DecLyrdCBlk_">getCodeBlock(int, int, int, SubbandSyn, int, int, DecLyrdCBlk)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the specified coded code-block, for the specified component, in
the current tile. The first layer to return is indicated by 'fl'. The
number of layers that is returned depends on 'nl' and the amount of
data available.</p>
<pre><code>       &lt;p&gt;The argument 'fl' is to be used by subsequent calls to this method
       for the same code-block. In this way supplamental data can be retrieved
       at a later time. The fact that data from more than one layer can be
       returned means that several packets from the same code-block, of the
       same component, and the same tile, have been concatenated.&lt;/p&gt;&lt;p&gt;The returned compressed code-block can have its progressive
       attribute set. If this attribute is set it means that more data can be
       obtained by subsequent calls to this method (subject to transmission
       delays, etc). If the progressive attribute is not set it means that the
       returned data is all the data that can be obtained for the specified
       subblock.&lt;/p&gt;&lt;p&gt;The compressed code-block is uniquely specified by the current tile,
       the component (identified by 'c'), the subband (indentified by 'sb')
       and the code-bock vertical and horizontal indexes 'm' and 'n'.&lt;/p&gt;&lt;p&gt;The 'ulx' and 'uly' members of the returned 'DecLyrdCBlk' object
       contain the coordinates of the top-left corner of the block, with
       respect to the tile, not the subband.&lt;/p&gt;
</code></pre>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="CSJ2K.j2k.entropy.decoder.EntropyDecoder.html">EntropyDecoder</a></div>
      <div><a class="xref" href="CSJ2K.j2k.entropy.decoder.DecLyrdCBlk.html">DecLyrdCBlk</a></div>
  </div>

</div>
