[]
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 'getNextCodeBlock()' a new coded code-block is returned. The code-block are retruned in no specific-order.
<p>This interface is the source of data for the rate allocator. See the
'PostCompRateAllocator' class.</p><p>For each coded-code-block the entropy-coded data is returned along with
the rate-distortion statistics in a 'CBlkRateDistStats' object.</p>
public interface CodedCBlkDataSrcEnc : ForwWTDataProps, ImgData
Name | Description |
---|---|
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'.
|
getPPX(int, int, int) | Returns the width of a packet for the specified tile-component and resolution level. |
getPPY(int, int, int) | Returns the height of a packet for the specified tile-component and resolution level. |
precinctPartitionUsed(int, int) | Returns true if the precinct partition is used for the specified component and tile, returns false otherwise |