|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jj2000.j2k.codestream.reader.PktInfo
This class defines an object used to countain informations about a packet to which the current code-block belongs.
CBlkInfo
Field Summary | |
int |
cbLength
The length of the code-block in this packet (in bytes) |
int |
cbOff
The code-block offset in the codestream (for this packet) |
int |
layerIdx
The layer associated with the current code-block in this packet. |
int |
numTruncPnts
The number of truncation points that appear in this packet, and all previous packets, for this code-block. |
int |
packetIdx
Index of the packet |
int[] |
segLengths
The length of each terminated segment in the packet. |
Constructor Summary | |
PktInfo(int lyIdx,
int pckIdx)
Classe's constructor. |
Method Summary | |
java.lang.String |
toString()
Object information in a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int packetIdx
public int layerIdx
public int cbOff
public int cbLength
public int[] segLengths
public int numTruncPnts
Constructor Detail |
public PktInfo(int lyIdx, int pckIdx)
lyIdx
- The layer index for the code-block in this packetpckIdx
- The packet indexMethod Detail |
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |