Home | History | Annotate | Download | only in src

Lines Matching defs:value

158  *        The SF_OFFSET = 100 value referenced in chapter 4.6.2.3.3 is already substracted
226 * \brief Calculate 2^(lsb/4) * value^(4/3)
227 * \param pValue pointer to quantized value. The inverse quantized result is stored back here.
229 * resulting inverse quantized value.
236 FIXP_DBL value;
240 value = *pValue;
241 freeBits = fNormz (value) ;
245 UINT x = (((int)value << freeBits) >> 19) ;
265 * \brief determine the required shift scale for the given quantized value and scale (factor % 4) value.
267 FDK_INLINE int GetScaleFromValue (FIXP_DBL value, unsigned int lsb)
269 if (value!=(FIXP_DBL)0)
271 int scale = EvaluatePower43 (&value, lsb) ;
272 return CntLeadingZeros (value) - scale - 2 ;
275 return 0; /* Return zero, because its useless to scale a zero value, saves workload and avoids scaling overshifts. */
285 returns the index value.
287 \return index value