Lines Matching refs:channelIdx
176 …INT channelIdx[9]; /*!< Offsets of interleaved channel samples (L, R, C, LFE… member
505 for (i = 0; i < 9; i++) drcComp->channelIdx[i] = -1; in FDK_DRC_Generator_Initialize()
509 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
512 drcComp->channelIdx[L] = channelMapping.elInfo[0].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
513 drcComp->channelIdx[R] = channelMapping.elInfo[0].ChannelIndex[1]; in FDK_DRC_Generator_Initialize()
516 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
517 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; in FDK_DRC_Generator_Initialize()
518 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
521 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
522 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; in FDK_DRC_Generator_Initialize()
523 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
524 drcComp->channelIdx[S] = channelMapping.elInfo[2].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
527 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
528 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; in FDK_DRC_Generator_Initialize()
529 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
530 drcComp->channelIdx[LS] = channelMapping.elInfo[2].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
531 drcComp->channelIdx[RS] = channelMapping.elInfo[2].ChannelIndex[1]; in FDK_DRC_Generator_Initialize()
534 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
535 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; in FDK_DRC_Generator_Initialize()
536 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
537 drcComp->channelIdx[LFE] = channelMapping.elInfo[3].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
538 drcComp->channelIdx[LS] = channelMapping.elInfo[2].ChannelIndex[0]; in FDK_DRC_Generator_Initialize()
539 drcComp->channelIdx[RS] = channelMapping.elInfo[2].ChannelIndex[1]; in FDK_DRC_Generator_Initialize()
543 drcComp->channelIdx[L] = channelMapping.elInfo[2].ChannelIndex[0]; /* l */ in FDK_DRC_Generator_Initialize()
544 drcComp->channelIdx[R] = channelMapping.elInfo[2].ChannelIndex[1]; /* r */ in FDK_DRC_Generator_Initialize()
545 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; /* c */ in FDK_DRC_Generator_Initialize()
546 drcComp->channelIdx[LFE] = channelMapping.elInfo[4].ChannelIndex[0]; /* lfe */ in FDK_DRC_Generator_Initialize()
547 drcComp->channelIdx[LS] = channelMapping.elInfo[3].ChannelIndex[0]; /* ls */ in FDK_DRC_Generator_Initialize()
548 drcComp->channelIdx[RS] = channelMapping.elInfo[3].ChannelIndex[1]; /* rs */ in FDK_DRC_Generator_Initialize()
549 drcComp->channelIdx[LS2] = channelMapping.elInfo[1].ChannelIndex[0]; /* lc */ in FDK_DRC_Generator_Initialize()
550 drcComp->channelIdx[RS2] = channelMapping.elInfo[1].ChannelIndex[1]; /* rc */ in FDK_DRC_Generator_Initialize()
553 drcComp->channelIdx[L] = channelMapping.elInfo[1].ChannelIndex[0]; /* l */ in FDK_DRC_Generator_Initialize()
554 drcComp->channelIdx[R] = channelMapping.elInfo[1].ChannelIndex[1]; /* r */ in FDK_DRC_Generator_Initialize()
555 drcComp->channelIdx[C] = channelMapping.elInfo[0].ChannelIndex[0]; /* c */ in FDK_DRC_Generator_Initialize()
556 drcComp->channelIdx[LFE] = channelMapping.elInfo[4].ChannelIndex[0]; /* lfe */ in FDK_DRC_Generator_Initialize()
557 drcComp->channelIdx[LS] = channelMapping.elInfo[3].ChannelIndex[0]; /* lrear */ in FDK_DRC_Generator_Initialize()
558 drcComp->channelIdx[RS] = channelMapping.elInfo[3].ChannelIndex[1]; /* rrear */ in FDK_DRC_Generator_Initialize()
559 drcComp->channelIdx[LS2] = channelMapping.elInfo[2].ChannelIndex[0]; /* ls */ in FDK_DRC_Generator_Initialize()
560 drcComp->channelIdx[RS2] = channelMapping.elInfo[2].ChannelIndex[1]; /* rs */ in FDK_DRC_Generator_Initialize()
684 if (c == drcComp->channelIdx[LFE]) { in FDK_DRC_Generator_Calc()
734 if ((int)c == drcComp->channelIdx[LFE]) { in FDK_DRC_Generator_Calc()
893 …if (drcComp->channelIdx[LS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
894 …if (drcComp->channelIdx[LS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
895 …if (drcComp->channelIdx[RS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
896 …if (drcComp->channelIdx[RS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
897 …if ((drcComp->channelIdx[LS] >= 0) && (drcComp->channelIdx[LS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(… in FDK_DRC_Generator_Calc()
898 …if (drcComp->channelIdx[S] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
899 …if (drcComp->channelIdx[C] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
900 …tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[L]])>>DOWNMIX_SHIFT); … in FDK_DRC_Generator_Calc()
906 …if (drcComp->channelIdx[LS] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
907 …if (drcComp->channelIdx[LS2] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
908 …if (drcComp->channelIdx[RS] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
909 …if (drcComp->channelIdx[RS2] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
910 …if ((drcComp->channelIdx[RS] >= 0) && (drcComp->channelIdx[RS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(… in FDK_DRC_Generator_Calc()
911 …if (drcComp->channelIdx[S] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
912 …if (drcComp->channelIdx[C] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
913 …tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[R]])>>DOWNMIX_SHIFT); … in FDK_DRC_Generator_Calc()
922 …if (drcComp->channelIdx[LS] >= 0) tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[LS… in FDK_DRC_Generator_Calc()
923 …if (drcComp->channelIdx[LS2] >= 0) tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[L… in FDK_DRC_Generator_Calc()
924 …if ((drcComp->channelIdx[LS] >= 0) && (drcComp->channelIdx[LS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(… in FDK_DRC_Generator_Calc()
925 …if (drcComp->channelIdx[S] >= 0) tmp += fMultDiv2(slev, fMult(FL2FXCONST_DBL(0.7f), (FIXP_PCM)pSam… in FDK_DRC_Generator_Calc()
926 …if (drcComp->channelIdx[C] >= 0) tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[C]]… in FDK_DRC_Generator_Calc()
927 …tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[L]])>>DOWNMIX_SHIFT); … in FDK_DRC_Generator_Calc()
933 …if (drcComp->channelIdx[RS] >= 0) tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[RS… in FDK_DRC_Generator_Calc()
934 …if (drcComp->channelIdx[RS2] >= 0) tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[R… in FDK_DRC_Generator_Calc()
935 …if ((drcComp->channelIdx[RS] >= 0) && (drcComp->channelIdx[RS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(… in FDK_DRC_Generator_Calc()
936 …if (drcComp->channelIdx[S] >= 0) tmp += fMultDiv2(slev, fMult(FL2FXCONST_DBL(0.7f), (FIXP_PCM)pSam… in FDK_DRC_Generator_Calc()
937 …if (drcComp->channelIdx[C] >= 0) tmp += fMultDiv2(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[C]]… in FDK_DRC_Generator_Calc()
938 …tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[R]])>>DOWNMIX_SHIFT); … in FDK_DRC_Generator_Calc()
948 …if (drcComp->channelIdx[LS] >= 0) tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[LS… in FDK_DRC_Generator_Calc()
949 …if (drcComp->channelIdx[LS2] >= 0) tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[L… in FDK_DRC_Generator_Calc()
950 …if (drcComp->channelIdx[RS] >= 0) tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[RS… in FDK_DRC_Generator_Calc()
951 …if (drcComp->channelIdx[RS2] >= 0) tmp += fMultDiv2(slev, (FIXP_PCM)pSamples[drcComp->channelIdx[R… in FDK_DRC_Generator_Calc()
952 …if ((drcComp->channelIdx[LS] >= 0) && (drcComp->channelIdx[LS2] >= 0)) tmp = fMult(FL2FXCONST_DBL(… in FDK_DRC_Generator_Calc()
954 …if (drcComp->channelIdx[S] >= 0) tmp += fMultDiv2(slev, fMult(FL2FXCONST_DBL(0.7f), (FIXP_PCM)pSam… in FDK_DRC_Generator_Calc()
955 …if (drcComp->channelIdx[C] >= 0) tmp += fMult(clev, (FIXP_PCM)pSamples[drcComp->channelIdx[C]])>>(… in FDK_DRC_Generator_Calc()
956 …tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[L]])>>DOWNMIX_SHIFT); … in FDK_DRC_Generator_Calc()
957 …tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[R]])>>DOWNMIX_SHIFT); … in FDK_DRC_Generator_Calc()