HeaderEncoder Class Members
In This Topic
The following tables list the members exposed by HeaderEncoder.
Public Constructors
Public Fields
| Name | Description |
| OPT_PREFIX | The prefix for the header encoder options: 'H' |
Top
Public Properties
| Name | Description |
| Length | Returns the length of the header. |
| ParameterInfo | Returns the parameters that are used in this class and implementing classes. It returns a 2D String array. Each of the 1D arrays is for a different option, and they have 3 elements. The first element is the option name, the second one is the synopsis, the third one is a long description of what the parameter is and the fourth is its default value. The synopsis or description may be 'null', in which case it is assumed that there is no synopsis or description of the option, respectively. Null may be returned if no options are supported. |
Top
Public Methods
| Name | Description |
| encodeMainHeader | Write main header. JJ2000 main header corresponds to the following sequence of marker segments:
- SOC
- SIZ
- COD
- COC (if needed)
- QCD
- QCC (if needed)
- POC (if needed)
|
| encodeTilePartHeader | Writes tile-part header. JJ2000 tile-part header corresponds to the following sequence of marker segments:
- SOT
- COD (if needed)
- COC (if needed)
- QCD (if needed)
- QCC (if needed)
- RGN (if needed)
- POC (if needed)
- SOD
|
| reset | Resets the contents of this HeaderEncoder to its initial state. It erases all the data in the header buffer and reactualizes the headerLength field of the bit stream writer. |
| writeTo | Overloaded. Writes the header to the specified BinaryDataOutput. |
Top
See Also