[]
This class contains location of code-blocks' piece of codewords (there is one piece per layer) and some other information.
public class CBlkInfo
Name | Description |
---|---|
CBlkInfo(int, int, int, int, int) | Constructs a new instance with specified number of layers and code-block coordinates. The number corresponds to the maximum piece of codeword for one code-block. |
Name | Description |
---|---|
ctp | The cumulative number of truncation points |
h | Height of the code-block |
len | Length of each piece of code-block's codewords |
msbSkipped | The number of most significant bits which are skipped for this code-block (= Mb-1-bitDepth). |
ntp | The number of truncation point for each layer |
off | Offset of each piece of code-block's codewords in the file |
pktIdx | Index of the packet where each layer has been found |
segLen | The length of each segment (used with regular termination or in selective arithmetic bypass coding mode) |
ulx | Upper-left x-coordinate of the code-block (relative to the tile) |
uly | Upper-left y-coordinate of the code-block (relative to the tile) |
w | Width of the code-block |
Name | Description |
---|---|
ToString() | Object information in a string. |
addNTP(int, int) | Adds the number of new truncation for specified layer. |