Lines Matching refs:numInChannels
2073 int numOutChannels, numInChannels; in pcmDmx_ApplyFrame() local
2099 numInChannels = *nChannels; in pcmDmx_ApplyFrame()
2108 if (numInChannels == 0) { in pcmDmx_ApplyFrame()
2111 if (numInChannels > (8)) { in pcmDmx_ApplyFrame()
2122 (pParam->numOutChannelsMax >= numInChannels)) && in pcmDmx_ApplyFrame()
2123 (pParam->numOutChannelsMin <= numInChannels)) { in pcmDmx_ApplyFrame()
2130 (numInChannels > pParam->numOutChannelsMax)) { in pcmDmx_ApplyFrame()
2132 } else if (numInChannels < pParam->numOutChannelsMin) { in pcmDmx_ApplyFrame()
2135 numOutChannels = numInChannels; in pcmDmx_ApplyFrame()
2147 errorStatus = getChannelMode(numInChannels, channelType, channelIndices, in pcmDmx_ApplyFrame()
2157 inStride = numInChannels; in pcmDmx_ApplyFrame()
2186 if (numInChannels > numOutChannels) { /* Apply downmix */ in pcmDmx_ApplyFrame()
2195 if (numInChannels > SIX_CHANNEL) { in pcmDmx_ApplyFrame()
2258 if (inOffsetTable[inCh] < (UCHAR)numInChannels) { in pcmDmx_ApplyFrame()
2268 for (inCh = 0; inCh < numInChannels; inCh += 1) { in pcmDmx_ApplyFrame()
2304 for (inCh = 0; inCh < numInChannels; inCh += 1) { in pcmDmx_ApplyFrame()
2315 for (inCh = 0; inCh < numInChannels; inCh += 1) { in pcmDmx_ApplyFrame()
2332 else if (numInChannels < numOutChannels) { /* Apply rudimentary upmix */ in pcmDmx_ApplyFrame()
2338 if (numInChannels == ONE_CHANNEL) { in pcmDmx_ApplyFrame()
2400 numInChannels * sizeof(AUDIO_CHANNEL_TYPE)); in pcmDmx_ApplyFrame()
2401 FDKmemclear(inChTypes + numInChannels, in pcmDmx_ApplyFrame()
2402 ((8) - numInChannels) * sizeof(AUDIO_CHANNEL_TYPE)); in pcmDmx_ApplyFrame()
2403 FDKmemcpy(inChIndices, channelIndices, numInChannels * sizeof(UCHAR)); in pcmDmx_ApplyFrame()
2404 FDKmemclear(inChIndices + numInChannels, in pcmDmx_ApplyFrame()
2405 ((8) - numInChannels) * sizeof(UCHAR)); in pcmDmx_ApplyFrame()
2485 FDK_ASSERT(inOffsetTable[outCh] < numInChannels); in pcmDmx_ApplyFrame()
2546 else if (numInChannels == numOutChannels) { in pcmDmx_ApplyFrame()
2549 switch (numInChannels) { in pcmDmx_ApplyFrame()
2558 inStride = numInChannels; in pcmDmx_ApplyFrame()