Lines Matching refs:grpIdx

453   int   ch, grpIdx;  in getChannelMode()  local
481 grpIdx = CH_GROUP_FRONT; in getChannelMode()
487 grpIdx = CH_GROUP_SIDE; in getChannelMode()
492 grpIdx = CH_GROUP_REAR; in getChannelMode()
495 grpIdx = CH_GROUP_LFE; in getChannelMode()
503 grpIdx = CH_GROUP_FRONT; in getChannelMode()
509 if (numChInGrp[grpIdx] < PCM_DMX_MAX_CHANNELS_PER_GROUP) { in getChannelMode()
511 while ( (i < numChInGrp[grpIdx]) && (chGrpIdx > channelIndices[chIdx[grpIdx][i]]) ) { in getChannelMode()
514 for (j = numChInGrp[grpIdx]; j > i; j -= 1) { in getChannelMode()
515 chIdx[grpIdx][j] = chIdx[grpIdx][j-1]; in getChannelMode()
517 chIdx[grpIdx][i] = ch; in getChannelMode()
518 numChInGrp[grpIdx] += 1; in getChannelMode()
541 for (grpIdx = 0; grpIdx < PCM_DMX_MAX_CHANNEL_GROUPS; grpIdx += 1) { in getChannelMode()
545 switch (grpIdx) { in getChannelMode()
548 ch = numChInGrp[grpIdx] & 0x1; in getChannelMode()
566 for ( ; ch < numChInGrp[grpIdx]; ch += 1) { in getChannelMode()
567 if (numChFree[grpIdx] > 0) { in getChannelMode()
568 offsetTable[chMapPos] = chIdx[grpIdx][ch]; in getChannelMode()
570 numChFree[grpIdx] -= 1; in getChannelMode()
573 … int pos, sortIdx = grpIdx*PCM_DMX_MAX_CHANNELS_PER_GROUP + channelIndices[chIdx[grpIdx][ch]]; in getChannelMode()
583 hardToPlace[pos] = chIdx[grpIdx][ch]; in getChannelMode()
674 int grpIdx, ch = 0, numChannels = 0; in getChannelDescription() local
696 for (grpIdx = 0; grpIdx < PCM_DMX_MAX_CHANNEL_GROUPS; grpIdx += 1) { in getChannelDescription()
697 numChannels += numChInGrp[grpIdx]; in getChannelDescription()
738 for (grpIdx = 0; grpIdx < PCM_DMX_MAX_CHANNEL_GROUPS; grpIdx += 1) { in getChannelDescription()
743 switch (grpIdx) { in getChannelDescription()
748 chIdx = numChInGrp[grpIdx] & 0x1; in getChannelDescription()
772 for ( ; chIdx < numChInGrp[grpIdx]; chIdx += 1) { in getChannelDescription()