[]
        
(Showing Draft Content)

CSJ2K.j2k.quantization.dequantizer.Dequantizer.getCodeBlock

getCodeBlock Method

getCodeBlock(int, int, int, SubbandSyn, DataBlk)

Returns the specified code-block in the current tile for the specified component, as a copy (see below).

       <p>The returned code-block may be progressive, which is indicated by
       the 'progressive' variable of the returned 'DataBlk' object. If a
       code-block is progressive it means that in a later request to this
       method for the same code-block it is possible to retrieve data which is
       a better approximation, since meanwhile more data to decode for the
       code-block could have been received. If the code-block is not
       progressive then later calls to this method for the same code-block
       will return the exact same data values.</p><p>The data returned by this method is always a copy of the internal
       data of this object, if any, and it can be modified "in place" without
       any problems after being returned. The 'offset' of the returned data is 
       0, and the 'scanw' is the same as the code-block width. See the
       'DataBlk' class.</p>
Declaration
public abstract DataBlk getCodeBlock(int param1, int param2, int param3, SubbandSyn param4, DataBlk param5)
Parameters
Type Name Description
int param1
int param2
int param3
SubbandSyn param4
DataBlk param5
Returns
Type Description
DataBlk

The next code-block in the current tile for component 'n', or null if all code-blocks for the current tile have been returned.

Implements
See Also