Home | History | Annotate | Download | only in src

Lines Matching full:channelidx

176   INT channelIdx[9]; /*!< Offsets of interleaved channel samples (L, R, C, LFE,
424 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
427 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[6]]) >>
433 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
436 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
441 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
444 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
449 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
452 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
465 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
468 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[6]]) >>
474 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
477 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
482 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
485 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
490 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
493 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
506 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
509 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
512 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
535 if (drcComp->channelIdx[LS] >= 0)
537 (FIXP_PCM)pSamples[drcComp->channelIdx[LS]]) >>
539 if (drcComp->channelIdx[LS2] >= 0)
541 (FIXP_PCM)pSamples[drcComp->channelIdx[LS2]]) >>
543 if (drcComp->channelIdx[RS] >= 0)
545 (FIXP_PCM)pSamples[drcComp->channelIdx[RS]]) >>
547 if (drcComp->channelIdx[RS2] >= 0)
549 (FIXP_PCM)pSamples[drcComp->channelIdx[RS2]]) >>
551 if ((drcComp->channelIdx[LS] >= 0) && (drcComp->channelIdx[LS2] >= 0))
553 if (drcComp->channelIdx[S] >= 0)
555 (FIXP_PCM)pSamples[drcComp->channelIdx[S]]) >>
557 if (drcComp->channelIdx[C] >= 0)
559 (FIXP_PCM)pSamples[drcComp->channelIdx[C]]) >>
561 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[L]]) >>
577 if (drcComp->channelIdx[LS] >= 0)
579 (FIXP_PCM)pSamples[drcComp->channelIdx[LS]]) >>
581 if (drcComp->channelIdx[LS2] >= 0)
583 (FIXP_PCM)pSamples[drcComp->channelIdx[LS2]]) >>
585 if (drcComp->channelIdx[RS] >= 0)
587 (FIXP_PCM)pSamples[drcComp->channelIdx[RS]]) >>
589 if (drcComp->channelIdx[RS2] >= 0)
591 (FIXP_PCM)pSamples[drcComp->channelIdx[RS2]]) >>
593 if ((drcComp->channelIdx[RS] >= 0) && (drcComp->channelIdx[RS2] >= 0))
595 if (drcComp->channelIdx[S] >= 0)
597 (FIXP_PCM)pSamples[drcComp->channelIdx[S]]) >>
599 if (drcComp->channelIdx[C] >= 0)
601 (FIXP_PCM)pSamples[drcComp->channelIdx[C]]) >>
603 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[R]]) >>
627 (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
630 (FIXP_PCM)pSamples[drcComp->channelIdx[6]]) >>
632 tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
634 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
637 fMultDiv2(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
643 (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
646 (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
648 tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
650 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
653 fMultDiv2(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
658 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
661 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
664 (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
666 tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
668 tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
671 fMultDiv2(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
676 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
679 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
681 tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
683 tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
686 fMultDiv2(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
690 if (drcComp->channelIdx[LS] >= 0)
692 fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[LS]]) >>
694 if (drcComp->channelIdx[LS2] >= 0)
696 fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[LS2]]) >>
698 if ((drcComp->channelIdx[LS] >= 0) && (drcComp->channelIdx[LS2] >= 0))
700 if (drcComp->channelIdx[S] >= 0)
704 (FIXP_PCM)pSamples[drcComp->channelIdx[S]])) >>
706 if (drcComp->channelIdx[C] >= 0)
708 fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[C]]) >>
710 if (drcComp->channelIdx[3] >= 0)
712 (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
714 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[L]]) >>
735 (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
738 (FIXP_PCM)pSamples[drcComp->channelIdx[6]]) >>
740 tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
742 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
745 fMultDiv2(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
751 (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
754 (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
756 tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
758 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
761 fMultDiv2(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
766 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
769 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
772 (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
774 tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
776 tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
779 fMultDiv2(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
784 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
787 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
789 tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
791 tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
794 fMultDiv2(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
798 if (drcComp->channelIdx[RS] >= 0)
800 fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[RS]]) >>
802 if (drcComp->channelIdx[RS2] >= 0)
804 fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[RS2]]) >>
806 if ((drcComp->channelIdx[RS] >= 0) && (drcComp->channelIdx[RS2] >= 0))
808 if (drcComp->channelIdx[S] >= 0)
812 (FIXP_PCM)pSamples[drcComp->channelIdx[S]])) >>
814 if (drcComp->channelIdx[C] >= 0)
816 fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[C]]) >>
818 if (drcComp->channelIdx[3] >= 0)
820 (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
822 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[R]]) >>
850 (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
853 (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
856 (FIXP_PCM)pSamples[drcComp->channelIdx[6]]) >>
858 tmp += fMult(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
860 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
862 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
864 tmp += fMult(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
870 (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
873 (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
876 (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
879 (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
881 tmp += fMult(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
883 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
885 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
887 tmp += fMult(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
892 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
894 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
897 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
900 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
903 (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
906 (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
908 tmp += fMult(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
910 tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
912 tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
914 tmp += fMult(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
919 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[0]]) >>
922 fMultDiv2(ext_leva, (FIXP_PCM)pSamples[drcComp->channelIdx[1]]) >>
925 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[7]]) >>
928 fMultDiv2(ext_levb, (FIXP_PCM)pSamples[drcComp->channelIdx[8]]) >>
930 tmp += fMult(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[2]]) >>
932 tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[4]]) >>
934 tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[5]]) >>
936 tmp += fMult(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
940 if (drcComp->channelIdx[LS] >= 0)
942 fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[LS]]) >>
944 if (drcComp->channelIdx[LS2] >= 0)
946 fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[LS2]]) >>
948 if (drcComp->channelIdx[RS] >= 0)
950 fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[RS]]) >>
952 if (drcComp->channelIdx[RS2] >= 0)
954 fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[RS2]]) >>
956 if ((drcComp->channelIdx[LS] >= 0) && (drcComp->channelIdx[LS2] >= 0))
958 /*if ((drcComp->channelIdx[RS] >= 0) && (drcComp->channelIdx[RS2] >= 0)) tmp *=0.707f;*/ /* 7.1ch */
959 if (drcComp->channelIdx[S] >= 0)
963 (FIXP_PCM)pSamples[drcComp->channelIdx[S]])) >>
965 if (drcComp->channelIdx[C] >= 0)
966 tmp += fMult(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[C]]) >>
968 if (drcComp->channelIdx[3] >= 0)
969 tmp += fMult(lfe_lev, (FIXP_PCM)pSamples[drcComp->channelIdx[3]]) >>
971 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[L]]) >>
973 tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[R]]) >>
1059 for (i = 0; i < 9; i++) drcComp->channelIdx[i] = -1;
1063 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0];
1066 drcComp->channelIdx[L] = channelMapping.elInfo[0].ChannelIndex[0];
1067 drcComp->channelIdx[R] = channelMapping.elInfo[0].ChannelIndex[1];
1070 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0];
1071 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1];
1072 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0];
1075 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0];
1076 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1];
1077 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0];
1078 drcComp->channelIdx[S] = channelMapping.elInfo[2].ChannelIndex[0];
1081 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0];
1082 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1];
1083 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0];
1084 drcComp->channelIdx[LS] = channelMapping.elInfo[2].ChannelIndex[0];
1085 drcComp->channelIdx[RS] = channelMapping.elInfo[2].ChannelIndex[1];
1088 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0];
1089 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1];
1090 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0];
1091 drcComp->channelIdx[LFE] = channelMapping.elInfo[3].ChannelIndex[0];
1092 drcComp->channelIdx[LS] = channelMapping.elInfo[2].ChannelIndex[0];
1093 drcComp->channelIdx[RS] = channelMapping.elInfo[2].ChannelIndex[1];
1097 drcComp->channelIdx[L] = channelMapping.elInfo[2].ChannelIndex[0]; /* l */
1098 drcComp->channelIdx[R] = channelMapping.elInfo[2].ChannelIndex[1]; /* r */
1099 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; /* c */
1100 drcComp->channelIdx[LFE] =
1102 drcComp->channelIdx[LS] =
1104 drcComp->channelIdx[RS] =
1106 drcComp->channelIdx[LS2] =
1108 drcComp->channelIdx[RS2] =
1113 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; /* l */
1114 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; /* r */
1115 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; /* c */
1116 drcComp->channelIdx[LFE] =
1118 drcComp->channelIdx[LS] =
1120 drcComp->channelIdx[RS] =
1122 drcComp->channelIdx[LS2] =
1124 drcComp->channelIdx[RS2] =
1128 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; /* l */
1129 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; /* r */
1130 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; /* c */
1131 drcComp->channelIdx[LFE] =
1133 drcComp->channelIdx[LS] =
1135 drcComp->channelIdx[RS] =
1137 drcComp->channelIdx[S] = channelMapping.elInfo[3].ChannelIndex[0]; /* s */
1140 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; /* l */
1141 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; /* r */
1142 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; /* c */
1143 drcComp->channelIdx[LFE] =
1145 drcComp->channelIdx[LS] =
1147 drcComp->channelIdx[RS] =
1149 drcComp->channelIdx[LS2] =
1151 drcComp->channelIdx[RS2] =
1281 if (c == drcComp->channelIdx[LFE]) {
1332 if ((int)c == drcComp->channelIdx[LFE]) {