[]
Read specified packet head and found length of each code-block's piece of codewords as well as number of skipped most significant bit-planes.
public virtual bool readPktHead(int l, int r, int c, int p, CBlkInfo[][][] cbI, int[] nb)
Type | Name | Description |
---|---|---|
int | l | layer index |
int | r | Resolution level index |
int | c | Component index |
int | p | Precinct index |
CBlkInfo[][][] | cbI | CBlkInfo array of relevant component and resolution level. |
int[] | nb | The number of bytes to read in each tile before reaching output rate (used by truncation mode) |
Type | Description |
---|---|
bool | True if specified output rate or EOF is reached. |