Lines Matching refs:chMapPos
547 int chMapPos = 0; in getChannelMode() local
552 chMapPos = LEFT_FRONT_CHANNEL; in getChannelMode()
559 chMapPos = LEFT_REAR_CHANNEL; in getChannelMode()
562 chMapPos = LOW_FREQUENCY_CHANNEL; in getChannelMode()
573 offsetTable[chMapPos] = chIdx[grpIdx][ch]; in getChannelMode()
574 chMapPos += 1; in getChannelMode()
596 int chMapPos = 0; in getChannelMode() local
604 for ( ; chMapPos < PCM_DMX_MAX_CHANNELS; chMapPos+=1) { in getChannelMode()
605 if (offsetTable[chMapPos] == 255) { in getChannelMode()
610 if (chMapPos < LEFT_REAR_CHANNEL) { in getChannelMode()
612 … prvSortIdx = CH_GROUP_FRONT*PCM_DMX_MAX_CHANNELS_PER_GROUP + chMapPos - CENTER_FRONT_CHANNEL; in getChannelMode()
615 else if (chMapPos < LOW_FREQUENCY_CHANNEL) { in getChannelMode()
617 … prvSortIdx = CH_GROUP_REAR*PCM_DMX_MAX_CHANNELS_PER_GROUP + chMapPos - LEFT_REAR_CHANNEL; in getChannelMode()
620 else if (chMapPos < LEFT_MULTIPRPS_CHANNEL) { in getChannelMode()
622 … prvSortIdx = CH_GROUP_LFE *PCM_DMX_MAX_CHANNELS_PER_GROUP + chMapPos - LOW_FREQUENCY_CHANNEL; in getChannelMode()
630 offsetTable[chMapPos++] = hardToPlace[ch]; in getChannelMode()
637 chMapPos = 0; in getChannelMode()
745 int chMapPos = 0, maxChannels = 0; in getChannelDescription() local
751 chMapPos = LEFT_FRONT_CHANNEL; in getChannelDescription()
759 chMapPos = LEFT_MULTIPRPS_CHANNEL; in getChannelDescription()
763 chMapPos = LEFT_REAR_CHANNEL; in getChannelDescription()
768 chMapPos = LOW_FREQUENCY_CHANNEL; in getChannelDescription()
782 chMapPos = LEFT_MULTIPRPS_CHANNEL; in getChannelDescription()
784 offsetTable[chMapPos] = mappedIdx; in getChannelDescription()
787 chMapPos += 1; in getChannelDescription()