10LIB8STATIC_ALWAYS_INLINE uint16_t map8_to_16(uint8_t x) {
11 return uint16_t(x) * 0x101;
16LIB8STATIC_ALWAYS_INLINE uint8_t map16_to_8(uint16_t x) {
25 return uint8_t((x + 128) >> 8);
28LIB8STATIC_ALWAYS_INLINE uint32_t map8_to_32(uint8_t x) {
29 return uint32_t(x) * 0x1010101;