[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.encoder.EntropyCoder.getNextCodeBlock

getNextCodeBlock Method

getNextCodeBlock(int, CBlkRateDistStats)

Returns the next coded code-block in the current tile for the specified component, as a copy (see below). The order in which code-blocks are returned is not specified. However each code-block is returned only once and all code-blocks will be returned if the method is called 'N' times, where 'N' is the number of code-blocks in the tile. After all the code-blocks have been returned for the current tile calls to this method will return 'null'.

       <p>When changing the current tile (through 'setTile()' or 'nextTile()')
       this method will always return the first code-block, as if this method
       was never called before for the new current tile.</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.</p>
Declaration
public abstract CBlkRateDistStats getNextCodeBlock(int param1, CBlkRateDistStats param2)
Parameters
Type Name Description
int param1
CBlkRateDistStats param2
Returns
Type Description
CBlkRateDistStats

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

Implements
See Also