|
Grok 20.3.2
|
#include <TileProcessor.h>
Public Member Functions | |
| TileProcessor (uint16_t index, TileCodingParams *tcp, CodeStream *codeStream, IStream *stream, bool isCompressor, uint32_t tileCacheStrategy) | |
| Constructs a TileProcessor. | |
| virtual | ~TileProcessor () override |
| Destroys a TileProcessor. | |
| void | setProcessors (MarkerParser *parser) override |
| Sets the marker parser for processing. | |
| virtual bool | init (void) override |
| Initializes a TileProcessor. | |
| void | setStream (IStream *stream, bool ownsStream) override |
| Sets the stream for input/output operations. | |
| bool | decompressWithTLM (const std::shared_ptr< TPFetchSeq > &tilePartFetchSeq, CoderPool *streamPool, Rect32 unreducedImageBounds, std::function< void()> post, TileFutureManager &futures) override |
| Decompresses the tile using Tile Length Markers (TLM). | |
| bool | decompressPrepareWithTLM (const std::shared_ptr< TPFetchSeq > &tilePartFetchSeq) override |
| Prepares for decompression using Tile Length Markers (TLM). | |
| bool | doPostT1 (void) override |
| Performs post T1 processing. | |
| void | prepareForDecompression (void) override |
| Prepares for decompression. | |
| bool | parseTilePart (std::vector< std::unique_ptr< MarkerParser > > *parsers, IStream *bifurcatedStream, uint16_t mainMarkerId, TilePartInfo tilePartInfo) override |
| Parses tile part. | |
| bool | decompressFromCachedTileParts () override |
| Parse tile-part packets using cached SOT offsets from tilePartSeq_, without re-reading SOT markers. | |
| bool | readSOT (IStream *stream, uint8_t *headerData, uint16_t headerSize, TilePartInfo &tilePartInfo, bool needToReadIndexAndLength) override |
| Reads SOT marker. | |
| void | scheduleAndRunDecompress (CoderPool *coderPool, Rect32 unreducedImageBounds, std::function< void()> post, TileFutureManager &futures) override |
| Schedule T2/T1 decompression. | |
| void | post_decompressT2T1 (GrkImage *scratch) override |
| Performs post T2+T1 processing. | |
| bool | differentialUpdate (Rect32 unreducedImageBounds) override |
| Updates differential decompress state. | |
| GrkImage * | getImage (void) override |
| Gets the tile GrkImage. | |
| void | setImage (GrkImage *img) override |
| Gets the tile GrkImage. | |
| Rect32 | getUnreducedTileWindow (void) override |
| Get the Unreduced Tile Window object. | |
| TileCodingParams * | getTCP (void) override |
| uint8_t | getMaxNumDecompressResolutions (void) override |
| Get the Max Num Decompress Resolutions object. | |
| IStream * | getStream (void) override |
| Get the Stream object. | |
| uint16_t | getIndex (void) const override |
| Get the Index object. | |
| void | incrementIndex (void) override |
| Increments the tile index. | |
| Tile * | getTile (void) override |
| Get the Tile object. | |
| grk_progression_state | getProgressionState () override |
| Gets the progression state. | |
| CodecScheduler * | getScheduler (void) override |
| Get the Scheduler object. | |
| bool | isCompressor (void) override |
| uint64_t | getNumProcessedPackets (void) override |
| Get the Num Processed Packets object. | |
| void | incNumProcessedPackets (void) override |
| Increments the number of processed packets by 1. | |
| void | incNumProcessedPackets (uint64_t numPackets) override |
| void | incNumReadDataPackets (void) override |
| Increments the number of read data packets by 1. | |
| uint32_t | getTileCacheStrategy (void) override |
| Gets the Tile Cache Strategy object. | |
| grk_plugin_tile * | getCurrentPluginTile (void) const override |
| Gets the Current Plugin Tile object. | |
| void | setCurrentPluginTile (grk_plugin_tile *tile) override |
| Set the Current Plugin Tile object. | |
| CodingParams * | getCodingParams (void) override |
| Get the Coding Params object. | |
| GrkImage * | getHeaderImage (void) override |
| Get the Header Image object. | |
| std::shared_ptr< PacketLengthCache< uint32_t > > | getPacketLengthCache (void) override |
| Get the Packet Length Cache object. | |
| bool | needsMctDecompress (uint16_t compno) override |
| bool | needsMctDecompress (void) override |
| bool | shouldDecodeComponent (uint16_t compno) override |
| Check if a component should be decoded based on user selection. | |
| Mct * | getMCT (void) override |
| gets Mct | |
| void | release (void) override |
| Releases resources - image and tile. | |
| void | release (uint32_t strategy) override |
| release select resources | |
| void | releaseForSwath () override |
| Unconditionally releases both image and tile data (swath consumer path). | |
| bool | readPLT (uint8_t *headerData, uint16_t headerSize) override |
| Reads a PLT marker (Packet length, tile-part header). | |
| bool | allSOTMarkersParsed () override |
| Checks if tile is completely parsed. | |
| bool | hasUnparsedTileParts () override |
| True when we know for certain that tile parts are missing. | |
| void | setTruncated (void) override |
| Sets processor to truncated if not all tile parts have been parsed. | |
| bool | hasError (void) override |
| Checks if an error has occurred. | |
| bool | isInitialized (void) override |
| Checks if the processor is initialized. | |
| bool | isBestEffortDecompressed (void) override |
| Check if tile was decompressed on a best-effort basis (may have been truncated or errored). | |
| void | setBestEffortDecompressed (void) override |
| bool | scheduledForDecompression (void) override |
| void | resetSOTParsing () override |
| Reset SOT parsing state so the tile can be re-parsed from the codestream. | |
| bool | reinitForReDecompress (void) override |
| Reinitialize for re-decompression after LRU eviction. | |
| bool | isStripOutputWritten () const override |
| Check if strip-mode output was written directly (bypass multi-tile band callback). | |
| Public Member Functions inherited from grk::ITileProcessor | |
| virtual | ~ITileProcessor ()=default |
| Destroys the TileProcessor. | |
Protected Attributes | |
| GrkImage * | headerImage_ = nullptr |
| header GrkImage | |
| grk_plugin_tile * | current_plugin_tile_ = nullptr |
| grk_plugin_tile | |
| CodingParams * | cp_ = nullptr |
| CodingParams | |
| std::shared_ptr< PacketLengthCache< uint32_t > > | packetLengthCache_ |
| PacketLengthCache | |
| Tile * | tile_ = nullptr |
| Tile | |
| uint16_t | tileIndex_ = 0 |
| index of tile being currently compressed/decompressed | |
| TileCodingParams * | tcp_ = nullptr |
| TileCodingParams | |
| IStream * | stream_ = nullptr |
| IStream | |
| Mct * | mct_ = nullptr |
| MCT | |
| CodecScheduler * | scheduler_ = nullptr |
| CodecScheduler | |
| SchedulerFreebyrd * | schedulerFreebyrd_ = nullptr |
| SchedulerFreebyrd — strip-based decompression via freebyrd pool | |
Private Member Functions | |
| void | prepareConcurrentParsing (void) |
| void | deallocBuffers () |
| deallocate buffers | |
| bool | createDecompressTileComponentWindows (void) |
| Create a Tile Window Buffers object. | |
| void | decompress_synch_plugin_with_host (void) |
Private Attributes | |
| std::vector< tf::Task > | blockTasks_ |
| bool | initialized_ = false |
| std::atomic< bool > | success_ = true |
| bool | concurrentFlowsStale_ = false |
| std::unique_ptr< FlowComponent > | rootFlow_ |
| std::unique_ptr< FlowComponent > | tileHeaderParseFlow_ |
| std::unique_ptr< FlowComponent > | prepareFlow_ |
| std::vector< std::unique_ptr< FlowComponent > > | staleParsing_ |
| std::unique_ptr< FlowComponent > | t2ParseFlow_ |
| std::unique_ptr< FlowComponent > | allocAndScheduleFlow_ |
| std::unique_ptr< FlowComponent > | postDecompressFlow_ |
| MarkerParser * | markerParser_ = nullptr |
| MarkerParser | |
| uint64_t | numProcessedPackets_ = 0 |
| number of packets processed | |
| std::atomic< uint64_t > | numReadDataPackets_ = 0 |
| number of data packets read | |
| TilePartInfo | tilePartInfo_ |
| uint64_t | startPos_ = 0 |
| uint8_t | numSOTsParsed_ = 0 |
| number of SOT markers parsed | |
| bool | truncated_ = false |
| true if one of this tile's tile parts is truncated | |
| bool | bestEffortDecompressed_ = false |
| true if tile was decompressed on a best-effort basis (may have been truncated or errored). | |
| bool | scheduledForDecompression_ = false |
| GrkImage * | image_ = nullptr |
| GrkImage for this tile | |
| bool | isCompressor_ |
| true if tile will be compressed | |
| Rect32 | unreducedImageWindow_ |
| unreduced image window | |
| uint32_t | tileCacheStrategy_ = 0 |
| tile cache strategy | |
| std::shared_ptr< TPFetchSeq > | tilePartFetchSeq_ |
| TPSeq | tilePartSeq_ |
| std::vector< uint8_t > | threadTilePart_ |
| std::mutex | pltMutex_ |
| grk_io_band_callback | ioBandCallback_ = nullptr |
| void * | ioBandUserData_ = nullptr |
| bool | stripOutputWritten_ = false |
| grk::TileProcessor::TileProcessor | ( | uint16_t | index, |
| TileCodingParams * | tcp, | ||
| CodeStream * | codeStream, | ||
| IStream * | stream, | ||
| bool | isCompressor, | ||
| uint32_t | tileCacheStrategy ) |
Constructs a TileProcessor.
| index | tile index |
| tcp | TileCodingParams |
| codeStream | CodeStream |
| stream | IStream |
| isCompressor | true if the tile will be compressed |
| tileCacheStrategy | tile cache strategy |
References cp_, current_plugin_tile_, grk::CodeStream::getBandCallback(), grk::CodeStream::getBandUserData(), getCodingParams(), getCurrentPluginTile(), getHeaderImage(), headerImage_, image_, ioBandCallback_, ioBandUserData_, isCompressor(), isCompressor_, markerParser_, mct_, TFSingleton::num_threads(), packetLengthCache_, setProcessors(), setStream(), tcp_, threadTilePart_, tile_, tileCacheStrategy_, tileIndex_, and truncated_.
Referenced by grk::TileProcessorCompress::TileProcessorCompress().
|
overridevirtual |
Destroys a TileProcessor.
References GRK_TILE_CACHE_NONE, isCompressor_, markerParser_, mct_, release(), scheduler_, schedulerFreebyrd_, and tcp_.
|
overridevirtual |
Checks if tile is completely parsed.
If the tile is truncated, then it is considered completely parsed.
Implements grk::ITileProcessor.
References numSOTsParsed_, tcp_, and truncated_.
Referenced by decompressPrepareWithTLM().
|
private |
Create a Tile Window Buffers object.
References cp_, grk_get_data_type(), GRK_INT_16, headerImage_, initialized_, needsMctDecompress(), tcp_, tile_, and unreducedImageWindow_.
Referenced by differentialUpdate(), and scheduleAndRunDecompress().
|
private |
|
private |
!!! plugin still uses stepsize/2
References current_plugin_tile_, GRK_BIBO_EXTRA_BITS, grk::grklog, headerImage_, and tile_.
Referenced by scheduleAndRunDecompress().
|
overridevirtual |
Parse tile-part packets using cached SOT offsets from tilePartSeq_, without re-reading SOT markers.
Used on second decode for tiles whose SOTs were already parsed on the first pass.
Implements grk::ITileProcessor.
References getStream(), markerParser_, parseTilePart(), prepareForDecompression(), grk::TilePartInfo::remainingTilePartBytes_, grk::sotMarkerSegmentLen, grk::TilePartInfo::tilePart_, grk::TilePartInfo::tilePartLength_, tilePartSeq_, and truncated_.
|
overridevirtual |
Prepares for decompression using Tile Length Markers (TLM).
| tilePartFetchSeq | Sequence for fetching tile parts |
Implements grk::ITileProcessor.
References allSOTMarkersParsed(), getStream(), grk::grklog, markerParser_, parseTilePart(), prepareForDecompression(), setStream(), grk::IStream::tell(), tileIndex_, tilePartFetchSeq_, tilePartInfo_, and truncated_.
Referenced by decompressWithTLM().
|
overridevirtual |
Decompresses the tile using Tile Length Markers (TLM).
| tilePartFetchSeq | Sequence for fetching tile parts |
| streamPool | Pool of coders for streaming |
| unreducedImageBounds | Bounds of the unreduced image |
| post | Post-decompression callback function |
| futures | Manager for tile futures |
Implements grk::ITileProcessor.
References decompressPrepareWithTLM(), and scheduleAndRunDecompress().
|
overridevirtual |
Updates differential decompress state.
| unreducedImageBounds |
Implements grk::ITileProcessor.
References cp_, createDecompressTileComponentWindows(), tcp_, tile_, and unreducedImageWindow_.
|
overridevirtual |
Performs post T1 processing.
Implements grk::ITileProcessor.
References current_plugin_tile_, and GRK_DECODE_POST_T1.
Referenced by post_decompressT2T1().
|
overridevirtual |
Get the Coding Params object.
Implements grk::ITileProcessor.
References cp_.
Referenced by readPLT(), TileProcessor(), and grk::TileProcessorCompress::TileProcessorCompress().
|
overridevirtual |
Gets the Current Plugin Tile object.
Implements grk::ITileProcessor.
References current_plugin_tile_.
Referenced by TileProcessor().
|
overridevirtual |
Get the Header Image object.
Implements grk::ITileProcessor.
References headerImage_.
Referenced by TileProcessor().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Get the Num Processed Packets object.
Implements grk::ITileProcessor.
References numProcessedPackets_.
|
overridevirtual |
Get the Packet Length Cache object.
Implements grk::ITileProcessor.
References packetLengthCache_.
Referenced by readPLT().
|
overridevirtual |
Gets the progression state.
Implements grk::ITileProcessor.
References tile_, and tileIndex_.
|
overridevirtual |
Get the Scheduler object.
Implements grk::ITileProcessor.
References scheduler_.
|
overridevirtual |
Get the Stream object.
Implements grk::ITileProcessor.
References markerParser_, and stream_.
Referenced by decompressFromCachedTileParts(), decompressPrepareWithTLM(), readSOT(), scheduleAndRunDecompress(), and setProcessors().
|
overridevirtual |
Implements grk::ITileProcessor.
References tcp_.
Referenced by grk::TileProcessorCompress::init(), and readSOT().
|
overridevirtual |
Get the Tile object.
Implements grk::ITileProcessor.
References tile_.
Referenced by scheduleAndRunDecompress().
|
overridevirtual |
Gets the Tile Cache Strategy object.
Implements grk::ITileProcessor.
References tileCacheStrategy_.
|
overridevirtual |
Get the Unreduced Tile Window object.
Implements grk::ITileProcessor.
References tile_, and unreducedImageWindow_.
|
overridevirtual |
Checks if an error has occurred.
Implements grk::ITileProcessor.
References success_.
Referenced by parseTilePart(), prepareForDecompression(), and scheduleAndRunDecompress().
|
overridevirtual |
True when we know for certain that tile parts are missing.
Returns true only when the SOT marker explicitly signalled a tile-part count (TNsot > 0) and fewer parts have been parsed so far. When TNsot is 0 (unspecified), we cannot tell whether parts are missing, so this returns false— callers should not assume the tile is incomplete.
Implements grk::ITileProcessor.
References numSOTsParsed_, tcp_, and truncated_.
|
overridevirtual |
|
overridevirtual |
Increments the number of processed packets by 1.
Implements grk::ITileProcessor.
References numProcessedPackets_.
|
overridevirtual |
Increments the number of read data packets by 1.
Implements grk::ITileProcessor.
References numReadDataPackets_.
|
overridevirtual |
|
overridevirtual |
Initializes a TileProcessor.
Implements grk::ITileProcessor.
Reimplemented in grk::TileProcessorCompress.
References grk::t1::BAND_ORIENT_LL, grk::ceildiv(), cp_, current_plugin_tile_, DEBUG_TILE_COMPONENT, grk::Resolution::genPrecinctPartition(), grk::ResSimple::getBandWindow(), grk_plugin_get_debug_state(), GRK_PLUGIN_STATE_DEBUG, grk::grklog, headerImage_, grk::Resolution::init(), initialized_, isCompressor(), isCompressor_, tcp_, tile_, grk::tile_equals(), and tileIndex_.
Referenced by grk::TileProcessorCompress::init(), prepareForDecompression(), and reinitForReDecompress().
|
overridevirtual |
Check if tile was decompressed on a best-effort basis (may have been truncated or errored).
Such tiles should not be re-decompressed on codec reuse.
Implements grk::ITileProcessor.
References bestEffortDecompressed_.
|
overridevirtual |
Implements grk::ITileProcessor.
References isCompressor_.
Referenced by init(), and TileProcessor().
|
overridevirtual |
Checks if the processor is initialized.
Implements grk::ITileProcessor.
References initialized_.
|
inlineoverridevirtual |
Check if strip-mode output was written directly (bypass multi-tile band callback).
Implements grk::ITileProcessor.
References stripOutputWritten_.
|
overridevirtual |
| compno |
Implements grk::ITileProcessor.
References needsMctDecompress().
|
overridevirtual |
Implements grk::ITileProcessor.
References grk::grklog, headerImage_, tcp_, and tile_.
Referenced by grk::TileProcessorCompress::buildCompressDAG(), createDecompressTileComponentWindows(), grk::TileProcessorCompress::dcLevelShiftCompress(), grk::TileProcessorCompress::doCompress(), needsMctDecompress(), grk::TileProcessorCompress::preCompressTile(), and shouldDecodeComponent().
|
overridevirtual |
Parses tile part.
Implements grk::ITileProcessor.
References grk::grklog, hasError(), grk::MARKER_BYTES, markerParser_, prepareConcurrentParsing(), setProcessors(), grk::SOD, grk::SOT, success_, tcp_, threadTilePart_, tileHeaderParseFlow_, tileIndex_, truncated_, and TFSingleton::workerId().
Referenced by decompressFromCachedTileParts(), and decompressPrepareWithTLM().
|
overridevirtual |
Performs post T2+T1 processing.
| scratch |
Implements grk::ITileProcessor.
References deallocBuffers(), doPostT1(), grk::GrkImage::extractFrom(), grk::grk_unref(), image_, grk::SchedulerFreebyrd::isStripMode(), schedulerFreebyrd_, tile_, and grk::GrkImage::transferDataFrom().
|
private |
References concurrentFlowsStale_, prepareFlow_, staleParsing_, and tileHeaderParseFlow_.
Referenced by parseTilePart().
|
overridevirtual |
Prepares for decompression.
If this fails, then TileProcessor doesn't get initialized.
Implements grk::ITileProcessor.
References grk::grklog, hasError(), init(), prepareFlow_, scheduledForDecompression_, success_, tcp_, and tileIndex_.
Referenced by decompressFromCachedTileParts(), and decompressPrepareWithTLM().
|
overridevirtual |
Reads a PLT marker (Packet length, tile-part header).
| headerData | header data |
| headerSize | size of header data |
Implements grk::ITileProcessor.
References getCodingParams(), getPacketLengthCache(), GRK_RANDOM_ACCESS_PLT, pltMutex_, threadTilePart_, and TFSingleton::workerId().
Referenced by setProcessors().
|
overridevirtual |
Reads SOT marker.
| stream | |
| headerData | |
| headerSize | |
| tilePartLength |
Implements grk::ITileProcessor.
References cp_, getStream(), getTCP(), grk::grk_read(), grk::grklog, grk::MARKER_BYTES_PLUS_MARKER_LENGTH_BYTES, grk::IStream::numBytesLeft(), numSOTsParsed_, grk::TilePartInfo::remainingTilePartBytes_, grk::sotMarkerSegmentLen, startPos_, tcp_, grk::IStream::tell(), tileIndex_, grk::TilePartInfo::tilePart_, tilePartInfo_, grk::TilePartInfo::tilePartLength_, and tilePartSeq_.
Referenced by setProcessors().
|
overridevirtual |
Reinitialize for re-decompression after LRU eviction.
Recreates the Tile structure and re-runs init() so that the T2+T1 pipeline can be re-executed from cached packet data.
Implements grk::ITileProcessor.
References headerImage_, init(), initialized_, scheduledForDecompression_, tcp_, and tile_.
|
overridevirtual |
release select resources
| strategy | tile cache strategy |
Implements grk::ITileProcessor.
References GRK_TILE_CACHE_ALL, GRK_TILE_CACHE_LRU, GRK_TILE_CACHE_NONE, grk::grk_unref(), image_, tile_, and tilePartFetchSeq_.
|
overridevirtual |
Releases resources - image and tile.
Implements grk::ITileProcessor.
References release(), and tileCacheStrategy_.
Referenced by release(), and ~TileProcessor().
|
overridevirtual |
Unconditionally releases both image and tile data (swath consumer path).
Implements grk::ITileProcessor.
References GRK_TILE_CACHE_IMAGE, grk::grk_unref(), image_, tile_, and tileCacheStrategy_.
|
overridevirtual |
Reset SOT parsing state so the tile can be re-parsed from the codestream.
Implements grk::ITileProcessor.
References numSOTsParsed_, scheduledForDecompression_, tcp_, and tilePartSeq_.
|
overridevirtual |
Schedule T2/T1 decompression.
| coderPool | pool of coders |
| unreducedImageBounds | |
| post | |
| futures |
Implements grk::ITileProcessor.
References grk::ACCESS_SEQUENTIAL, TileFutureManager::add(), allocAndScheduleFlow_, concurrentFlowsStale_, cp_, createDecompressTileComponentWindows(), current_plugin_tile_, decompress_synch_plugin_with_host(), TFSingleton::get(), getStream(), getTile(), grk::grk_aligned_malloc(), GRK_DECODE_T1, GRK_INT_16, grk::grk_unref(), grk::grklog, hasError(), headerImage_, ioBandCallback_, ioBandUserData_, grk::Scheduling::isExcalibur(), grk::Scheduling::isFreebyrd(), grk::SchedulerFreebyrd::isStripMode(), grk::IStream::memAdvise(), numProcessedPackets_, numReadDataPackets_, grk::StripConfig::outputStripHeight, packetLengthCache_, postDecompressFlow_, prepareFlow_, rootFlow_, scheduler_, schedulerFreebyrd_, shouldDecodeComponent(), grk::singleTileRowsPerStrip, staleParsing_, startPos_, stripOutputWritten_, success_, t2ParseFlow_, tcp_, tile_, tileHeaderParseFlow_, tileIndex_, tilePartInfo_, truncated_, unreducedImageWindow_, and TileFutureManager::waitAndClear().
Referenced by decompressWithTLM().
|
overridevirtual |
Implements grk::ITileProcessor.
References scheduledForDecompression_.
|
overridevirtual |
Implements grk::ITileProcessor.
References bestEffortDecompressed_.
|
overridevirtual |
Set the Current Plugin Tile object.
| tile |
Implements grk::ITileProcessor.
References current_plugin_tile_.
|
overridevirtual |
Gets the tile GrkImage.
| img | GrkImage |
Implements grk::ITileProcessor.
References grk::grk_unref(), and image_.
|
overridevirtual |
Sets the marker parser for processing.
| parser | The marker parser to set |
Implements grk::ITileProcessor.
References grk::MarkerParser::add(), grk::MarkerParser::clearProcessors(), grk::COC, grk::COD, grk::COM, cp_, getStream(), grk::MCC, grk::MCO, grk::MCT, grk::PLT, grk::POC, grk::PPT, grk::QCC, grk::QCD, readPLT(), readSOT(), grk::RGN, grk::SOT, tcp_, threadTilePart_, tilePartInfo_, and TFSingleton::workerId().
Referenced by parseTilePart(), and TileProcessor().
|
overridevirtual |
Sets the stream for input/output operations.
| stream | The stream to set |
| ownsStream | True if the processor owns the stream and should manage its lifetime |
Implements grk::ITileProcessor.
References markerParser_, and stream_.
Referenced by decompressPrepareWithTLM(), and TileProcessor().
|
overridevirtual |
Sets processor to truncated if not all tile parts have been parsed.
Implements grk::ITileProcessor.
References numSOTsParsed_, tcp_, and truncated_.
|
overridevirtual |
Check if a component should be decoded based on user selection.
When MCT=1 is active and any of components 0-2 is requested, all three are decoded.
| compno | 0-based component index |
Implements grk::ITileProcessor.
References cp_, and needsMctDecompress().
Referenced by scheduleAndRunDecompress().
|
private |
Referenced by scheduleAndRunDecompress().
|
private |
true if tile was decompressed on a best-effort basis (may have been truncated or errored).
Not re-decompressed on codec reuse.
Referenced by isBestEffortDecompressed(), and setBestEffortDecompressed().
|
private |
|
private |
Referenced by prepareConcurrentParsing(), and scheduleAndRunDecompress().
|
protected |
Referenced by grk::TileProcessorCompress::buildCompressDAG(), grk::TileProcessorCompress::canPreCalculateTileLen(), grk::TileProcessorCompress::canWritePocMarker(), createDecompressTileComponentWindows(), differentialUpdate(), grk::TileProcessorCompress::doCompress(), getCodingParams(), getMaxNumDecompressResolutions(), init(), grk::TileProcessorCompress::layerNeedsRateControl(), grk::TileProcessorCompress::pcrdBisectFeasible(), grk::TileProcessorCompress::pcrdBisectSimple(), grk::TileProcessorCompress::preCompressTile(), grk::TileProcessorCompress::rateAllocate(), readSOT(), scheduleAndRunDecompress(), setProcessors(), shouldDecodeComponent(), and TileProcessor().
|
protected |
Referenced by decompress_synch_plugin_with_host(), grk::TileProcessorCompress::doCompress(), doPostT1(), getCurrentPluginTile(), init(), grk::TileProcessorCompress::preCompressTile(), scheduleAndRunDecompress(), setCurrentPluginTile(), grk::TileProcessorCompress::syncPluginCodeBlockData(), and TileProcessor().
|
protected |
header GrkImage
Referenced by grk::TileProcessorCompress::buildCompressDAG(), createDecompressTileComponentWindows(), decompress_synch_plugin_with_host(), grk::TileProcessorCompress::doCompress(), getHeaderImage(), grk::TileProcessorCompress::ingestUncompressedData(), init(), grk::TileProcessorCompress::init(), needsMctDecompress(), grk::TileProcessorCompress::pcrdBisectFeasible(), grk::TileProcessorCompress::pcrdBisectSimple(), grk::TileProcessorCompress::preCompressTile(), reinitForReDecompress(), scheduleAndRunDecompress(), grk::TileProcessorCompress::scheduleCompressT1(), and TileProcessor().
|
private |
GrkImage for this tile
Referenced by getImage(), post_decompressT2T1(), release(), releaseForSwath(), setImage(), and TileProcessor().
|
private |
Referenced by createDecompressTileComponentWindows(), init(), isInitialized(), and reinitForReDecompress().
|
private |
Referenced by scheduleAndRunDecompress(), and TileProcessor().
|
private |
Referenced by scheduleAndRunDecompress(), and TileProcessor().
|
private |
true if tile will be compressed
Referenced by init(), isCompressor(), TileProcessor(), and ~TileProcessor().
|
private |
|
protected |
|
private |
number of packets processed
Referenced by getNumProcessedPackets(), incNumProcessedPackets(), incNumProcessedPackets(), and scheduleAndRunDecompress().
|
private |
number of data packets read
Referenced by incNumReadDataPackets(), and scheduleAndRunDecompress().
|
private |
number of SOT markers parsed
Referenced by allSOTMarkersParsed(), hasUnparsedTileParts(), readSOT(), resetSOTParsing(), and setTruncated().
|
protected |
Referenced by grk::TileProcessorCompress::buildCompressDAG(), grk::TileProcessorCompress::doCompress(), getPacketLengthCache(), grk::TileProcessorCompress::pcrdBisectFeasible(), grk::TileProcessorCompress::pcrdBisectSimple(), scheduleAndRunDecompress(), TileProcessor(), and grk::TileProcessorCompress::writeTilePartT2().
|
private |
Referenced by readPLT().
|
private |
Referenced by scheduleAndRunDecompress().
|
private |
Referenced by prepareConcurrentParsing(), prepareForDecompression(), and scheduleAndRunDecompress().
|
private |
Referenced by scheduleAndRunDecompress().
|
private |
Referenced by prepareForDecompression(), reinitForReDecompress(), resetSOTParsing(), and scheduledForDecompression().
|
protected |
|
protected |
SchedulerFreebyrd — strip-based decompression via freebyrd pool
Referenced by post_decompressT2T1(), scheduleAndRunDecompress(), and ~TileProcessor().
|
private |
Referenced by prepareConcurrentParsing(), and scheduleAndRunDecompress().
|
private |
Referenced by readSOT(), and scheduleAndRunDecompress().
|
protected |
|
private |
Referenced by isStripOutputWritten(), and scheduleAndRunDecompress().
|
private |
Referenced by hasError(), parseTilePart(), prepareForDecompression(), and scheduleAndRunDecompress().
|
private |
Referenced by scheduleAndRunDecompress().
|
protected |
Referenced by allSOTMarkersParsed(), grk::TileProcessorCompress::buildCompressDAG(), grk::TileProcessorCompress::canPreCalculateTileLen(), grk::TileProcessorCompress::canWritePocMarker(), grk::TileProcessorCompress::compressT2(), createDecompressTileComponentWindows(), grk::TileProcessorCompress::dcLevelShiftCompress(), differentialUpdate(), grk::TileProcessorCompress::doCompress(), getMaxNumDecompressResolutions(), getTCP(), hasUnparsedTileParts(), init(), grk::TileProcessorCompress::layerNeedsRateControl(), grk::TileProcessorCompress::makeSingleLosslessLayer(), needsMctDecompress(), grk::TileProcessorCompress::needsRateControl(), parseTilePart(), grk::TileProcessorCompress::pcrdBisectFeasible(), grk::TileProcessorCompress::pcrdBisectSimple(), grk::TileProcessorCompress::preCompressTile(), prepareForDecompression(), readSOT(), reinitForReDecompress(), resetSOTParsing(), scheduleAndRunDecompress(), grk::TileProcessorCompress::scheduleCompressT1(), setProcessors(), setTruncated(), TileProcessor(), and ~TileProcessor().
|
private |
Referenced by parseTilePart(), readPLT(), setProcessors(), and TileProcessor().
|
protected |
Referenced by grk::TileProcessorCompress::buildCompressDAG(), createDecompressTileComponentWindows(), grk::TileProcessorCompress::dcLevelShiftCompress(), deallocBuffers(), decompress_synch_plugin_with_host(), differentialUpdate(), grk::TileProcessorCompress::doCompress(), getMaxNumDecompressResolutions(), getProgressionState(), getTile(), getUnreducedTileWindow(), grk::TileProcessorCompress::ingestUncompressedData(), init(), grk::TileProcessorCompress::init(), grk::TileProcessorCompress::makeLayerFeasible(), grk::TileProcessorCompress::makeLayerFinal(), grk::TileProcessorCompress::makeLayerSimple(), needsMctDecompress(), grk::TileProcessorCompress::pcrdBisectFeasible(), grk::TileProcessorCompress::pcrdBisectSimple(), post_decompressT2T1(), grk::TileProcessorCompress::preCompressTile(), reinitForReDecompress(), release(), releaseForSwath(), scheduleAndRunDecompress(), grk::TileProcessorCompress::scheduleCompressT1(), grk::TileProcessorCompress::syncPluginCodeBlockData(), and TileProcessor().
|
private |
tile cache strategy
Referenced by getTileCacheStrategy(), release(), releaseForSwath(), and TileProcessor().
|
private |
Referenced by parseTilePart(), prepareConcurrentParsing(), and scheduleAndRunDecompress().
|
protected |
index of tile being currently compressed/decompressed
Referenced by grk::TileProcessorCompress::buildCompressDAG(), grk::TileProcessorCompress::compressT2(), decompressPrepareWithTLM(), grk::TileProcessorCompress::doCompress(), getIndex(), getProgressionState(), incrementIndex(), init(), parseTilePart(), grk::TileProcessorCompress::pcrdBisectFeasible(), grk::TileProcessorCompress::pcrdBisectSimple(), prepareForDecompression(), readSOT(), scheduleAndRunDecompress(), and TileProcessor().
|
private |
Referenced by decompressPrepareWithTLM(), and release().
|
private |
Referenced by decompressPrepareWithTLM(), readSOT(), scheduleAndRunDecompress(), and setProcessors().
|
private |
Referenced by decompressFromCachedTileParts(), readSOT(), and resetSOTParsing().
|
private |
true if one of this tile's tile parts is truncated
Referenced by allSOTMarkersParsed(), decompressFromCachedTileParts(), decompressPrepareWithTLM(), hasUnparsedTileParts(), parseTilePart(), scheduleAndRunDecompress(), setTruncated(), and TileProcessor().
|
private |
unreduced image window
Referenced by createDecompressTileComponentWindows(), differentialUpdate(), getUnreducedTileWindow(), and scheduleAndRunDecompress().