Lines Matching refs:FIXP_DBL
121 void scaleValues(FIXP_DBL *vector, INT len, INT scalefactor);
122 void scaleValues(FIXP_DBL *dst, const FIXP_DBL *src, INT len, INT scalefactor);
124 void scaleValues(FIXP_PCM *dst, const FIXP_DBL *src, INT len, INT scalefactor);
127 void scaleCplxValues(FIXP_DBL *r_dst, FIXP_DBL *i_dst, const FIXP_DBL *r_src,
128 const FIXP_DBL *i_src, INT len, INT scalefactor);
129 void scaleValuesWithFactor(FIXP_DBL *vector, FIXP_DBL factor, INT len,
131 void scaleValuesSaturate(FIXP_DBL *vector, INT len, INT scalefactor);
132 void scaleValuesSaturate(FIXP_DBL *dst, FIXP_DBL *src, INT len,
134 void scaleValuesSaturate(FIXP_SGL *dst, FIXP_DBL *src, INT len,
136 void scaleValuesSaturate(INT_PCM *dst, FIXP_DBL *src, INT len, INT scalefactor);
143 INT getScalefactor(const FIXP_DBL *vector, INT len);
155 inline FIXP_DBL scaleValue(const FIXP_DBL value, /*!< Value */ in scaleValue()
183 inline FIXP_DBL scaleValueSaturate(const FIXP_DBL value, in scaleValueSaturate()
191 if (value > (FIXP_DBL)0) in scaleValueSaturate()
192 return (FIXP_DBL)MAXVAL_DBL; /* 0x7FFF.FFFF */ in scaleValueSaturate()
194 return (FIXP_DBL)MINVAL_DBL + (FIXP_DBL)1; /* 0x8000.0001 */ in scaleValueSaturate()
196 return fMax((value << scalefactor), (FIXP_DBL)MINVAL_DBL + (FIXP_DBL)1); in scaleValueSaturate()
202 return (FIXP_DBL)0; in scaleValueSaturate()
204 return fMax((value >> scalefactor), (FIXP_DBL)MINVAL_DBL + (FIXP_DBL)1); in scaleValueSaturate()
219 inline void scaleValueInPlace(FIXP_DBL *value, /*!< Value */ in scaleValueInPlace()