• Home
  • Raw
  • Download

Lines Matching refs:chIdx

874               int h, elIdx = ec[heightLayer], chIdx = cc[heightLayer];  in CProgramConfig_LookupElement()  local
883 chIdx += (pPce->FrontElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
890 chIdx += (pPce->SideElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
897 chIdx += (pPce->BackElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
902 chIdx += pPce->NumLfeChannelElements; in CProgramConfig_LookupElement()
905 chMapping[chIdx] = channelIdx; in CProgramConfig_LookupElement()
906 chType[chIdx] = aChType; in CProgramConfig_LookupElement()
907 chIndex[chIdx] = fc[heightLayer]; in CProgramConfig_LookupElement()
909 chMapping[chIdx + 1] = channelIdx + 1; in CProgramConfig_LookupElement()
910 chType[chIdx + 1] = aChType; in CProgramConfig_LookupElement()
911 chIndex[chIdx + 1] = fc[heightLayer] + 1; in CProgramConfig_LookupElement()
930 int h, elIdx = ec[heightLayer], chIdx = cc[heightLayer]; in CProgramConfig_LookupElement() local
939 chIdx += (pPce->FrontElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
946 chIdx += (pPce->SideElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
953 chIdx += (pPce->BackElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
959 chIdx += pPce->NumLfeChannelElements; in CProgramConfig_LookupElement()
962 chMapping[chIdx] = channelIdx; in CProgramConfig_LookupElement()
963 chType[chIdx] = aChType; in CProgramConfig_LookupElement()
964 chIndex[chIdx] = sc[heightLayer]; in CProgramConfig_LookupElement()
966 chMapping[chIdx + 1] = channelIdx + 1; in CProgramConfig_LookupElement()
967 chType[chIdx + 1] = aChType; in CProgramConfig_LookupElement()
968 chIndex[chIdx + 1] = sc[heightLayer] + 1; in CProgramConfig_LookupElement()
987 int h, elIdx = ec[heightLayer], chIdx = cc[heightLayer]; in CProgramConfig_LookupElement() local
996 chIdx += (pPce->FrontElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
1003 chIdx += (pPce->SideElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
1010 chIdx += (pPce->BackElementIsCpe[el]) ? 2 : 1; in CProgramConfig_LookupElement()
1015 chIdx += pPce->NumLfeChannelElements; in CProgramConfig_LookupElement()
1018 chMapping[chIdx] = channelIdx; in CProgramConfig_LookupElement()
1019 chType[chIdx] = aChType; in CProgramConfig_LookupElement()
1020 chIndex[chIdx] = bc[heightLayer]; in CProgramConfig_LookupElement()
1022 chMapping[chIdx + 1] = channelIdx + 1; in CProgramConfig_LookupElement()
1023 chType[chIdx + 1] = aChType; in CProgramConfig_LookupElement()
1024 chIndex[chIdx + 1] = bc[heightLayer] + 1; in CProgramConfig_LookupElement()
1066 int chIdx = cc[0]; in CProgramConfig_LookupElement() local
1068 chMapping[chIdx] = channelIdx; in CProgramConfig_LookupElement()
1070 chType[chIdx] = ACT_LFE; in CProgramConfig_LookupElement()
1071 chIndex[chIdx] = lc; in CProgramConfig_LookupElement()
1120 int spkPlane, chIdx = 0; in CProgramConfig_GetChannelDescription() local
1126 chType[chIdx] = (AUDIO_CHANNEL_TYPE)((spkPlane << 4) | ACT_FRONT); in CProgramConfig_GetChannelDescription()
1127 chIndex[chIdx++] = grpChIdx++; in CProgramConfig_GetChannelDescription()
1129 chType[chIdx] = (AUDIO_CHANNEL_TYPE)((spkPlane << 4) | ACT_FRONT); in CProgramConfig_GetChannelDescription()
1130 chIndex[chIdx++] = grpChIdx++; in CProgramConfig_GetChannelDescription()
1137 chType[chIdx] = (AUDIO_CHANNEL_TYPE)((spkPlane << 4) | ACT_SIDE); in CProgramConfig_GetChannelDescription()
1138 chIndex[chIdx++] = grpChIdx++; in CProgramConfig_GetChannelDescription()
1140 chType[chIdx] = (AUDIO_CHANNEL_TYPE)((spkPlane << 4) | ACT_SIDE); in CProgramConfig_GetChannelDescription()
1141 chIndex[chIdx++] = grpChIdx++; in CProgramConfig_GetChannelDescription()
1148 chType[chIdx] = (AUDIO_CHANNEL_TYPE)((spkPlane << 4) | ACT_BACK); in CProgramConfig_GetChannelDescription()
1149 chIndex[chIdx++] = grpChIdx++; in CProgramConfig_GetChannelDescription()
1151 chType[chIdx] = (AUDIO_CHANNEL_TYPE)((spkPlane << 4) | ACT_BACK); in CProgramConfig_GetChannelDescription()
1152 chIndex[chIdx++] = grpChIdx++; in CProgramConfig_GetChannelDescription()
1159 chType[chIdx] = ACT_LFE; in CProgramConfig_GetChannelDescription()
1160 chIndex[chIdx++] = grpChIdx++; in CProgramConfig_GetChannelDescription()
1166 int chIdx; in CProgramConfig_GetChannelDescription() local
1167 for (chIdx = 0; chIdx < getNumberOfTotalChannels(chConfig); chIdx += 1) { in CProgramConfig_GetChannelDescription()
1168 getImplicitAudioChannelTypeAndIndex(&chType[chIdx], &chIndex[chIdx], in CProgramConfig_GetChannelDescription()
1169 chConfig, chIdx); in CProgramConfig_GetChannelDescription()
1178 unsigned chIdx, plane, grp, offset, totCh[3], numCh[3][4]; in CProgramConfig_GetPceChMap() local
1213 chIdx = totCh[SPEAKER_PLANE_NORMAL] + totCh[SPEAKER_PLANE_TOP] + in CProgramConfig_GetPceChMap()
1215 if (chIdx > pceChMapLen) { in CProgramConfig_GetPceChMap()
1222 for (chIdx = 0; chIdx < totCh[SPEAKER_PLANE_NORMAL]; chIdx += 1) { in CProgramConfig_GetPceChMap()
1223 while ((chIdx >= grpThresh) && (grp < 3)) { in CProgramConfig_GetPceChMap()
1228 pceChMap[chIdx] = chIdx + offset; in CProgramConfig_GetPceChMap()
1236 pceChMap[chIdx++] = offset; in CProgramConfig_GetPceChMap()