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()
1495 INT nChannels, INT supportPS) { in sbrEncoder_Open() argument
1537 for (i = 0; i < nChannels; i++) { in sbrEncoder_Open()
1550 for (i = 0; i < fixMax(nChannels, (supportPS) ? 2 : 0); i++) { in sbrEncoder_Open()
1666 if ((params->codecSettings.nChannels < 1) || in FDKsbrEnc_EnvInit()
1667 (params->codecSettings.nChannels > MAX_NUM_CHANNELS)) { in FDKsbrEnc_EnvInit()
1701 hSbrElement->sbrConfigData.nChannels = params->codecSettings.nChannels; in FDKsbrEnc_EnvInit()
1703 if (params->codecSettings.nChannels == 2) { in FDKsbrEnc_EnvInit()
1801 for (ch = 0; ch < hSbrElement->sbrConfigData.nChannels; ch++) { in FDKsbrEnc_EnvInit()
1813 : hSbrElement->sbrConfigData.nChannels); in FDKsbrEnc_EnvInit()
1845 hSbrElement->CmonData.sbrNumChannels = hSbrElement->sbrConfigData.nChannels; in FDKsbrEnc_EnvInit()
1876 timeBuffer + hEnvEnc->downsampledOffset / hEnvEnc->nChannels, in FDKsbrEnc_DelayCompensation()
2158 hSbrEncoder->nChannels = *numChannels; in sbrEncoder_Init()
2393 samples + hSbrEncoder->downsampledOffset / hSbrEncoder->nChannels, in sbrEncoder_EncodeFrame()
2401 samples + hSbrEncoder->downsampledOffset / hSbrEncoder->nChannels, in sbrEncoder_EncodeFrame()
2402 samplesBufSize, hSbrEncoder->nChannels, &sbrDataBits[el], sbrData[el], 0); in sbrEncoder_EncodeFrame()
2412 int nd = hSbrEncoder->downmixSize / hSbrEncoder->nChannels; in sbrEncoder_UpdateBuffers()
2414 for (c = 0; c < hSbrEncoder->nChannels; c++) { in sbrEncoder_UpdateBuffers()
2419 (hSbrEncoder->downsampledOffset / hSbrEncoder->nChannels)); in sbrEncoder_UpdateBuffers()
2424 for (c = 0; c < hSbrEncoder->nChannels; c++) { in sbrEncoder_UpdateBuffers()
2429 sizeof(INT_PCM) * hSbrEncoder->bufferOffset / hSbrEncoder->nChannels); in sbrEncoder_UpdateBuffers()