Searched refs:shift_bits (Results 1 – 1 of 1) sorted by relevance
118 static inline int64_t q_mults_32x32(int32_t x, int32_t y, const int shift_bits) in q_mults_32x32() argument120 return ((int64_t)x * y) >> shift_bits; in q_mults_32x32()123 static inline int64_t q_multsr_32x32(int32_t x, int32_t y, const int shift_bits) in q_multsr_32x32() argument125 return ((((int64_t)x * y) >> (shift_bits - 1)) + 1) >> 1; in q_multsr_32x32()128 static inline int32_t q_mults_16x16(int16_t x, int32_t y, const int shift_bits) in q_mults_16x16() argument130 return ((int32_t)x * y) >> shift_bits; in q_mults_16x16()133 static inline int16_t q_multsr_16x16(int16_t x, int32_t y, const int shift_bits) in q_multsr_16x16() argument135 return ((((int32_t)x * y) >> (shift_bits - 1)) + 1) >> 1; in q_multsr_16x16()140 const int shift_bits) in q_multsr_sat_32x32() argument142 return sat_int32(((((int64_t)x * y) >> (shift_bits - 1)) + 1) >> 1); in q_multsr_sat_32x32()[all …]