| java.lang.Object jj2000.j2k.codestream.reader.PktInfo
PktInfo | public class PktInfo (Code) | | This class defines an object used to countain informations about a packet
to which the current code-block belongs.
See Also: CBlkInfo |
Field Summary | |
public int | cbLength | public int | cbOff | public int | layerIdx The layer associated with the current code-block in this packet. | public int | numTruncPnts The number of truncation points that appear in this packet, and all
previous packets, for this code-block. | public int | packetIdx | public int | segLengths The length of each terminated segment in the packet. |
Constructor Summary | |
public | PktInfo(int lyIdx, int pckIdx) Classe's constructor. |
Method Summary | |
public String | toString() Object information in a string. |
cbLength | public int cbLength(Code) | | The length of the code-block in this packet (in bytes)
|
cbOff | public int cbOff(Code) | | The code-block offset in the codestream (for this packet)
|
layerIdx | public int layerIdx(Code) | | The layer associated with the current code-block in this packet.
|
numTruncPnts | public int numTruncPnts(Code) | | The number of truncation points that appear in this packet, and all
previous packets, for this code-block. This is the number of passes
that can be decoded with the information in this packet and all
previous ones.
|
packetIdx | public int packetIdx(Code) | | Index of the packet
|
segLengths | public int segLengths(Code) | | The length of each terminated segment in the packet. The total is the
same as 'cbLength'. It can be null if there is only one terminated
segment, in which case 'cbLength' holds the legth of that segment
|
PktInfo | public PktInfo(int lyIdx, int pckIdx)(Code) | | Classe's constructor.
Parameters: lyIdx - The layer index for the code-block in this packet Parameters: pckIdx - The packet index |
toString | public String toString()(Code) | | Object information in a string.
Object information |
|
|