/external/aac/libAACenc/src/ |
psy_main.cpp | 114 static const FIXP_DBL fadeOutFactor[FADE_OUT_LEN] = {1840644096, 1533870080, 1227096064, 920322048, 613548032, 306774016}; 480 FIXP_DBL *pSfbEnergy[(2)]; 481 FIXP_DBL *pSfbSpreadEnergy[(2)]; 482 FIXP_DBL *pSfbEnergyLdData[(2)]; 483 FIXP_DBL *pSfbEnergyMS[(2)]; 484 FIXP_DBL *pSfbThreshold[(2)]; 622 (windowLength[ch]-psyData[ch]->lowpassLine)*sizeof(FIXP_DBL)); 634 if (psyData[ch]->mdctSpectrum[line+wOffset] != (FIXP_DBL)0) { 665 FIXP_DBL currNrg = 0; 666 FIXP_DBL maxNrg = 0 [all...] |
bandwidth.cpp | 269 FIXP_DBL bwFac_fix = fDivNorm(chanBitRate-startBr, endBr-startBr, &q_res); 270 bandwidth = (INT)scaleValue(fMult(bwFac_fix, (FIXP_DBL)(endBw-startBw)),q_res) + startBw;
|
aacenc.cpp | 386 FIXP_DBL mbfac, bw_ratio; 492 FIXP_DBL tmp = fDivNorm(config->framelength, config->sampleRate, &q_res); 495 config->maxAncBytesPerAU = FDKmin( (256), FDKmax(0,(INT)(fMultDiv2(tmp, (FIXP_DBL)(encBitrate<<sc))>>(-q_res+sc-1+3))) ); 587 bw_ratio = fDivNorm((FIXP_DBL)hAacEnc->bandwidth90dB, (FIXP_DBL)(config->sampleRate>>1), &qbw); 590 qcInit.meanPe = fMult(bw_ratio, (FIXP_DBL)((10*config->framelength)<<16)) >> (qbw-15); [all...] |
pnsparam.cpp | 298 FIXP_DBL tmp;
|
metadata_main.cpp | 192 static const FIXP_DBL dmxTable[8] = { 193 ((FIXP_DBL)MAXVAL_DBL), FL2FXCONST_DBL(0.841f), FL2FXCONST_DBL(0.707f), FL2FXCONST_DBL(0.596f),
|
qc_main.cpp | 412 hQC->vbrQualFactor = (FIXP_DBL)tableVbrQualFactor[hQC->bitrateMode].vbrQualFactor; 526 qcElement[i]->grantedDynBits = (INT)fMult(hQC->elementBits[i]->relativeBitsEl, (FIXP_DBL)codeBits); 777 hQC->elementBits[i]->bitResLevelEl = (INT)fMult(hQC->elementBits[i]->relativeBitsEl, (FIXP_DBL)(totalBitreservoir<<sc_bitResTot))>>sc_bitResTot; 780 hQC->elementBits[i]->maxBitResBitsEl = (INT)fMult(hQC->elementBits[i]->relativeBitsEl, (FIXP_DBL)(totalBitreservoirMax<<sc_bitResTotMax))>>sc_bitResTotMax; [all...] |
aacenc_lib.cpp | 631 sbrElInfo[el].bitRate = (INT)(fMultNorm(channelMapping->elInfo[el].relativeBits, (FIXP_DBL)bitRate)); 728 adjustedBitrate = fMax(initialBitrate, (INT)fDivNorm((FIXP_DBL)(sbrBitRateOut+8), cm.elInfo[e].relativeBits)); 733 adjustedBitrate = fMin(initialBitrate, (INT)fDivNorm((FIXP_DBL)(sbrBitRateOut-8), cm.elInfo[e].relativeBits)); [all...] |
/external/aac/libAACdec/src/ |
aacdec_hcrs.cpp | 402 FIXP_DBL *pQuantizedSpectralCoefficients = SPEC_LONG(pHcr->decInOut.pQuantizedSpectralCoefficientsBase); 517 FIXP_DBL *pResultBase; 577 pResultBase[iQSC++] = (FIXP_DBL)*pQuantVal++; /* write out 2 or 4 lines into spectrum; no Sign bits available in this state */ 639 FIXP_DBL *pResultBase; [all...] |
aacdec_hcr_types.h | 304 FIXP_DBL pTempValues[1024]; 339 FIXP_DBL *pResultBase; /* Base address for spectral data output target buffer */
|
aacdec_drc.cpp | 201 self->params.usrCut = (FIXP_DBL)((INT)(DRC_PARAM_QUANT_STEP>>DRC_PARAM_SCALE) * (INT)value); 214 self->params.usrBoost = (FIXP_DBL)((INT)(DRC_PARAM_QUANT_STEP>>DRC_PARAM_SCALE) * (INT)value); 291 self->enable = ( (self->params.boost > (FIXP_DBL)0) 292 || (self->params.cut > (FIXP_DBL)0) 850 FIXP_DBL *extGain, 859 FIXP_DBL max_mantissa; 862 FIXP_DBL norm_mantissa = FL2FXCONST_DBL(0.5f); 865 FIXP_DBL fact_mantissa[MAX_DRC_BANDS]; 870 FIXP_DBL *pSpectralCoefficient = SPEC_LONG(pAacDecoderChannelInfo->pSpectralCoefficient); 915 (FIXP_DBL)((INT)(FL2FXCONST_DBL(1.0f/24.0)>>3) * (INT)(pParams->targetRefLevel-self->progRefLevel)) [all...] |
aacdecoder.h | 226 FIXP_DBL extGain[1]; /*!< Gain that must be applied to the output signal. */
|
aacdecoder.cpp | [all...] |
aacdecoder_lib.cpp | 958 FIXP_DBL upsampleFactor = FL2FXCONST_DBL(1.0f/(1<<UPS_SCALE)); 970 self->streamInfo.frameSize = (INT)fMult((FIXP_DBL)self->streamInfo.aacSamplesPerFrame<<UPS_SCALE, upsampleFactor); 971 self->streamInfo.outputDelay = (UINT)(INT)fMult((FIXP_DBL)self->streamInfo.outputDelay<<UPS_SCALE, upsampleFactor); [all...] |
/external/aac/libFDK/include/arm/ |
scale.h | 131 void scaleValueInPlace(FIXP_DBL *value, /*!< Value */
|
/external/aac/libSBRdec/src/ |
sbrdec_freq_sca.cpp | 434 FIXP_DBL bandfactor = FL2FXCONST_DBL(0.25f); /* Start value */ 435 FIXP_DBL step = FL2FXCONST_DBL(0.125f); /* Initial increment for factor */ 440 * changed start and stop data type from FIXP_SGL to FIXP_DBL */ 441 FIXP_DBL start = k_start << (DFRACT_BITS-8); 442 FIXP_DBL stop = k_stop << (DFRACT_BITS-8); 444 FIXP_DBL temp; 461 step = (FIXP_DBL)((LONG)step >> 1); 467 step = (FIXP_DBL)((LONG)step >> 1);
|
env_extr.cpp | 251 h_prev_data->sfb_nrg_prev[i] = (FIXP_DBL)0; 253 h_prev_data->prevNoiseLevel[i] = (FIXP_DBL)0; [all...] |
sbr_rom.cpp | 145 const FIXP_DBL FDK_sbrDecoder_sbr_whFactorsTable[NUM_WHFACTOR_TABLE_ENTRIES][6] = { [all...] |
sbrdecoder.cpp | 843 FIXP_DBL *pNextFact_mag, 862 && !((pNextFact_mag[band] == (FIXP_DBL)MAXVAL_DBL) && (nextFact_exp == 0)) ) { [all...] |
/external/aac/libFDK/src/ |
fft_rad2.cpp | 121 void dit_fft(FIXP_DBL *x, const INT ldn, const FIXP_STP *trigdata, const INT trigDataSize) 133 FIXP_DBL a00, a10, a20, a30; 174 FIXP_DBL vr,vi,ur,ui; 216 FIXP_DBL vr,vi,ur,ui; 280 FIXP_DBL vr,vi,ur,ui; 326 void dit_ifft(FIXP_DBL *x, const INT ldn, const FIXP_STP *trigdata, const INT trigDataSize) 339 FIXP_DBL a0, a1, a2, a3, a00, a10, a20, a30; 376 FIXP_DBL vr,vi,ur,ui; 418 FIXP_DBL vr,vi,ur,ui; 481 FIXP_DBL vr,vi,ur,ui [all...] |
qmf.cpp | 128 #define FX_QSS2FX_DBL(x) ((FIXP_DBL)((LONG)x)<<(DFRACT_BITS-QSS_BITS-QSSCALE)) 203 FIXP_DBL Are = FX_QSS2FX_DBL(sta[0]) + fMultDiv2( p_fltm[0] , real); 205 if (qmf->outGain!=(FIXP_DBL)0x80000000) { 319 FIXP_DBL accu; 393 FIXP_DBL accu = (FIXP_DBL)0; [all...] |
/external/aac/libSBRenc/include/ |
sbr_encoder.h | 196 FIXP_DBL dF_edge_1stEnv; /*!< Extra fraction delta-F coding is allowed to be more expensive. */ 197 FIXP_DBL dF_edge_incr; /*!< Increment dF_edge_1stEnv this much if dT-coding was used this frame. */
|
/external/aac/libSBRdec/include/ |
sbrdecoder.h | 241 FIXP_DBL *pNextFact_mag,
|
/external/aac/libSBRenc/src/ |
code_env.cpp | 428 FIXP_DBL tmp1,tmp2,tmp3,dF_edge_1stEnv; 452 tmp3 = (FIXP_DBL)(((INT)(LONG)h_sbrCodeEnvelope->dF_edge_incr*h_sbrCodeEnvelope->dF_edge_incr_fac) >> (DFRACT_BITS-16)); 587 tmp_bits = (((delta_T_bits * dF_edge_1stEnv) >> (DFRACT_BITS-18)) + (FIXP_DBL)1) >> 1; 625 FIXP_DBL dF_edge_1stEnv, 626 FIXP_DBL dF_edge_incr)
|
sbr_encoder.cpp | 680 FreeRam_PsQmfStatesSynthesis((FIXP_DBL**)&hSbrEncoder->qmfSynthesisPS.FilterStates); 683 FreeRam_SbrDynamic_RAM((FIXP_DBL**)&hSbrEncoder->pSBRdynamic_RAM); [all...] |
/external/aac/libPCMutils/src/ |
pcmutils_lib.cpp | 206 #define FIXP_DMX FIXP_DBL 207 #define FX_DMX2FX_DBL(x) ((FIXP_DBL)(x)) 208 #define FX_DBL2FX_DMX(x) ((FIXP_DBL)(x) [all...] |