Files

25 lines
583 B
C++
Raw Permalink Normal View History

2026-04-18 12:02:27 -04:00
#ifndef SMO_USER_INTRIN_H
#define SMO_USER_INTRIN_H
#include <cstdint>
namespace smo {
namespace intrin {
/* Generic intrin threshold pair. 'percentage' holds the raw percentage value
* (0-100) when the user specified the threshold in percentage form, else 0.
* 'threshold' is always the resolved absolute count (computed against the
* relevant capacity parameter, e.g. nDgramsPerFrame, when the input was
* percentage-based).
*/
struct IntrinConfig
{
uint32_t percentage;
uint32_t threshold;
};
} // namespace intrin
} // namespace smo
#endif // SMO_USER_INTRIN_H