Lines Matching refs:sbrTuningTable
175 ( ( sbrTuningTable[i].coreCoder == CODEC_AACLD && core == AOT_ER_AAC_ELD ) || \ in getSbrTuningTableIndex()
176 ( sbrTuningTable[i].coreCoder == CODEC_AAC && core != AOT_ER_AAC_ELD ) ) in getSbrTuningTableIndex()
181 if ( numChannels == sbrTuningTable [i].numChannels in getSbrTuningTableIndex()
182 && sampleRate == sbrTuningTable [i].sampleRate ) in getSbrTuningTableIndex()
185 if ((bitrate >= sbrTuningTable [i].bitrateFrom) && in getSbrTuningTableIndex()
186 (bitrate < sbrTuningTable [i].bitrateTo)) { in getSbrTuningTableIndex()
192 if ( sbrTuningTable [i].bitrateFrom > bitrate ) { in getSbrTuningTableIndex()
193 if (sbrTuningTable [i].bitrateFrom < bitRateClosestLower) { in getSbrTuningTableIndex()
194 bitRateClosestLower = sbrTuningTable [i].bitrateFrom; in getSbrTuningTableIndex()
198 if ( sbrTuningTable [i].bitrateTo <= bitrate ) { in getSbrTuningTableIndex()
199 if (sbrTuningTable [i].bitrateTo > bitRateClosestUpper) { in getSbrTuningTableIndex()
200 bitRateClosestUpper = sbrTuningTable [i].bitrateTo-1; in getSbrTuningTableIndex()
216 distanceLower = sbrTuningTable [bitRateClosestLowerIndex].bitrateFrom - bitrate; in getSbrTuningTableIndex()
219 distanceUpper = bitrate - sbrTuningTable [bitRateClosestUpperIndex].bitrateTo; in getSbrTuningTableIndex()
275 distanceLower = sbrTuningTable [bitRateClosestLowerIndex].bitrateFrom - bitrate; in getPsTuningTableIndex()
278 distanceUpper = bitrate - sbrTuningTable [bitRateClosestUpperIndex].bitrateTo; in getPsTuningTableIndex()
456 config->startFreq = sbrTuningTable[idx].startFreq ; in FDKsbrEnc_AdjustSbrSettings()
457 config->stopFreq = sbrTuningTable[idx].stopFreq ; in FDKsbrEnc_AdjustSbrSettings()
459 config->startFreq = sbrTuningTable[idx].startFreqSpeech; in FDKsbrEnc_AdjustSbrSettings()
460 config->stopFreq = sbrTuningTable[idx].stopFreqSpeech; in FDKsbrEnc_AdjustSbrSettings()
478 config->sbr_noise_bands = sbrTuningTable[idx].numNoiseBands ; in FDKsbrEnc_AdjustSbrSettings()
481 config->noiseFloorOffset= sbrTuningTable[idx].noiseFloorOffset; in FDKsbrEnc_AdjustSbrSettings()
483 config->ana_max_level = sbrTuningTable[idx].noiseMaxLevel ; in FDKsbrEnc_AdjustSbrSettings()
484 config->stereoMode = sbrTuningTable[idx].stereoMode ; in FDKsbrEnc_AdjustSbrSettings()
485 config->freqScale = sbrTuningTable[idx].freqScale ; in FDKsbrEnc_AdjustSbrSettings()