Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dline_pe.c133 peChanData->pe = saturate(pe); in calcSfbPe()
134 peChanData->constPart = saturate(constPart); in calcSfbPe()
135 peChanData->nActiveLines = saturate(nActiveLines); in calcSfbPe()
139 peData->pe = saturate(pe); in calcSfbPe()
141 peData->constPart = saturate(constPart); in calcSfbPe()
143 peData->nActiveLines = saturate(nActiveLines); in calcSfbPe()
Dsf_estim.c268 return saturate(specPe); in calcSingleSpecPe()
325 return saturate(scfBitsDiff); in countScfBitsDiff()
380 return saturate(specPeDiff); in calcSpecPeDiff()
Dquantize.c88 qua = saturate(x); in quantizeSingleLine()
Dadj_thr.c356 *pe = saturate(ipe); in calcPeNoAH()
357 *constPart = saturate(iconstPart); in calcPeNoAH()
358 *nActiveLines = saturate(inActiveLines); in calcPeNoAH()
Dpsy_configuration.c132 return saturate(bvalFFTLine); in BarcLineValue()
Dtns.c588 weightedSpectrum[i] = saturate(pWork32[i] << maxShift); in CalcWeightedSpectrum()
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
Dbasicop2.c60 Word16 saturate(Word32 L_var1) in saturate() function
122 var_out = saturate(L_sum); in add()
168 var_out = saturate(L_diff); in sub()
409 var_out = saturate(L_product); in mult()
918 var_out = saturate(L_product_arr); in mult_r()
Dbasic_op.h63 __inline Word16 saturate(Word32 L_var1);
65 Word16 saturate(Word32 L_var1);
296 __inline Word16 saturate(Word32 L_var1) in saturate() function
611 var_out = saturate(L_sum); in add()
639 var_out = saturate(L_diff); in sub()
714 var_out = saturate(L_product); in mult()
1068 var_out = saturate(L_product_arr); in mult_r()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h34 #define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ?… macro
131 var_out = saturate (L_sum); in add()
174 var_out = saturate (L_diff); in sub()
350 var_out = saturate (L_product); in mult()
677 var_out = saturate (L_product_arr); in mult_r()