/external/aac/libAACdec/src/ |
aac_ram.h | 114 H_ALLOC_MEM(OverlapBuffer, FIXP_DBL) 117 H_ALLOC_MEM_OVERLAY(WorkBufferCore2, FIXP_DBL)
|
/external/aac/libAACenc/src/ |
pre_echo_control.cpp | 94 void FDKaacEnc_InitPreEchoControl(FIXP_DBL *RESTRICT pbThresholdNm1, 97 FIXP_DBL *RESTRICT sfbPcmQuantThreshold, 102 FDKmemcpy(pbThresholdNm1, sfbPcmQuantThreshold, numPb*sizeof(FIXP_DBL)); 108 void FDKaacEnc_PreEchoControl(FIXP_DBL *RESTRICT pbThresholdNm1, 113 FIXP_DBL *RESTRICT pbThreshold, 118 FIXP_DBL tmpThreshold1, tmpThreshold2; 125 FDKmemcpy(pbThresholdNm1, pbThreshold, numPb*sizeof(FIXP_DBL)); 140 FIXP_DBL tmp = pbThreshold[i];
|
psy_configuration.h | 105 #define C_RATIO (FIXP_DBL)0x02940a10 /* FL2FXCONST_DBL(0.001258925f) << THR_SHIFTBITS; */ /* pow(10.0f, -(29.0f/10.0f)) */ 116 FIXP_DBL sfbPcmQuantThreshold[MAX_SFB]; 123 FIXP_DBL clipEnergy; /* for level dependend tmn */ 125 FIXP_DBL sfbMaskLowFactor[MAX_SFB]; 126 FIXP_DBL sfbMaskHighFactor[MAX_SFB]; 128 FIXP_DBL sfbMaskLowFactorSprEn[MAX_SFB]; 129 FIXP_DBL sfbMaskHighFactorSprEn[MAX_SFB]; 131 FIXP_DBL sfbMinSnrLdData[MAX_SFB]; /* minimum snr (formerly known as bmax) */
|
tonality.h | 100 void FDKaacEnc_CalculateFullTonality( FIXP_DBL *RESTRICT spectrum, 102 FIXP_DBL *RESTRICT sfbEnergyLD64,
|
transform.h | 114 FIXP_DBL *RESTRICT mdctData, 121 ,FIXP_DBL * RESTRICT overlapAddBuffer
|
qc_data.h | 122 FIXP_DBL relativeBits; 152 FIXP_DBL maxBitFac; 162 FIXP_DBL mdctSpectrum[(1024)]; 171 FIXP_DBL sfbFormFactorLdData[MAX_GROUPED_SFB]; 173 FIXP_DBL sfbThresholdLdData[MAX_GROUPED_SFB]; 174 FIXP_DBL sfbMinSnrLdData[MAX_GROUPED_SFB]; 175 FIXP_DBL sfbEnergyLdData[MAX_GROUPED_SFB]; 176 FIXP_DBL sfbEnergy[MAX_GROUPED_SFB]; 177 FIXP_DBL sfbWeightedEnergyLdData[MAX_GROUPED_SFB]; 179 FIXP_DBL sfbEnFacLd[MAX_GROUPED_SFB] [all...] |
block_switch.h | 123 FIXP_DBL maxWindowNrg; /* max energy in subwindows */ 125 FIXP_DBL windowNrg[2][BLOCK_SWITCH_WINDOWS]; /* time signal energy in Subwindows (last and current) */ 126 FIXP_DBL windowNrgF[2][BLOCK_SWITCH_WINDOWS]; /* filtered time signal energy in segments (last and current) */ 127 FIXP_DBL accWindowNrg; /* recursively accumulated windowNrgF */ 129 FIXP_DBL iirStates[BLOCK_SWITCHING_IIR_LEN]; /* filter delay-line */
|
line_pe.h | 122 const FIXP_DBL *sfbEnergyLdData, 123 const FIXP_DBL *sfbThresholdLdData, 124 const FIXP_DBL *sfbFormFactorLdData, 131 const FIXP_DBL *RESTRICT sfbEnergyLdData, 132 const FIXP_DBL *RESTRICT sfbThresholdLdData,
|
band_nrg.cpp | 101 FDKaacEnc_CalcSfbMaxScaleSpec(const FIXP_DBL *RESTRICT mdctSpectrum, 107 FIXP_DBL maxSpc, tmp; 110 maxSpc = (FIXP_DBL)0; 115 sfbMaxScaleSpec[i] = (maxSpc==(FIXP_DBL)0) ? (DFRACT_BITS-2) : CntLeadingZeros(maxSpc)-1; 126 FIXP_DBL 127 FDKaacEnc_CheckBandEnergyOptim(const FIXP_DBL *RESTRICT mdctSpectrum, 131 FIXP_DBL *RESTRICT bandEnergy, 132 FIXP_DBL *RESTRICT bandEnergyLdData, 136 FIXP_DBL maxNrgLd = FL2FXCONST_DBL(-1.0f); 137 FIXP_DBL maxNrg = 0 [all...] |
metadata_compressor.cpp | 133 FIXP_DBL x1; 134 FIXP_DBL x2; 135 FIXP_DBL y1; 136 FIXP_DBL y2; 144 FIXP_DBL maxBoostThr[2]; /*!< Max boost threshold. */ 145 FIXP_DBL boostThr[2]; /*!< Boost threshold. */ 146 FIXP_DBL earlyCutThr[2]; /*!< Early cut threshold. */ 147 FIXP_DBL cutThr[2]; /*!< Cut threshold. */ 148 FIXP_DBL maxCutThr[2]; /*!< Max cut threshold. */ 150 FIXP_DBL boostFac[2]; /*!< Precalculated factor for boost compression. * [all...] |
intensity.cpp | 139 FIXP_DBL corr_thresh; /*!< Only set an IS seed it left/right channel correlation is above corr_thresh */ 141 FIXP_DBL total_error_thresh; /*!< When expanding the IS region to more SFBs only accept an error that is 144 FIXP_DBL local_error_thresh; /*!< When expanding the IS region to more SFBs only accept an error that is 147 FIXP_DBL direction_deviation_thresh; /*!< The maximum allowed change of the intensity direction (unit: IS scale) */ 149 FIXP_DBL is_region_min_loudness; /*!< IS regions need to have a minimal percentage of the overall loudness, e.g. 0.06 == 6% */ 153 FIXP_DBL left_right_ratio_threshold; /*!< No IS if the panning angle is not far from the middle, MS will do */ 174 calcSfbMaxScale(const FIXP_DBL *mdctSpectrum, 180 FIXP_DBL maxSpc; 184 FIXP_DBL tmp = fixp_abs((FIXP_DBL)mdctSpectrum[i]) [all...] |
noisedet.h | 100 void FDKaacEnc_noiseDetect( FIXP_DBL *mdctSpectrum,
|
ms_stereo.cpp | 106 FIXP_DBL *sfbEnergyLeft = psyData[0]->sfbEnergy.Long; /* modified where msMask==1 */ 107 FIXP_DBL *sfbEnergyRight = psyData[1]->sfbEnergy.Long; /* modified where msMask==1 */ 108 const FIXP_DBL *sfbEnergyMid = psyData[0]->sfbEnergyMS.Long; 109 const FIXP_DBL *sfbEnergySide = psyData[1]->sfbEnergyMS.Long; 110 FIXP_DBL *sfbThresholdLeft = psyData[0]->sfbThreshold.Long; /* modified where msMask==1 */ 111 FIXP_DBL *sfbThresholdRight = psyData[1]->sfbThreshold.Long; /* modified where msMask==1 */ 113 FIXP_DBL *sfbSpreadEnLeft = psyData[0]->sfbSpreadEnergy.Long; 114 FIXP_DBL *sfbSpreadEnRight = psyData[1]->sfbSpreadEnergy.Long; 116 FIXP_DBL *sfbEnergyLeftLdData = psyOutChannel[0]->sfbEnergyLdData; /* modified where msMask==1 */ 117 FIXP_DBL *sfbEnergyRightLdData = psyOutChannel[1]->sfbEnergyLdData; /* modified where msMask== (…) [all...] |
aacEnc_rom.h | 138 #define FIXP_QTD FIXP_DBL 146 extern const FIXP_DBL FDKaacEnc_mTab_4_3Elc[512]; 147 extern const FIXP_DBL FDKaacEnc_specExpMantTableCombElc[4][14]; 190 extern const FIXP_DBL FDKaacEnc_tnsEncCoeff3[8]; 191 extern const FIXP_DBL FDKaacEnc_tnsCoeff3Borders[8]; 192 extern const FIXP_DBL FDKaacEnc_tnsEncCoeff4[16]; 193 extern const FIXP_DBL FDKaacEnc_tnsCoeff4Borders[16];
|
quantize.cpp | 106 FIXP_DBL *mdctSpectrum, 110 FIXP_DBL k = FL2FXCONST_DBL(-0.0946f + 0.5f)>>16; 117 FIXP_DBL accu = fMultDiv2(mdctSpectrum[line],quantizer); 164 FIXP_DBL *mdctSpectrum) 177 FIXP_DBL accu; 179 FIXP_DBL s,t; 181 accu = (FIXP_DBL) -quantSpectrum[line]; 211 FIXP_DBL accu; 213 FIXP_DBL s,t; 215 accu = (FIXP_DBL)(INT)quantSpectrum[line] [all...] |
/external/aac/libFDK/include/ |
fft_rad2.h | 106 void dit_fft(FIXP_DBL *x, const INT ldn, const FIXP_STP *trigdata, const INT trigDataSize) ; 117 void dit_ifft(FIXP_DBL *x, const INT ldn, const FIXP_STP *trigdata, const INT trigDataSize) ;
|
/external/aac/libFDK/include/mips/ |
abs_mips.h | 99 inline FIXP_DBL fixabs_D(FIXP_DBL x) { return __builtin_mips_absq_s_w(x); }
|
/external/aac/libFDK/src/mips/ |
scale.cpp | 105 inline INT getScalefactor(const FIXP_DBL *vector, /*!< Pointer to input vector */ 109 FIXP_DBL maxVal = FL2FX_DBL(0.0f);
|
/external/aac/libSBRdec/src/ |
sbr_ram.h | 124 FIXP_DBL *workBuffer1; 125 FIXP_DBL *workBuffer2; 148 H_ALLOC_MEM(Ram_sbr_OverlapBuffer, FIXP_DBL) 154 H_ALLOC_MEM_OVERLAY(Ram_SbrDecWorkBuffer1, FIXP_DBL) 155 H_ALLOC_MEM_OVERLAY(Ram_SbrDecWorkBuffer2, FIXP_DBL)
|
transcendent.h | 127 FIXP_DBL accu; 131 FIXP_DBL shiftedMantissa; 132 FIXP_DBL otherMantissa; 149 if ( (accu >= (FL2FXCONST_DBL(0.5f) - (FIXP_DBL)1)) || (accu <= FL2FXCONST_DBL(-0.5f)) ) 158 inline void FDK_add_MantExp(FIXP_DBL a, /*!< Mantissa of 1st operand a */ 160 FIXP_DBL b, /*!< Mantissa of 2nd operand b */ 162 FIXP_DBL *ptrSum, /*!< Mantissa of result */ 165 FIXP_DBL accu; 169 FIXP_DBL shiftedMantissa; 170 FIXP_DBL otherMantissa [all...] |
/external/aac/libFDK/src/ |
FDK_trigFcts.cpp | 103 static const FIXP_DBL f_atan_expand_range[MAXSFTAB-(MINSFTAB-1)] = 132 FIXP_DBL fixp_atan2(FIXP_DBL y, FIXP_DBL x) 134 FIXP_DBL q; 135 FIXP_DBL at; // atan out 136 FIXP_DBL at2; // atan2 out 137 FIXP_DBL ret = FL2FXCONST_DBL(-1.0f); 239 FIXP_DBL fixp_atan(FIXP_DBL x [all...] |
mdct.cpp | 100 FIXP_DBL *overlap, 104 //FDKmemclear(overlap, overlapBufferSize*sizeof(FIXP_DBL)); 112 void imdct_gain(FIXP_DBL *pGain_m, int *pGain_e, int tl) 114 FIXP_DBL gain_m = *pGain_m; 118 log2_tl = DFRACT_BITS-1-fNormz((FIXP_DBL)tl); 126 if (gain_m == (FIXP_DBL)0) { 133 if (gain_m == (FIXP_DBL)0) { 154 FIXP_DBL *output, 166 FDKmemcpy(output, hMdct->overlap.time, buffered_samples*sizeof(FIXP_DBL)); 175 FIXP_DBL * pTimeData [all...] |
/external/aac/libFDK/include/arm/ |
scramble.h | 100 inline void scramble(FIXP_DBL x [], INT n) {
|
/external/aac/libSBRenc/src/ |
tran_det.cpp | 94 /* static FIXP_DBL ABS_THRES = fixMax( FL2FXCONST_DBL(1.28e5 * NORM_QMF_ENERGY), (FIXP_DBL)1) Minimum threshold for detecting changes */ 95 #define ABS_THRES ((FIXP_DBL)16) 109 static FIXP_DBL spectralChange(FIXP_DBL Energies[NUMBER_TIME_SLOTS_2304][MAX_FREQ_COEFFS], 111 FIXP_DBL EnergyTotal, 119 FIXP_DBL delta,tmp0,tmp1,tmp2; 120 FIXP_DBL accu1,accu2,delta_sum,result; 129 FIXP_DBL pos_weight; 131 pos_weight = /*FL2FXCONST_DBL(1.0)*/ (FIXP_DBL)MAXVAL_DBL - (fMult(pos_weight, pos_weight)<<2) [all...] |
invf_est.cpp | 101 static const FIXP_DBL quantStepsSbr[4] = { 0x00400000, 0x02800000, 0x03800000, 0x04c00000 } ; /* table scaled with SCALE_FAC_QUO */ 102 static const FIXP_DBL quantStepsOrig[4] = { 0x00000000, 0x00c00000, 0x01c00000, 0x02800000 } ; /* table scaled with SCALE_FAC_QUO */ 103 static const FIXP_DBL nrgBorders[4] = { 0x0c800000, 0x0f000000, 0x11800000, 0x14000000 } ; /* table scaled with SCALE_FAC_NRG */ 129 static const FIXP_DBL hysteresis = 0x00400000 ; /* Delta value for hysteresis. scaled with SCALE_FAC_QUO */ 161 typedef const FIXP_DBL FIR_FILTER[5]; 188 calculateDetectorValues(FIXP_DBL **quotaMatrixOrig, /*!< Matrix holding the tonality values of the original. */ 190 FIXP_DBL *nrgVector, /*!< Energy vector. */ 201 const FIXP_DBL* filter = *fir_table[INVF_SMOOTHING_LENGTH]; 202 FIXP_DBL origQuotaMeanStrongest, sbrQuotaMeanStrongest; 203 FIXP_DBL origQuota, sbrQuota [all...] |