|
Grok 15.1.0
|
#include <CompressScheduler.h>
Public Member Functions | |
| CompressScheduler (Tile *tile, bool needsRateControl, TileCodingParams *tcp, const double *mct_norms, uint16_t mct_numcomps) | |
| ~CompressScheduler ()=default | |
| bool | schedule (uint16_t compno) override |
| Public Member Functions inherited from grk::Scheduler | |
| Scheduler (Tile *tile) | |
| virtual | ~Scheduler () |
| void | graph (uint16_t compno) |
| bool | run (void) |
| ImageComponentFlow * | getImageComponentFlow (uint16_t compno) |
| tf::Taskflow & | getCodecFlow (void) |
| FlowComponent * | getPrePostProc (void) |
Private Member Functions | |
| bool | scheduleBlocks (uint16_t compno) |
| void | compress (std::vector< CompressBlockExec * > *blocks) |
| bool | compress (size_t threadId, uint64_t maxBlocks) |
| void | compress (T1Interface *impl, CompressBlockExec *block) |
Private Attributes | |
| Tile * | tile |
| std::mutex | distortion_mutex |
| bool | needsRateControl |
| CompressBlockExec ** | encodeBlocks |
| std::atomic< int64_t > | blockCount |
| TileCodingParams * | tcp_ |
| const double * | mct_norms_ |
| uint16_t | mct_numcomps_ |
Additional Inherited Members | |
| Protected Attributes inherited from grk::Scheduler | |
| std::atomic_bool | success |
| std::vector< T1Interface * > | t1Implementations |
| ImageComponentFlow ** | imageComponentFlows_ |
| tf::Taskflow | codecFlow_ |
| Tile * | tile_ |
| uint16_t | numcomps_ |
| FlowComponent * | prePostProc_ |
| grk::CompressScheduler::CompressScheduler | ( | Tile * | tile, |
| bool | needsRateControl, | ||
| TileCodingParams * | tcp, | ||
| const double * | mct_norms, | ||
| uint16_t | mct_numcomps ) |
|
default |
|
private |
References blockCount, compress(), encodeBlocks, and grk::Scheduler::t1Implementations.
|
private |
References compress(), encodeBlocks, ExecSingleton::get(), and grk::Scheduler::t1Implementations.
Referenced by compress(), compress(), and scheduleBlocks().
|
private |
|
overridevirtual |
Implements grk::Scheduler.
References scheduleBlocks().
|
private |
References compress(), ExecSingleton::get(), grk::T1Factory::makeT1(), mct_norms_, mct_numcomps_, needsRateControl, grk::Scheduler::t1Implementations, tcp_, and tile.
Referenced by schedule().
|
private |
Referenced by compress(), and CompressScheduler().
|
mutableprivate |
Referenced by compress().
|
private |
Referenced by compress(), compress(), and CompressScheduler().
|
private |
Referenced by CompressScheduler(), and scheduleBlocks().
|
private |
Referenced by CompressScheduler(), and scheduleBlocks().
|
private |
Referenced by compress(), CompressScheduler(), and scheduleBlocks().
|
private |
Referenced by CompressScheduler(), and scheduleBlocks().
|
private |
Referenced by compress(), CompressScheduler(), and scheduleBlocks().