Name | Description | |
---|---|---|
PktDecoder Constructor | Creates an empty PktDecoder object associated with given decoder specifications and HeaderDecoder. This object must be initialized thanks to the restart method before being used. |
The following tables list the members exposed by PktDecoder.
Name | Description | |
---|---|---|
PktDecoder Constructor | Creates an empty PktDecoder object associated with given decoder specifications and HeaderDecoder. This object must be initialized thanks to the restart method before being used. |
Name | Description | |
---|---|---|
getNumPrecinct | Gets the number of precincts in a given component and resolution level. | |
getPPX | Returns the precinct partition width for the specified component, resolution level and tile. | |
getPPY | Returns the precinct partition height for the specified component, resolution level and tile. | |
getPrecInfo | Get PrecInfo instance of the specified resolution level, component and precinct. | |
readEPHMarker | Try to read an EPH marker. If it is not possible then an Error is thrown. | |
readPktBody | Reads specificied packet body in order to find offset of each code-block's piece of codeword. This use the list of found code-blocks in previous red packet head. | |
readPktHead | Read specified packet head and found length of each code-block's piece of codewords as well as number of skipped most significant bit-planes. | |
readSOPMarker | Try to read a SOP marker and check that its sequence number if not out of sequence. If so, an error is thrown. | |
restart | Re-initialize the PktDecoder instance at the beginning of a new tile. |