/external/aac/libSBRenc/include/ |
D | sbr_encoder.h | 114 INT bitRate; 115 INT nChannels; 116 INT sampleFreq; 117 INT transFac; 118 INT standardBitrate; 171 INT SendHeaderDataTime; /*!< SBR header send update frequency in ms. */ 172 INT useWaveCoding; /*!< Flag: usage of wavecoding tool. */ 173 INT crcSbr; /*!< Flag: usage of SBR-CRC. */ 174 INT dynBwSupported; /*!< Flag: support for dynamic bandwidth in this combination. */ 175 INT parametricCoding; /*!< Flag: usage of parametric coding tool. */ [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.h | 188 INT sampleRate; /* encoder sample rate */ 189 INT bitRate; /* encoder bit rate in bits/sec */ 190 …INT ancDataBitRate; /* additional bits consumed by anc data or sbr have to be consiedere… 192 INT nSubFrames; /* number of frames in super frame (not ADTS/LATM subframes !) */ 195 INT averageBits; /* encoder bit rate in bits/superframe */ 196 INT bitrateMode; /* encoder bitrate mode (CBR/VBR) */ 197 INT nChannels; /* number of channels to process */ 199 INT bandWidth; /* targeted audio bandwidth in Hz */ 201 INT framelength; /* used frame size */ 206 INT anc_Rate; /* ancillary rate, 0 (disabled), -1 (default) else desired rate */ [all …]
|
D | aacenc_tns.h | 125 INT filterEnabled[MAX_NUM_OF_FILTERS]; 126 …INT threshOn[MAX_NUM_OF_FILTERS]; /* min. prediction gain for using tns TABUL*/ 127 INT filterStartFreq[MAX_NUM_OF_FILTERS]; /* lowest freq for lpc TABUL*/ 128 INT tnsLimitOrder[MAX_NUM_OF_FILTERS]; /* Limit for TNS order TABUL*/ 129 …INT tnsFilterDirection[MAX_NUM_OF_FILTERS]; /* Filtering direction, 0=up, 1=down TABUL */ 130 INT acfSplit[MAX_NUM_OF_FILTERS]; 132 INT seperateFiltersAllowed; 138 INT isLowDelay; 139 INT tnsActive; 140 INT maxOrder; /* max. order of tns filter */ [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 | 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 | 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 | 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 isLowDelay, 104 INT ldSbrPresent, 107 INT active, 108 INT useTnsPeak ); 110 INT FDKaacEnc_TnsDetect( [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 | adj_thr.h | 107 const INT nChannels 110 INT FDKaacEnc_AdjThrNew(ADJ_THR_STATE** phAdjThr, 111 INT nElements); 114 const INT peMean, 116 INT invQuant, 117 INT nElements, 118 INT nChannelsEff, 119 INT sampleRate, 120 INT advancedBitsToPe, 122 const INT dZoneQuantEnable); [all …]
|
/external/aac/libSBRenc/src/ |
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 | 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 | 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 | 193 …INT bufferFrameStart; /*!< frame generator vs analysis buffer time alignment (currently set to… 194 INT numberTimeSlots; /*!< number of SBR timeslots per frame */ 198 INT bs_num_env; /*!< bs_num_env, number of envelopes for FIXFIX */ 199 INT bs_abs_bord; /*!< bs_abs_bord, absolute border for VARFIX and FIXVAR */ 200 INT n; /*!< number of relative borders for VARFIX and FIXVAR */ 201 INT p; /*!< pointer-to-transient-border */ 202 INT bs_rel_bord[MAX_NUM_REL]; /*!< bs_rel_bord, relative borders for all VAR */ 203 …INT v_f[MAX_ENVELOPES_FIXVAR_VARFIX]; /*!< envelope frequency resolutions for FIXVAR and VARFIX */ 205 INT bs_abs_bord_0; /*!< bs_abs_bord_0, leading absolute border for VARVAR */ 206 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 | 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 | 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_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 | tran_det.h | 100 INT split_thr_e; /* Scale for splitting threshold */ 103 INT tran_fc; /* Number of lowband subbands to discard */ 104 INT no_cols; 105 INT no_rows; 106 INT mode; 126 INT transientCandidates[QMF_MAX_TIME_SLOTS + TRAN_DET_LOOKAHEAD]; 127 INT nTimeSlots; 128 INT lookahead; 129 INT startBand; 130 INT stopBand; [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 FDK_INLINE INT fIsLessThan(FIXP_DBL a_m, INT a_e, FIXP_DBL b_m, INT b_e) in fIsLessThan() 115 FDK_INLINE INT fIsLessThan(FIXP_SGL a_m, INT a_e, FIXP_SGL b_m, INT b_e) in fIsLessThan() 135 void LdDataVector(FIXP_DBL *srcVector, FIXP_DBL *destVector, INT number); 141 FIXP_DBL CalcLdInt(INT i); 147 UINT y = (INT)x; in sqrtFixp_lookup() 149 INT zeros=fixnormz_D(y) & 0x1e; in sqrtFixp_lookup() 159 inline FIXP_DBL sqrtFixp_lookup(FIXP_DBL x, INT *x_e) in sqrtFixp_lookup() 161 UINT y = (INT)x; in sqrtFixp_lookup() 162 INT e; in sqrtFixp_lookup() 195 FIXP_DBL invSqrtNorm2(FIXP_DBL op, INT *shift); [all …]
|