Lines Matching refs:nChannels
455 config->codecSettings.nChannels = numChannels; in FDKsbrEnc_AdjustSbrSettings()
1030 INT nEnvCh = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_EnvEncodeFrame()
1069 for (ch = 0; ch < hSbrElement->sbrConfigData.nChannels; ch++) { in FDKsbrEnc_EnvEncodeFrame()
1225 int nChannels = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_Downsample() local
1227 for (ch = 0; ch < nChannels; ch++) { in FDKsbrEnc_Downsample()
1497 INT nChannels, INT supportPS) { in sbrEncoder_Open() argument
1539 for (i = 0; i < nChannels; i++) { in sbrEncoder_Open()
1552 for (i = 0; i < fixMax(nChannels, (supportPS) ? 2 : 0); i++) { in sbrEncoder_Open()
1668 if ((params->codecSettings.nChannels < 1) || in FDKsbrEnc_EnvInit()
1669 (params->codecSettings.nChannels > MAX_NUM_CHANNELS)) { in FDKsbrEnc_EnvInit()
1703 hSbrElement->sbrConfigData.nChannels = params->codecSettings.nChannels; in FDKsbrEnc_EnvInit()
1705 if (params->codecSettings.nChannels == 2) { in FDKsbrEnc_EnvInit()
1802 for (ch = 0; ch < hSbrElement->sbrConfigData.nChannels; ch++) { in FDKsbrEnc_EnvInit()
1814 : hSbrElement->sbrConfigData.nChannels); in FDKsbrEnc_EnvInit()
1846 hSbrElement->CmonData.sbrNumChannels = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_EnvInit()
1877 timeBuffer + hEnvEnc->downsampledOffset / hEnvEnc->nChannels, in FDKsbrEnc_DelayCompensation()
2159 hSbrEncoder->nChannels = *numChannels; in sbrEncoder_Init()
2394 samples + hSbrEncoder->downsampledOffset / hSbrEncoder->nChannels, in sbrEncoder_EncodeFrame()
2402 samples + hSbrEncoder->downsampledOffset / hSbrEncoder->nChannels, in sbrEncoder_EncodeFrame()
2403 samplesBufSize, hSbrEncoder->nChannels, &sbrDataBits[el], sbrData[el], 0); in sbrEncoder_EncodeFrame()
2413 int nd = hSbrEncoder->downmixSize / hSbrEncoder->nChannels; in sbrEncoder_UpdateBuffers()
2415 for (c = 0; c < hSbrEncoder->nChannels; c++) { in sbrEncoder_UpdateBuffers()
2420 (hSbrEncoder->downsampledOffset / hSbrEncoder->nChannels)); in sbrEncoder_UpdateBuffers()
2425 for (c = 0; c < hSbrEncoder->nChannels; c++) { in sbrEncoder_UpdateBuffers()
2430 sizeof(INT_PCM) * hSbrEncoder->bufferOffset / hSbrEncoder->nChannels); in sbrEncoder_UpdateBuffers()