Scalar decoding a single value with ALP
| 126 | |
| 127 | //! Scalar decoding a single value with ALP |
| 128 | static inline PT decode_value(const ST encoded_value, const uint8_t factor, const uint8_t exponent) { |
| 129 | const PT decoded_value = encoded_value * Constants<PT>::FACT_ARR[factor] * Constants<PT>::FRAC_ARR[exponent]; |
| 130 | return decoded_value; |
| 131 | } |
| 132 | |
| 133 | //! Scalar decoding of an ALP vector |
| 134 | static inline void decode(const ST* encoded_integers, const uint8_t fac_idx, const uint8_t exp_idx, PT* output) { |
nothing calls this directly
no outgoing calls
no test coverage detected