Lines Matching refs:chIdx
654 int h, elIdx = ec[heightLayer], chIdx = cc[heightLayer]; in CProgramConfig_LookupElement() local
662 chIdx += (pPce->FrontElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
669 chIdx += (pPce->SideElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
676 chIdx += (pPce->BackElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
681 chIdx += pPce->NumLfeChannelElements; in CProgramConfig_LookupElement()
684 chMapping[chIdx] = channelIdx; in CProgramConfig_LookupElement()
685 chType[chIdx] = aChType; in CProgramConfig_LookupElement()
686 chIndex[chIdx] = fc[heightLayer]; in CProgramConfig_LookupElement()
688 chMapping[chIdx+1] = channelIdx+1; in CProgramConfig_LookupElement()
689 chType[chIdx+1] = aChType; in CProgramConfig_LookupElement()
690 chIndex[chIdx+1] = fc[heightLayer]+1; in CProgramConfig_LookupElement()
708 int h, elIdx = ec[heightLayer], chIdx = cc[heightLayer]; in CProgramConfig_LookupElement() local
716 chIdx += (pPce->FrontElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
723 chIdx += (pPce->SideElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
730 chIdx += (pPce->BackElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
735 chIdx += pPce->NumLfeChannelElements; in CProgramConfig_LookupElement()
738 chMapping[chIdx] = channelIdx; in CProgramConfig_LookupElement()
739 chType[chIdx] = aChType; in CProgramConfig_LookupElement()
740 chIndex[chIdx] = sc[heightLayer]; in CProgramConfig_LookupElement()
742 chMapping[chIdx+1] = channelIdx+1; in CProgramConfig_LookupElement()
743 chType[chIdx+1] = aChType; in CProgramConfig_LookupElement()
744 chIndex[chIdx+1] = sc[heightLayer]+1; in CProgramConfig_LookupElement()
762 int h, elIdx = ec[heightLayer], chIdx = cc[heightLayer]; in CProgramConfig_LookupElement() local
770 chIdx += (pPce->FrontElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
777 chIdx += (pPce->SideElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
784 chIdx += (pPce->BackElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
789 chIdx += pPce->NumLfeChannelElements; in CProgramConfig_LookupElement()
792 chMapping[chIdx] = channelIdx; in CProgramConfig_LookupElement()
793 chType[chIdx] = aChType; in CProgramConfig_LookupElement()
794 chIndex[chIdx] = bc[heightLayer]; in CProgramConfig_LookupElement()
796 chMapping[chIdx+1] = channelIdx+1; in CProgramConfig_LookupElement()
797 chType[chIdx+1] = aChType; in CProgramConfig_LookupElement()
798 chIndex[chIdx+1] = bc[heightLayer]+1; in CProgramConfig_LookupElement()
839 int chIdx = cc[0]; in CProgramConfig_LookupElement() local
841 chMapping[chIdx] = channelIdx; in CProgramConfig_LookupElement()
843 chType[chIdx] = ACT_LFE; in CProgramConfig_LookupElement()
844 chIndex[chIdx] = lc; in CProgramConfig_LookupElement()