/external/aac/libSBRenc/include/ |
D | sbr_encoder.h | 114 INT bitRate; 115 INT nChannels; 116 INT sampleFreq; 117 INT transFac; 118 INT standardBitrate; 165 INT SendHeaderDataTime; /*!< SBR header send update frequency in ms. */ 166 INT useWaveCoding; /*!< Flag: usage of wavecoding tool. */ 167 INT crcSbr; /*!< Flag: usage of SBR-CRC. */ 168 INT dynBwSupported; /*!< Flag: support for dynamic bandwidth in this combination. */ 169 INT parametricCoding; /*!< Flag: usage of parametric coding tool. */ [all …]
|
/external/aac/libSBRenc/src/ |
D | bit_sbr.h | 99 INT TotalBits; 100 INT PayloadBits; 101 INT FillBits; 102 INT HeaderActive; 103 INT NrSendHeaderData; /**< input from commandline */ 104 …INT CountSendHeaderData; /**< modulo count. If < 0 then no counting is done (no SBR header… 112 INT sbr_start_frequency; 113 INT sbr_stop_frequency; 114 INT sbr_xover_band; 115 INT sbr_noise_bands; [all …]
|
D | sbrenc_freq_sca.cpp | 96 static INT getStartFreq(INT fsCore, const INT start_freq); 99 static INT getStopFreq(INT fsCore, const INT stop_freq); 101 static INT numberOfBands(INT b_p_o, INT start, INT stop, FIXP_DBL warp_factor); 102 static void CalcBands(INT * diff, INT start , INT stop , INT num_bands); 103 static INT modifyBands(INT max_band, INT * diff, INT length); 104 static void cumSum(INT start_value, INT* diff, INT length, UCHAR *start_adress); 118 INT 119 FDKsbrEnc_getSbrStartFreqRAW (INT startFreq, INT fsCore) in FDKsbrEnc_getSbrStartFreqRAW() 121 INT result; in FDKsbrEnc_getSbrStartFreqRAW() 145 INT FDKsbrEnc_getSbrStopFreqRAW (INT stopFreq, INT fsCore) in FDKsbrEnc_getSbrStopFreqRAW() [all …]
|
D | ton_corr.h | 102 INT sourceStartBand; /*!< first band in lowbands where to take the samples from */ 103 …INT sourceStopBand; /*!< first band in lowbands which is not included in the patch any… 104 INT guardStartBand; /*!< first band in highbands to be filled with zeros in order to 106 …INT targetStartBand; /*!< first band in highbands to be filled with whitened lowband si… 107 INT targetBandOffs; /*!< difference between 'startTargetBand' and 'startSourceBand' */ 108 INT numBandsInPatch; /*!< number of consecutive bands in this one patch */ 116 INT switchInverseFilt; /*!< Flag to enable dynamic adaption of invf. detection */ 117 INT noQmfChannels; 118 INT bufferLength; /*!< Length of the r and i buffers. */ 119 INT stepSize; /*!< Stride for the lpc estimate. */ [all …]
|
D | fram_gen.h | 192 …INT bufferFrameStart; /*!< frame generator vs analysis buffer time alignment (currently set to… 193 INT numberTimeSlots; /*!< number of SBR timeslots per frame */ 197 INT bs_num_env; /*!< bs_num_env, number of envelopes for FIXFIX */ 198 INT bs_abs_bord; /*!< bs_abs_bord, absolute border for VARFIX and FIXVAR */ 199 INT n; /*!< number of relative borders for VARFIX and FIXVAR */ 200 INT p; /*!< pointer-to-transient-border */ 201 INT bs_rel_bord[MAX_NUM_REL]; /*!< bs_rel_bord, relative borders for all VAR */ 202 …INT v_f[MAX_ENVELOPES_FIXVAR_VARFIX]; /*!< envelope frequency resolutions for FIXVAR and VARFIX */ 204 INT bs_abs_bord_0; /*!< bs_abs_bord_0, leading absolute border for VARVAR */ 205 INT bs_abs_bord_1; /*!< bs_abs_bord_1, trailing absolute border for VARVAR */ [all …]
|
D | ps_bitenc.h | 100 INT enablePSHeader; 101 INT enableIID; 102 INT iidMode; 103 INT enableICC; 104 INT iccMode; 105 INT enableIpdOpd; 107 INT frameClass; 108 INT nEnvelopes; 110 INT frameBorder[PS_MAX_ENVELOPES]; 114 INT iid[PS_MAX_ENVELOPES][PS_MAX_BANDS]; [all …]
|
D | sbrenc_freq_sca.h | 98 INT 101 INT *h_num_bands, 102 const INT k0, 103 const INT k2, 104 const INT freq_scale, 105 const INT alter_scale 108 INT 111 INT *num_hires, 113 INT num_master, 114 INT *xover_band [all …]
|
D | fram_gen.cpp | 229 static void fillFramePre (INT dmax, INT *v_bord, INT *length_v_bord, 230 INT *v_freq, INT *length_v_freq, INT bmin, 231 INT rest); 233 static void fillFramePost (INT *parts, INT *d, INT dmax, INT *v_bord, 234 INT *length_v_bord, INT *v_freq, 235 INT *length_v_freq, INT bmax, 236 INT bufferFrameStart, INT numberTimeSlots, INT fmax); 238 static void fillFrameInter (INT *nL, const int *v_tuningSegm, INT *v_bord, 239 INT *length_v_bord, INT bmin, INT *v_freq, 240 INT *length_v_freq, INT *v_bordFollow, [all …]
|
D | ps_bitenc.cpp | 114 static const INT iidDeltaCoarse_Offset = 14; 115 static const INT iidDeltaCoarse_MaxVal = 28; 116 static const INT iidDeltaFine_Offset = 30; 117 static const INT iidDeltaFine_MaxVal = 60; 191 static const INT iccDelta_Offset = 7; 192 static const INT iccDelta_MaxVal = 14; 219 static const INT ipdDelta_Offset = 0; 220 static const INT ipdDelta_MaxVal = 7; 242 static const INT opdDelta_Offset = 0; 243 static const INT opdDelta_MaxVal = 7; [all …]
|
D | mh_det.h | 113 …INT deltaTime; /*!< maximum allowed transient distance (from frame border in number of … 116 INT maxComp; /*!< maximum alllowed compensation factor for the envelope data. */ 129 INT qmfNoChannels; 130 INT nSfb; 131 INT sampleFreq; 132 INT previousTransientFlag; 133 INT previousTransientFrame; 134 INT previousTransientPos; 136 INT noVecPerFrame; 137 INT transientPosOffset; [all …]
|
D | ps_encode.h | 118 INT iidEnable; 119 INT iidEnableLast; 120 INT iidQuantMode; 121 INT iidQuantModeLast; 122 INT iidDiffMode[PS_MAX_ENVELOPES]; 123 INT iidIdx [PS_MAX_ENVELOPES][PS_MAX_BANDS]; 124 INT iidIdxLast [PS_MAX_BANDS]; 126 INT iccEnable; 127 INT iccEnableLast; 128 INT iccQuantMode; [all …]
|
D | code_env.h | 98 INT offset; 99 INT upDate; 100 INT nSfb[2]; 102 INT deltaTAcrossFrames; 105 INT dF_edge_incr_fac; 108 INT codeBookScfLavTime; 109 INT codeBookScfLavFreq; 111 INT codeBookScfLavLevelTime; 112 INT codeBookScfLavLevelFreq; 113 INT codeBookScfLavBalanceTime; [all …]
|
D | sbr_misc.cpp | 91 void FDKsbrEnc_Shellsort_fract (FIXP_DBL *in, INT n) in FDKsbrEnc_Shellsort_fract() 94 INT i, j; in FDKsbrEnc_Shellsort_fract() 95 INT inc = 1; in FDKsbrEnc_Shellsort_fract() 119 void FDKsbrEnc_Shellsort_int (INT *in, INT n) in FDKsbrEnc_Shellsort_int() 122 INT i, j, v; in FDKsbrEnc_Shellsort_int() 123 INT inc = 1; in FDKsbrEnc_Shellsort_int() 160 FDKsbrEnc_AddVecLeft (INT *dst, INT *length_dst, INT *src, INT length_src) in FDKsbrEnc_AddVecLeft() 162 INT i; in FDKsbrEnc_AddVecLeft() 181 FDKsbrEnc_AddLeft (INT *vector, INT *length_vector, INT value) in FDKsbrEnc_AddLeft() 183 INT i; in FDKsbrEnc_AddLeft() [all …]
|
/external/aac/libAACenc/src/ |
D | qc_data.h | 119 INT instanceTag; 120 INT nChannelsInEl; 121 INT ChannelIndex[2]; 127 INT nChannels; 128 INT nChannelsEff; 129 INT nElements; 134 INT paddingRest; 142 INT sceCpe; /* not used yet */ 143 INT maxBits; /* maximum number of bits in reservoir */ 144 INT averageBits; /* average number of bits we should use */ [all …]
|
D | dyn_bits.h | 109 INT codeBook; 110 INT sfbStart; 111 INT sfbCnt; 112 INT sectionBits; /* huff + si ! */ 118 INT blockType; 119 INT noOfGroups; 120 INT sfbCnt; 121 INT maxSfbPerGroup; 122 INT sfbPerGroup; 123 INT noOfSections; [all …]
|
D | aacenc_tns.h | 122 INT filterEnabled[MAX_NUM_OF_FILTERS]; 123 INT threshOn[MAX_NUM_OF_FILTERS]; /* min. prediction gain for using tns TABUL*/ 124 INT tnsLimitOrder[MAX_NUM_OF_FILTERS]; /* Limit for TNS order TABUL*/ 125 INT tnsFilterDirection[MAX_NUM_OF_FILTERS]; /* Filtering direction, 0=up, 1=down TABUL */ 126 INT acfSplit[MAX_NUM_OF_FILTERS]; 127 INT seperateFiltersAllowed; 135 INT tnsActive; 136 INT maxOrder; /* max. order of tns filter */ 137 INT coefRes; 142 INT lpcStartBand[MAX_NUM_OF_FILTERS]; [all …]
|
D | aacenc.h | 183 INT sampleRate; /* encoder sample rate */ 184 INT bitRate; /* encoder bit rate in bits/sec */ 185 …INT ancDataBitRate; /* additional bits consumed by anc data or sbr have to be consiedere… 187 INT nSubFrames; /* number of frames in super frame (not ADTS/LATM subframes !) */ 190 INT averageBits; /* encoder bit rate in bits/superframe */ 191 INT bitrateMode; /* encoder bitrate mode (CBR/VBR) */ 192 INT nChannels; /* number of channels to process */ 194 INT bandWidth; /* targeted audio bandwidth in Hz */ 196 INT framelength; /* used frame size */ 201 INT anc_Rate; /* ancillary rate, 0 (disabled), -1 (default) else desired rate */ [all …]
|
D | pns_func.h | 102 INT bitRate, 103 INT sampleRate, 104 INT usePns, 105 INT sfbCnt, 106 const INT *sfbOffset, 107 const INT numChan, 108 const INT isLC ); 112 const INT lastWindowSequence, 113 const INT sfbActive, 114 const INT maxSfbPerGroup, [all …]
|
D | aacenc_pns.cpp | 106 const INT sfbActive, 107 const INT *sfbOffset, 108 INT tnsOrder, 109 INT tnsPredictionGain, 110 INT tnsActive, 112 INT *sfbMaxScaleSpec, 115 static void FDKaacEnc_CalcNoiseNrgs( const INT sfbActive, 116 INT *pnsFlag, 118 INT *noiseNrg ); 133 INT bitRate, in FDKaacEnc_InitPnsConfiguration() [all …]
|
D | dyn_bits.cpp | 98 typedef INT (*lookUpTable)[CODE_BOOK_ESC_NDX + 1]; 100 static INT FDKaacEnc_getSideInfoBits( in FDKaacEnc_getSideInfoBits() 103 const INT useHCR in FDKaacEnc_getSideInfoBits() 106 INT sideInfoBits; in FDKaacEnc_getSideInfoBits() 121 const INT maxSfb, in FDKaacEnc_buildBitLookUp() 122 const INT* const sfbOffset, in FDKaacEnc_buildBitLookUp() 124 INT bitLookUp[MAX_SFB_LONG][CODE_BOOK_ESC_NDX + 1], in FDKaacEnc_buildBitLookUp() 128 INT i, sfbWidth; in FDKaacEnc_buildBitLookUp() 142 static INT FDKaacEnc_findBestBook( in FDKaacEnc_findBestBook() 143 const INT* const bc, in FDKaacEnc_findBestBook() [all …]
|
D | line_pe.h | 102 INT sfbNLines[MAX_GROUPED_SFB]; /* number of relevant lines in sfb */ 104 INT sfbPe[MAX_GROUPED_SFB]; /* pe for each sfb */ 105 INT sfbConstPart[MAX_GROUPED_SFB]; /* constant part for each sfb */ 106 INT sfbNActiveLines[MAX_GROUPED_SFB]; /* number of active lines in sfb */ 107 INT pe; /* sum of sfbPe */ 108 INT constPart; /* sum of sfbConstPart */ 109 INT nActiveLines; /* sum of sfbNActiveLines */ 114 INT pe; 115 INT constPart; 116 INT nActiveLines; [all …]
|
D | tns_func.h | 98 AAC_ENCODER_ERROR FDKaacEnc_InitTnsConfiguration(INT bitrate, 99 INT samplerate, 100 INT channels, 101 INT blocktype, 102 INT granuleLength, 103 INT ldSbrPresent, 106 INT active, 107 INT useTnsPeak ); 109 INT FDKaacEnc_TnsDetect( 113 INT sfbCnt, [all …]
|
D | band_nrg.h | 100 const INT *bandOffset, 101 INT *sfbMaxScaleSpec, 102 const INT numBands 108 INT *sfbMaxScaleSpec, 109 const INT *bandOffset, 110 const INT numBands, 113 INT minSpecShift 116 INT 119 INT *sfbMaxScaleSpec, 120 const INT *bandOffset, [all …]
|
/external/aac/libFDK/src/ |
D | scale.cpp | 121 INT len, /*!< Length */ in scaleValues() 122 INT scalefactor /*!< Scalefactor */ in scaleValues() 125 INT i; in scaleValues() 131 scalefactor = fixmin_I(scalefactor,(INT)(DFRACT_BITS-1)); in scaleValues() 144 INT negScalefactor = fixmin_I(-scalefactor,(INT)DFRACT_BITS-1); in scaleValues() 171 INT len, /*!< Length */ in scaleValues() 172 INT scalefactor /*!< Scalefactor */ in scaleValues() 175 INT i; in scaleValues() 181 scalefactor = fixmin_I(scalefactor,(INT)DFRACT_BITS-1); in scaleValues() 194 INT negScalefactor = fixmin_I(-scalefactor,(INT)DFRACT_BITS-1); in scaleValues() [all …]
|
/external/aac/libFDK/include/ |
D | fixpoint_math.h | 106 void LdDataVector(FIXP_DBL *srcVector, FIXP_DBL *destVector, INT number); 112 FIXP_DBL CalcLdInt(INT i); 118 UINT y = (INT)x; in sqrtFixp_lookup() 120 INT zeros=fixnormz_D(y) & 0x1e; in sqrtFixp_lookup() 130 inline FIXP_DBL sqrtFixp_lookup(FIXP_DBL x, INT *x_e) in sqrtFixp_lookup() 132 UINT y = (INT)x; in sqrtFixp_lookup() 133 INT e; in sqrtFixp_lookup() 166 FIXP_DBL invSqrtNorm2(FIXP_DBL op, INT *shift); 176 INT tmp_exp ; in invFixp() 187 inline FIXP_DBL schur_div(FIXP_DBL num,FIXP_DBL denum, INT count) in schur_div() [all …]
|