Lines Matching refs:Int32
47 #define Qfmt_31(a) (Int32)((float)a*0x7FFFFFFF)
49 #define Qfmt15(x) (Int16)(x*((Int32)1<<15) + (x>=0?0.5F:-0.5F))
53 __inline int32 pv_abs(int32 a)
55 int32 b = (a < 0) ? -a : a;
62 __inline Int32 fxp_mul32_Q30(const Int32 a, const Int32 b)
64 return (Int32)(((int64)(a) * b) >> 30);
67 __inline Int32 fxp_mac32_Q30(const Int32 a, const Int32 b, Int32 L_add)
69 return (L_add + (Int32)(((int64)(a) * b) >> 30));
72 __inline Int32 fxp_mul32_Q32(const Int32 a, const Int32 b)
74 return (Int32)(((int64)(a) * b) >> 32);
78 __inline Int32 fxp_mul32_Q28(const Int32 a, const Int32 b)
80 return (Int32)(((int64)(a) * b) >> 28);
83 __inline Int32 fxp_mul32_Q27(const Int32 a, const Int32 b)
85 return (Int32)(((int64)(a) * b) >> 27);
88 __inline Int32 fxp_mul32_Q26(const Int32 a, const Int32 b)
90 return (Int32)(((int64)(a) * b) >> 26);
94 __inline Int32 fxp_mac32_Q32(Int32 L_add, const Int32 a, const Int32 b)
96 return (L_add + (Int32)(((int64)(a) * b) >> 32));
99 __inline Int32 fxp_msb32_Q32(Int32 L_sub, const Int32 a, const Int32 b)
101 return (L_sub - ((Int32)(((int64)(a) * b) >> 32)));
105 __inline Int32 fxp_mul32_Q29(const Int32 a, const Int32 b)
107 return (Int32)(((int64)(a) * b) >> 29);