|
Grok 20.3.2
|
Per-tile rate control statistics collected during T1 encoding. More...
#include <RateControlStats.h>
Public Member Functions | |
| RateControlStats () | |
| void | init (uint16_t numcomps) |
| void | updateMinSlope (uint16_t val) |
| void | updateMaxSlope (uint16_t val) |
| void | updateMinRDSlope (double val) |
| void | updateMaxRDSlope (double val) |
Public Attributes | |
| uint16_t | numcomps_ |
| std::unique_ptr< std::atomic< uint64_t >[]> | numpixByComponent_ |
| std::atomic< uint64_t > | numCodeBlocks_ {0} |
| std::atomic< uint16_t > | minimumSlope_ {USHRT_MAX} |
| std::atomic< uint16_t > | maximumSlope_ {0} |
| std::atomic< double > | minRDSlope_ {DBL_MAX} |
| std::atomic< double > | maxRDSlope_ {-1.0} |
Per-tile rate control statistics collected during T1 encoding.
These stats are gathered in parallel during block encoding so that the rate control bisection loop can skip the initial serial codeblock traversal.
|
inline |
References numCodeBlocks_, and numcomps_.
|
inline |
References maximumSlope_, maxRDSlope_, minimumSlope_, minRDSlope_, numCodeBlocks_, numcomps_, and numpixByComponent_.
|
inline |
References maxRDSlope_.
|
inline |
References maximumSlope_.
|
inline |
References minRDSlope_.
|
inline |
References minimumSlope_.
| std::atomic<uint16_t> grk::RateControlStats::maximumSlope_ {0} |
Referenced by init(), and updateMaxSlope().
| std::atomic<double> grk::RateControlStats::maxRDSlope_ {-1.0} |
Referenced by init(), and updateMaxRDSlope().
| std::atomic<uint16_t> grk::RateControlStats::minimumSlope_ {USHRT_MAX} |
Referenced by init(), and updateMinSlope().
| std::atomic<double> grk::RateControlStats::minRDSlope_ {DBL_MAX} |
Referenced by init(), and updateMinRDSlope().
| std::atomic<uint64_t> grk::RateControlStats::numCodeBlocks_ {0} |
Referenced by init(), and RateControlStats().
| uint16_t grk::RateControlStats::numcomps_ |
Referenced by init(), and RateControlStats().
| std::unique_ptr<std::atomic<uint64_t>[]> grk::RateControlStats::numpixByComponent_ |
Referenced by init().