Home
last modified time | relevance | path

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

/external/aac/libSBRenc/src/
Dton_corr.cpp241 INT numShift,denomShift,commonShift; in FDKsbrEnc_CalculateTonalityQuotas() local
259 commonShift = fixMin(numShift - denomShift + RELAXATION_SHIFT, DFRACT_BITS-1); in FDKsbrEnc_CalculateTonalityQuotas()
260 if (commonShift < 0) { in FDKsbrEnc_CalculateTonalityQuotas()
261 commonShift = -commonShift; in FDKsbrEnc_CalculateTonalityQuotas()
263 commonShift = fixMin(commonShift,CountLeadingBits(tmp)); in FDKsbrEnc_CalculateTonalityQuotas()
264 quotaMatrix[timeIndex][r] = tmp << commonShift; in FDKsbrEnc_CalculateTonalityQuotas()
267 quotaMatrix[timeIndex][r] = schur_div(num,denom,16) >> commonShift; in FDKsbrEnc_CalculateTonalityQuotas()