Method | Description | |
---|---|---|
CodestreamManipulator ( System.Stream stream, int nt, int pptp, bool ppm, bool ppt, bool tempSop, bool tempEph ) : System.Collections.Generic |
Instantiates a codestream manipulator..
|
|
doCodestreamManipulation ( ) : int |
This method performs the actual manipulation of the codestream which is the reparsing for tile parts and packed packet headers
|
Method | Description | |
---|---|---|
InitBlock ( ) : void | ||
createTileParts ( ) : void |
This method creates the tileparts from the buffered tile headers, packet headers and packet data
|
|
parseAndFind ( |
This method parses the codestream for SOT, SOP and EPH markers and removes header header bits signalling SOP and EPH markers if packed packet headers are used
|
|
readAndBuffer ( |
This method reads and buffers the tile headers, packet headers and packet data.
|
|
writeNewCodestream ( |
This method writes the new codestream to the file.
|
public CodestreamManipulator ( System.Stream stream, int nt, int pptp, bool ppm, bool ppt, bool tempSop, bool tempEph ) : System.Collections.Generic | ||
stream | System.Stream | The output stream /// /// |
nt | int | The number of tiles in the image /// /// |
pptp | int | Packets per tile-part. If zero, no division into tileparts /// is performed /// /// |
ppm | bool | Flag indicating that PPM marker is used /// /// |
ppt | bool | Flag indicating that PPT marker is used /// /// |
tempSop | bool | Flag indicating whether SOP merker should be removed /// /// |
tempEph | bool | Flag indicating whether EPH merker should be removed /// /// |
return | System.Collections.Generic |