Lines Matching refs:sbrTuningTable
176 ( ( sbrTuningTable[i].coreCoder == CODEC_AACLD && core == AOT_ER_AAC_ELD ) || \ in getSbrTuningTableIndex()
177 ( sbrTuningTable[i].coreCoder == CODEC_AAC && core != AOT_ER_AAC_ELD ) ) in getSbrTuningTableIndex()
182 if ( numChannels == sbrTuningTable [i].numChannels in getSbrTuningTableIndex()
183 && sampleRate == sbrTuningTable [i].sampleRate ) in getSbrTuningTableIndex()
186 if ((bitrate >= sbrTuningTable [i].bitrateFrom) && in getSbrTuningTableIndex()
187 (bitrate < sbrTuningTable [i].bitrateTo)) { in getSbrTuningTableIndex()
193 if ( sbrTuningTable [i].bitrateFrom > bitrate ) { in getSbrTuningTableIndex()
194 if (sbrTuningTable [i].bitrateFrom < bitRateClosestLower) { in getSbrTuningTableIndex()
195 bitRateClosestLower = sbrTuningTable [i].bitrateFrom; in getSbrTuningTableIndex()
199 if ( sbrTuningTable [i].bitrateTo <= bitrate ) { in getSbrTuningTableIndex()
200 if (sbrTuningTable [i].bitrateTo > bitRateClosestUpper) { in getSbrTuningTableIndex()
201 bitRateClosestUpper = sbrTuningTable [i].bitrateTo-1; in getSbrTuningTableIndex()
217 distanceLower = sbrTuningTable [bitRateClosestLowerIndex].bitrateFrom - bitrate; in getSbrTuningTableIndex()
220 distanceUpper = bitrate - sbrTuningTable [bitRateClosestUpperIndex].bitrateTo; in getSbrTuningTableIndex()
276 distanceLower = sbrTuningTable [bitRateClosestLowerIndex].bitrateFrom - bitrate; in getPsTuningTableIndex()
279 distanceUpper = bitrate - sbrTuningTable [bitRateClosestUpperIndex].bitrateTo; in getPsTuningTableIndex()
440 config->startFreq = sbrTuningTable[idx].startFreq ; in FDKsbrEnc_AdjustSbrSettings()
441 config->stopFreq = sbrTuningTable[idx].stopFreq ; in FDKsbrEnc_AdjustSbrSettings()
443 config->startFreq = sbrTuningTable[idx].startFreqSpeech; in FDKsbrEnc_AdjustSbrSettings()
444 config->stopFreq = sbrTuningTable[idx].stopFreqSpeech; in FDKsbrEnc_AdjustSbrSettings()
462 config->sbr_noise_bands = sbrTuningTable[idx].numNoiseBands ; in FDKsbrEnc_AdjustSbrSettings()
465 config->noiseFloorOffset= sbrTuningTable[idx].noiseFloorOffset; in FDKsbrEnc_AdjustSbrSettings()
467 config->ana_max_level = sbrTuningTable[idx].noiseMaxLevel ; in FDKsbrEnc_AdjustSbrSettings()
468 config->stereoMode = sbrTuningTable[idx].stereoMode ; in FDKsbrEnc_AdjustSbrSettings()
469 config->freqScale = sbrTuningTable[idx].freqScale ; in FDKsbrEnc_AdjustSbrSettings()