Lines Matching refs:chIdx
452 UCHAR chIdx[PCM_DMX_MAX_CHANNEL_GROUPS][PCM_DMX_MAX_CHANNELS_PER_GROUP]; in getChannelMode() local
469 FDKmemset(chIdx, 255, PCM_DMX_MAX_CHANNEL_GROUPS*PCM_DMX_MAX_CHANNELS_PER_GROUP*sizeof(UCHAR)); in getChannelMode()
516 while ( (i < numChInGrp[grpIdx]) && (chGrpIdx > channelIndices[chIdx[grpIdx][i]]) ) { in getChannelMode()
520 chIdx[grpIdx][j] = chIdx[grpIdx][j-1]; in getChannelMode()
522 chIdx[grpIdx][i] = ch; in getChannelMode()
542 offsetTable[CENTER_FRONT_CHANNEL] = chIdx[CH_GROUP_FRONT][0]; in getChannelMode()
573 offsetTable[chMapPos] = chIdx[grpIdx][ch]; in getChannelMode()
578 … int pos, sortIdx = grpIdx*PCM_DMX_MAX_CHANNELS_PER_GROUP + channelIndices[chIdx[grpIdx][ch]]; in getChannelMode()
588 hardToPlace[pos] = chIdx[grpIdx][ch]; in getChannelMode()
746 int chIdx = 0; /* Index of channel within the specific group */ in getChannelDescription() local
753 chIdx = numChInGrp[grpIdx] & 0x1; in getChannelDescription()
777 for ( ; chIdx < numChInGrp[grpIdx]; chIdx += 1) { in getChannelDescription()
779 if (chIdx == maxChannels) { in getChannelDescription()
786 channelIndices[mappedIdx] = chIdx; in getChannelDescription()