Home | History | Annotate | Download | only in src

Lines Matching full:bitrate

161           channels, bitrate, sample rate and core coder
168 getSbrTuningTableIndex(UINT bitrate, /*! the total bitrate in bits/sec */
193 if ((bitrate >= sbrTuningTable [i].bitrateFrom) &&
194 (bitrate < sbrTuningTable [i].bitrateTo)) {
195 bitRateClosestLower = bitrate;
196 bitRateClosestUpper = bitrate;
200 if ( sbrTuningTable [i].bitrateFrom > bitrate ) {
206 if ( sbrTuningTable [i].bitrateTo <= bitrate ) {
223 distanceLower = sbrTuningTable [bitRateClosestLowerIndex].bitrateFrom - bitrate;
226 distanceUpper = bitrate - sbrTuningTable [bitRateClosestUpperIndex].bitrateTo;
245 \brief Selects the PS tuning settings to use dependent on bitrate
252 getPsTuningTableIndex(UINT bitrate, UINT *pBitRateClosest){
259 if ((bitrate >= psTuningTable [i].bitrateFrom) &&
260 (bitrate < psTuningTable [i].bitrateTo)) {
263 if ( psTuningTable [i].bitrateFrom > bitrate ) {
269 if ( psTuningTable [i].bitrateTo <= bitrate ) {
282 distanceLower = sbrTuningTable [bitRateClosestLowerIndex].bitrateFrom - bitrate;
285 distanceUpper = bitrate - sbrTuningTable [bitRateClosestUpperIndex].bitrateTo;
302 \brief tells us, if for the given coreCoder, bitrate, number of channels
310 FDKsbrEnc_IsSbrSettingAvail (UINT bitrate, /*! the total bitrate in bits/sec */
311 UINT vbrMode, /*! the vbr paramter, 0 means constant bitrate */
323 if (bitrate==0) {
324 /* map vbr quality to bitrate */
326 bitrate = 24000;
328 bitrate = 28000;
330 bitrate = 32000;
332 bitrate = 40000;
334 bitrate = 48000;
335 bitrate *= numOutputChannels;
340 idx = getSbrTuningTableIndex(bitrate, numOutputChannels, sampleRateCore, core, NULL);
357 UINT bitRate, /*! the total bitrate in bits/sec */
361 UINT standardBitrate, /*! the standard bitrate per channel in bits/sec */
372 config->codecSettings.bitRate = bitRate;
379 if (bitRate==0) {
380 /* map vbr quality to bitrate */
382 bitRate = 24000;
384 bitRate = 28000;
386 bitRate = 32000;
388 bitRate = 40000;
390 bitRate = 48000;
391 bitRate *= numChannels;
395 if (vbrMode<40) bitRate = 32000;
400 idx = getSbrTuningTableIndex(bitRate,numChannels,fsCore, core, NULL);
419 /* adjust usage of parametric coding dependent on bitrate and speech config flag */
424 if (bitRate < 28000)
430 if (bitRate < 16000) {
435 if (bitRate < 20000) {
1686 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE aot)
1694 index = getPsTuningTableIndex(bitRate, &newBitRate);
1696 bitRate = newBitRate;
1704 index = getSbrTuningTableIndex(bitRate, numChannels, coreSampleRate, aot, &newBitRate);
1706 newBitRate = bitRate;
1748 /* check whether SBR setting is available for the current encoder configuration (bitrate, samplerate) */
1788 /* check whether SBR setting is available for the current encoder configuration (bitrate, samplerate) */
1801 if ( !FDKsbrEnc_IsSbrSettingAvail (elInfo[coreEl].bitRate, 0, elInfo[coreEl].nChannelsInEl, inputSampleRate, *aot) )
1925 elInfo[coreEl].bitRate,
2018 /* Estimate sbr bitrate, 2.5 kBit/s per sbr channel */
2026 INT psTuningTableIdx = getPsTuningTableIndex(elInfo[0].bitRate, NULL);