public class PacketHeaderDataEncoder
extends java.lang.Object
PacketHeadersEncoder
class to
generate the packet headers.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PacketHeaderDataEncoder(int[][][] zeroBitPlanes,
int[][][] firstLayer)
Constructor.
|
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
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
public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
public void list(java.io.PrintStream out)
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)