37 const double* mct_norms, uint16_t mct_numcomps);
62 bool compress(
size_t workerId, uint64_t maxBlocks);
A collection of tasks which can be scheduled as a single task.
Definition FlowComponent.h:28
std::mutex distortion_mutex_
mutex to serialize distortion decrease from blocks
Definition CompressScheduler.h:80
bool populateT1Flow(FlowComponent *flow)
Definition CompressScheduler.cpp:158
std::vector< t1::CompressBlockExec * > encodeBlocks_
vector of CompressBlockExec encode blocks
Definition CompressScheduler.h:88
TileCodingParams * tcp_
TileCodingParams for this tile
Definition CompressScheduler.h:98
bool scheduleT1(ITileProcessor *proc) override
Schedules all T1 tasks for a ITileProcessor.
Definition CompressScheduler.cpp:69
Tile * tile_
Tile to compress
Definition CompressScheduler.h:75
uint16_t mct_numcomps_
number of components to apply mct to
Definition CompressScheduler.h:108
const RateControlStats & getRateControlStats() const
Get rate control stats collected during T1 encoding.
Definition CompressScheduler.h:49
bool compress(size_t workerId, uint64_t maxBlocks)
compress next block
Definition CompressScheduler.cpp:240
RateControlStats rateControlStats_
rate control statistics collected during T1 encoding
Definition CompressScheduler.h:113
~CompressScheduler() override=default
Destroys a CompressScheduler.
const double * mct_norms_
array of mct norms
Definition CompressScheduler.h:103
bool needsRateControl_
true if rate control requested
Definition CompressScheduler.h:84
CompressScheduler(Tile *tile, bool needsRateControl, TileCodingParams *tcp, const double *mct_norms, uint16_t mct_numcomps)
Constructs a CompressScheduler.
Definition CompressScheduler.cpp:61
std::atomic< int64_t > blockCount_
atomic counter to keep track of number of encoded blocks
Definition CompressScheduler.h:93
SchedulerStandard(uint16_t numComps)
Constructs a SchedulerStandard.
Definition SchedulerStandard.cpp:30
interface to code block compressor / decompressor
Definition ICoder.h:31
ResWindow.
Definition CompressedChunkCache.h:36
Interface for managing tile compression/decompression.
Definition ITileProcessor.h:37
Per-tile rate control statistics collected during T1 encoding.
Definition RateControlStats.h:37
Tile coding parameters : this structure is used to store coding/decoding parameters common to all til...
Definition CodingParams.h:124
Definition BlockExec.h:129