Lines Matching full:m
43 * @param m The number of bits to left shift the input value (0 to 7).
46 #define Z_SHIFT_Q7_TO_F32(src, m) ((float32_t)(((src << m)) / (float32_t)(1U << 7))) argument
52 * @param m The number of bits to left shift the input value (0 to 15).
55 #define Z_SHIFT_Q15_TO_F32(src, m) ((float32_t)((src << m) / (float32_t)(1U << 15))) argument
61 * @param m The number of bits to left shift the input value (0 to 31).
64 #define Z_SHIFT_Q31_TO_F32(src, m) ((float32_t)(((int64_t)src) << m) / (float32_t)(1U << 31)) argument
70 * @param m The number of bits to left shift the input value (0 to 7).
73 #define Z_SHIFT_Q7_TO_F64(src, m) (((float64_t)(src << m)) / (1U << 7)) argument
79 * @param m The number of bits to left shift the input value (0 to 15).
82 #define Z_SHIFT_Q15_TO_F64(src, m) (((float64_t)(src << m)) / (1UL << 15)) argument
88 * @param m The number of bits to left shift the input value (0 to 31).
91 #define Z_SHIFT_Q31_TO_F64(src, m) ((float64_t)(((int64_t)src) << m) / (1ULL << 31)) argument
111 * @param m The number of bits to right shift the input value (0 to 7).
114 #define Z_SHIFT_F32_TO_Q7(src, m) \ argument
115 ((q7_t)Z_CLAMP((int32_t)(src * (1U << 7)) >> m, INT8_MIN, INT8_MAX))
121 * @param m The number of bits to right shift the input value (0 to 15).
124 #define Z_SHIFT_F32_TO_Q15(src, m) \ argument
125 ((q15_t)Z_CLAMP((int32_t)(src * (1U << 15)) >> m, INT16_MIN, INT16_MAX))
131 * @param m The number of bits to right shift the input value (0 to 31).
134 #define Z_SHIFT_F32_TO_Q31(src, m) \ argument
135 ((q31_t)Z_CLAMP((int64_t)(src * (1U << 31)) >> m, INT32_MIN, INT32_MAX))
141 * @param m The number of bits to right shift the input value (0 to 7).
144 #define Z_SHIFT_F64_TO_Q7(src, m) \ argument
145 ((q7_t)Z_CLAMP((int32_t)(src * (1U << 7)) >> m, INT8_MIN, INT8_MAX))
151 * @param m The number of bits to right shift the input value (0 to 15).
154 #define Z_SHIFT_F64_TO_Q15(src, m) \ argument
155 ((q15_t)Z_CLAMP((int32_t)(src * (1U << 15)) >> m, INT16_MIN, INT16_MAX))
161 * @param m The number of bits to right shift the input value (0 to 31).
164 #define Z_SHIFT_F64_TO_Q31(src, m) \ argument
165 ((q31_t)Z_CLAMP((int64_t)(src * (1U << 31)) >> m, INT32_MIN, INT32_MAX))