Lines Matching refs:numChannels

165                        UINT numChannels,/*! the number of channels for the core coder */
181 if ( numChannels == sbrTuningTable [i].numChannels
396 UINT numChannels, /*! the core coder number of channels */
410 config->codecSettings.nChannels = numChannels;
444 bitRate *= numChannels;
446 if (numChannels==1) {
453 idx = getSbrTuningTableIndex(bitRate,numChannels,sampleRateCore, core, NULL);
487 if (numChannels == 1) {
548 if (numChannels == 1) {
1866 UINT sbrEncoder_LimitBitRate(UINT bitRate, UINT numChannels, UINT coreSampleRate, AUDIO_OBJECT_TYPE aot)
1871 FDK_ASSERT(numChannels > 0 && numChannels <= 2);
1873 if (numChannels == 2) {
1878 /* Set numChannels to 1 because for PS we need a SBR SCE (mono) element. */
1879 numChannels = 1;
1884 index = getSbrTuningTableIndex(bitRate, numChannels, coreSampleRate, aot, &newBitRate);
1905 INT *numChannels,
1924 int inputChannels = *numChannels;
1955 if ( *numChannels == 2 && noElements == 1) {
1961 *numChannels = 1;
2050 downsampledOffset = (delayDiff*(*numChannels))>>(*downSampleFactor-1);
2061 sbrOffset = delayDiff*(*numChannels);
2065 hSbrEncoder->nChannels = *numChannels;
2196 if (sbrOffset > 0 || downsampledOffset <= ((downsamplerDelay * (*numChannels))>>(*downSampleFactor-1))) {
2197 sbrOffset += (downsamplerDelay - downsampledOffset) * (*numChannels) ;
2201 downsampledOffset -= (downsamplerDelay * (*numChannels))>>(*downSampleFactor-1);
2212 hSbrEncoder->estimateBitrate += 2500 * (*numChannels);
2269 hSbrEncoder->downmixSize = coreFrameLength*(*numChannels);
2295 *numChannels = inputChannels;