|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCADI.Server.LogicalTarget.JPEG2000.Codestream.PacketHeaderDataEncoder
public class PacketHeaderDataEncoder
This class records precinct-state information to be used by the PacketHeadersEncoder class to
generate the packet headers.
| Field Summary | |
|---|---|
int[][][] |
firstLayer
Is the layer in which a code block is first-time included. |
int |
lastEncodedLayer
Indicates the number of the last layer that has already been encoded. |
int[][][] |
lBlock
Code-block state variable. |
TagTreeEncoder[] |
TTInclusionInformation
Tag Tree where is the first layer which a packet is included |
TagTreeEncoder[] |
TTZeroBitPlanes
Tag Tree with the number of missing most significant bit planes for each codeblock |
| Constructor Summary | |
|---|---|
PacketHeaderDataEncoder(int[][][] zeroBitPlanes,
int[][][] firstLayer)
Constructor. |
|
| Method Summary | |
|---|---|
void |
list(java.io.PrintStream out)
Prints this Packet Header Data out to the specified output stream. |
void |
reset()
Sets the attributes to its initial values. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public TagTreeEncoder[] TTInclusionInformation
public TagTreeEncoder[] TTZeroBitPlanes
public int[][][] lBlock
Value 0 means that the packet has not been incluyed in any layer.
Indexes mean: 1st subband 2nd yBlock 3rd xBlock
public int lastEncodedLayer
public int[][][] firstLayer
| Constructor Detail |
|---|
public PacketHeaderDataEncoder(int[][][] zeroBitPlanes,
int[][][] firstLayer)
throws ErrorException
zeroBitPlanes - is the same as CADI.Server.LogicalTarget.JPEG2000.JP2LogicalTarget#zeroBitPlanes
but this one only has the indexes [subband][yBlock][xBlock]firstLayer - is the first layer in which the code-block is first
included. Indexes mean [subband][yBlock][xBlock]
ErrorException| Method Detail |
|---|
public void reset()
public java.lang.String toString()
toString in class java.lang.Objectpublic void list(java.io.PrintStream out)
out - an output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||