HomeSort by relevance Sort by last modified time
    Searched refs:fixMin (Results 1 - 25 of 41) sorted by null

1 2

  /external/aac/libAACenc/src/
noisedet.cpp 190 minVal = fixMin(fhelp1, fhelp2);
191 minVal = fixMin(minVal, fhelp3);
192 minVal = fixMin(minVal, fhelp4);
207 fuzzyTotal = fixMin(fuzzyTotal, fuzzy);
221 fuzzyTotal = fixMin(fuzzyTotal, fuzzy);
ms_stereo.cpp 153 minThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb+sfboffs], sfbThresholdRightLdData[sfb+sfboffs]);
184 minThreshold = fixMin(sfbThresholdLeft[sfb+sfboffs], sfbThresholdRight[sfb+sfboffs]);
193 fixMin( sfbSpreadEnLeft[sfb+sfboffs],
230 minThreshold = fixMin(sfbThresholdLeft[sfb+sfboffs], sfbThresholdRight[sfb+sfboffs]);
232 minThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb+sfboffs], sfbThresholdRightLdData[sfb+sfboffs]);
240 fixMin( sfbSpreadEnLeft[sfb+sfboffs],
band_nrg.cpp 223 INT scale = fixMin((sfbMaxScaleSpec[i]-4)<<1,(DFRACT_BITS-1));
237 INT scale = fixMin( ((sfbMaxScaleSpec[i]-4)+shiftBits)<<1, (DFRACT_BITS-1));
276 scale = fixMax(fixMin(scale,(DFRACT_BITS-1)),-(DFRACT_BITS-1));
306 minScale = fixMin(sfbMaxScaleSpecLeft[i], sfbMaxScaleSpecRight[i])-4;
339 INT minScale = fixMin(sfbMaxScaleSpecLeft[i], sfbMaxScaleSpecRight[i]);
355 scale = fixMin(scale, (DFRACT_BITS-1));
pre_echo_control.cpp 145 tmp = fixMin(tmp, tmpThreshold1);
intensity.cpp 284 realScale[sfb + sfboffs] = fixMin(FL2FXCONST_DBL(60.f/(1<<(REAL_SCALE_SF+LD_DATA_SHIFT))), fixMax(FL2FXCONST_DBL(-60.f/(1<<(REAL_SCALE_SF+LD_DATA_SHIFT))), isValue));
288 s = (fixMin(sL,sR)>>2)<<2;
317 invOverallLoudnessSF = fixMin(fixMax(invOverallLoudnessSF,-(DFRACT_BITS-1)),DFRACT_BITS-1);
346 s = fixMin(sL,sR);
374 sL = fixMin(sL,s);
389 channelCorrSF = fixMin(fixMax(( channelCorrSF + ((sL+sR)>>1)),-(DFRACT_BITS-1)),DFRACT_BITS-1);
669 s0 = fixMin(sL,sR);
682 s2 = fixMin(fixMax(s2,-(DFRACT_BITS-1)),(DFRACT_BITS-1));
703 s0 = fixMin(sL,sR);
716 s2 = fixMin(fixMax(s2,-(DFRACT_BITS-1)),(DFRACT_BITS-1))
    [all...]
psy_configuration.cpp 272 *sfbCnt = fixMin(i,*sfbCnt);
273 sfbOffset[*sfbCnt] = fixMin(specStartOffset,granuleLength);
364 q_msk = fixMin(DFRACT_BITS-1,fixMax(-(DFRACT_BITS-1),q_msk));
454 pbBval[i] = fixMin(cur_bark, MAX_BARC);
484 barcFactor = fDivNorm(fixMin(FDKaacEnc_BarcLineValue(numLines, sfbOffset[sfbActive], samplerate), MAX_BARC),
534 qsnr = fixMin(qtmp, 30);
adj_thr.cpp 214 qcOutChannel[ch]->sfbMinSnrLdData[sfbGrp+sfb] = fixMin(minSnrLimitLD64, qcOutChannel[ch]->sfbMinSnrLdData[sfbGrp+sfb]);
289 fixMin(qcOutChan->sfbMinSnrLdData[sfbGrp+sfb], tmpMinSnrLdData);
294 tmpMinSnrLdData = fixMin((FIXP_DBL)SnrLdFac, tmpMinSnrLdData);
295 qcOutChan->sfbMinSnrLdData[sfbGrp+sfb] = fixMin(tmpMinSnrLdData,
328 qcOutChanM->sfbMinSnrLdData[sfbGrp+sfb] = fixMin(qcOutChanM->sfbMinSnrLdData[sfbGrp+sfb], (FIXP_DBL)SnrLdFac);
338 qcOutChanS->sfbMinSnrLdData[sfbGrp+sfb] = fixMin(qcOutChanS->sfbMinSnrLdData[sfbGrp+sfb],(FIXP_DBL)SnrLdFac);
505 qcOutChannel[ch]->sfbEnFacLd[sfb] = fixMin(qcOutChannel[ch]->sfbEnFacLd[sfb],(FIXP_DBL)0);
663 int minScale = fixMin(CountLeadingBits(sfbThrExp), CountLeadingBits(redVal) - (DFRACT_BITS-1-redValScaling) )-1;
    [all...]
quantize.cpp 328 scale = fixMin(2*(scale-1), DFRACT_BITS-1);
385 scale = fixMin(2*(scale-1), DFRACT_BITS-1);
bit_cnt.cpp 467 t00 = fixMin(t0,16);
468 t01 = fixMin(t1,16);
534 maxVal = fixMin(maxVal,(INT)CODE_BOOK_ESC_LAV);
742 t00 = fixMin(t0,16);
743 t01 = fixMin(t1,16);
1070 t00 = fixMin(t0,16);
1071 t01 = fixMin(t1,16);
sf_estim.cpp 425 FIXP_DBL sfbDistAllowedLdData = fixMin(sfbDistLdData-distFactorLdData,threshLdData);
503 scfMin = fixMin(*scfLast, *scfNext);
655 scfMin = fixMin(scfMin, scf[sfb]);
798 scfMin = fixMin(scfMin, scf[sfb]);
828 scfPrevNextMin = fixMin(scfPrev, scfNext);
836 scfLo = fixMin(scfAct, scfPrevNextMin);
851 sfbDistMax[sfb] = fixMin(sfbDistMax[sfb],qcOutChannel->sfbThresholdLdData[sfb]);
    [all...]
psy_main.cpp 682 minSpecShift = fixMin(minSpecShift, (pSfbMaxScaleSpec[ch]+w*maxSfb[ch])[sfb]);
712 finalShift = fixMin(minSpecShift, nrgShift);
727 scale = fixMin((scale-finalShift)<<1, DFRACT_BITS-1);
    [all...]
  /external/aac/libAACdec/src/
aacdec_tns.cpp 246 s = fixMin(s,2);
387 start = fixMin( fixMin(filter->StartBand, tns_max_bands),
392 stop = fixMin( fixMin(filter->StopBand, tns_max_bands),
aacdec_pns.cpp 312 shift = fixMin( shift, DFRACT_BITS-1 );
317 shift = fixMin( -shift, DFRACT_BITS-1 );
aacdec_drc.cpp 821 pDrcChData->bandTop[0] = fixMin(pDrcChData->bandTop[0], (aacFrameSize >> 2) - 1);
850 top = fixMin((int)( (pDrcChData->bandTop[band]+1)<<2 ), aacFrameSize);
928 res = fixMin(res, max_exponent);
967 top = fixMin((int)( (pDrcChData->bandTop[band]+1)<<2 ), aacFrameSize); /* ... * DRC_BAND_MULT; */
    [all...]
  /external/aac/libSBRenc/src/
sbr_misc.cpp 256 if ( denom > (tmp >> fixMin(shiftNum+shiftScale-1,(DFRACT_BITS-1))) ) {
259 shiftCommon = fixMin((shiftNum-shiftDenom+shiftScale-1),(DFRACT_BITS-1));
tran_det.cpp 140 accu1 = ((FL2FXCONST_DBL((1.0e6*NORM_QMF_ENERGY*8.0/32))) << fixMin(scaleEnergies[0],25))>>NRG_SCALE; /* complex init for compare with original version */
141 accu2 = ((FL2FXCONST_DBL((1.0e6*NORM_QMF_ENERGY*8.0/32))) << fixMin(scaleEnergies[0],25))>>NRG_SCALE; /* can be simplified in dsp implementation */
164 (FIXP_DBL)MAXVAL_DBL >> fixMin(scaleEnergies[0],(DFRACT_BITS-1)) );
208 nrgTotal = ( (accu1 >> fixMin(scaleEnergies[0],(DFRACT_BITS-1)))
209 + (accu2 >> fixMin(scaleEnergies[1],(DFRACT_BITS-1))) ) << (2);
265 scale = fixMin(8,scaleEnergies[0]); /* scale energies down before add up */
390 commonScale = fixMin(scaleEnergies[0],scaleEnergies[1]);
393 scaleFactor0 = fixMin((scaleEnergies[0]-commonScale), (DFRACT_BITS-1));
394 scaleFactor1 = fixMin((scaleEnergies[1]-commonScale), (DFRACT_BITS-1));
477 tmpScaleEnergies0 = fixMin(tmpScaleEnergies0, MAX_SHIFT_DBL)
    [all...]
env_est.cpp 138 scale = fixMin(scale, fixMin(getScalefactor(realValues[k], numberBands), getScalefactor(imagValues[k], numberBands)));
231 scale = fixMin(scale, fixMin(getScalefactor(realValues[k], numberBands), getScalefactor(imagValues[k], numberBands)));
471 sc0 = fixMin(scaleNrg0,Y_NRG_SCALE); sc1 = fixMin(scaleNrg1,Y_NRG_SCALE);
473 dynScale1 = fixMin((scaleNrg0-sc0),dynScale);
474 dynScale2 = fixMin((scaleNrg1-sc1),dynScale);
489 nrgSum += ( accu1 >> fixMin((scaleNrg0-sc0-dynScale1),(DFRACT_BITS-1)) )
490 + ( accu2 >> fixMin((scaleNrg1-sc1-dynScale2),(DFRACT_BITS-1)) )
    [all...]
ton_corr.cpp 205 autoCorrScaling = fixMin(getScalefactor(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength), getScalefactor(&imagBuf[k-LPC_ORDER], LPC_ORDER+blockLength));
259 commonShift = fixMin(numShift - denomShift + RELAXATION_SHIFT, DFRACT_BITS-1);
263 commonShift = fixMin(commonShift,CountLeadingBits(tmp));
296 nrgVector[timeIndex] += ((ac->r00r) >> fixMin(DFRACT_BITS-1,(2*qmfScale+autoCorrScaling + SCALE_NRGVEC)));
298 pNrgVectorFreq[r] = pNrgVectorFreq[r] + ((ac->r00r) >> fixMin(DFRACT_BITS-1,(2*qmfScale+autoCorrScaling + SCALE_NRGVEC)));
    [all...]
code_env.cpp 357 index = fixMin(*delta, codeBookScfLavBalance);
370 index = fixMin(*delta, codeBookScfLavLevel);
383 index = fixMin(*delta, codeBookScfLavLevel);
ps_main.cpp 341 dynScale = fixMin(sc-dynQmfScale,DFRACT_BITS-1);
612 *dmxScale = fixMin(DFRACT_BITS, CountLeadingBits(maxValue));
614 *dmxScale = fixMax(0,fixMin(FRACT_BITS, CountLeadingBits(FX_QMF2FX_DBL(maxValue))));
  /external/aac/libSBRdec/src/
transcendent.h 348 *mantissa = (shift>=0) ? result << (INT)fixMin(DFRACT_BITS-1,shift)
349 : result >> (INT)fixMin(DFRACT_BITS-1,-shift);
sbr_crc.cpp 172 NrCrcBits = fixMin ((INT)NrBits, (INT)NrBitsAvailable);
lpp_tran.cpp 191 bwVector[i] = fixMin(accu<<1,FL2FXCONST_DBL(0.99609375f));
301 comLowBandScale = fixMin(sbrScaleFactor->ov_lb_scale,sbrScaleFactor->lb_scale);
362 dynamicScale = fixMin(dynamicScale, getScalefactor(lowBandReal, LPC_ORDER+pSettings->overlap) + ovLowBandShift);
363 dynamicScale = fixMin(dynamicScale, getScalefactor(&lowBandReal[LPC_ORDER+pSettings->overlap], pSettings->nCols) + lowBandShift);
365 dynamicScale = fixMin(dynamicScale, getScalefactor(lowBandImag, LPC_ORDER+pSettings->overlap) + ovLowBandShift);
366 dynamicScale = fixMin(dynamicScale, getScalefactor(&lowBandImag[LPC_ORDER+pSettings->overlap], pSettings->nCols) + lowBandShift);
652 int descale = fixMin(DFRACT_BITS-1, (LPC_SCALE_FACTOR+dynamicScale));
659 int descale = fixMin(DFRACT_BITS-1, (LPC_SCALE_FACTOR+dynamicScale));
668 int descale = fixMin(DFRACT_BITS-1, (LPC_SCALE_FACTOR+dynamicScale));
690 int descale = fixMin(DFRACT_BITS-1, (LPC_SCALE_FACTOR+dynamicScale))
    [all...]
env_calc.cpp     [all...]
sbr_dec.cpp 402 reserve = fixMin(reserve,DFRACT_BITS-1-hSbrDec->sbrScaleFactor.lb_scale);
    [all...]

Completed in 1441 milliseconds

1 2