Home
last modified time | relevance | path

Searched refs:pValue2 (Results 1 – 2 of 2) sorted by relevance

/external/aac/libSACenc/src/
Dsacenc_dmx_tdom_enh.cpp228 FIXP_DBL *const pValue2, INT *const pQ2) { in fixpAddNorm() argument
230 const int headroom2 = fNormz(fixp_abs(*pValue2)) - 1; in fixpAddNorm()
233 if ((value1 != FL2FXCONST_DBL(0.f)) && (*pValue2 != FL2FXCONST_DBL(0.f))) { in fixpAddNorm()
237 *pValue2 = in fixpAddNorm()
239 scaleValue(*pValue2, fixMax(-(DFRACT_BITS - 1), ((*pQ2) - resultScale))); in fixpAddNorm()
240 *pQ2 = (*pValue2 != (FIXP_DBL)0) ? resultScale : DFRACT_BITS - 1; in fixpAddNorm()
/external/aac/libAACenc/src/
Dmetadata_compressor.cpp332 FIXP_DBL* const pValue2, int* const pQ2) { in fixpAdd() argument
334 const int headroom2 = fNormz(fixp_abs(*pValue2)) - 1; in fixpAdd()
337 if ((value1 != FL2FXCONST_DBL(0.f)) && (*pValue2 != FL2FXCONST_DBL(0.f))) { in fixpAdd()
341 *pValue2 = scaleValue(value1, q1 - resultScale) + in fixpAdd()
342 scaleValue(*pValue2, (*pQ2) - resultScale); in fixpAdd()
343 *pQ2 = (*pValue2 != (FIXP_DBL)0) ? resultScale : DFRACT_BITS - 1; in fixpAdd()