• Home
  • Raw
  • Download

Lines Matching refs:mixFactors

847 static void dmxInitChannel(FIXP_DMX mixFactors[(8)][(8)],  in dmxInitChannel()
852 mixFactors[outCh][inCh] = FL2FXCONST_DMX(0.5f); in dmxInitChannel()
855 mixFactors[outCh][inCh] = FL2FXCONST_DMX(0.0f); in dmxInitChannel()
869 static void dmxClearChannel(FIXP_DMX mixFactors[(8)][(8)], in dmxClearChannel()
872 FDKmemclear(&mixFactors[outCh], (8) * sizeof(FIXP_DMX)); in dmxClearChannel()
889 static void dmxSetChannel(FIXP_DMX mixFactors[(8)][(8)], in dmxSetChannel()
895 if (mixFactors[srcCh][ch] != (FIXP_DMX)0) { in dmxSetChannel()
896 mixFactors[dstCh][ch] = in dmxSetChannel()
897 FX_DBL2FX_DMX(fMult(mixFactors[srcCh][ch], factor)); in dmxSetChannel()
915 static void dmxAddChannel(FIXP_DMX mixFactors[(8)][(8)], in dmxAddChannel()
921 FIXP_DBL addFact = fMult(mixFactors[srcCh][ch], factor); in dmxAddChannel()
924 if (mixFactors[dstCh][ch] != (FIXP_DMX)0) { in dmxAddChannel()
926 mixFactors[dstCh][ch] >>= newScale - mixScales[dstCh][ch]; in dmxAddChannel()
932 mixFactors[dstCh][ch] += FX_DBL2FX_DMX(addFact); in dmxAddChannel()
961 FIXP_DMX mixFactors[(8)][(8)], in getMixFactors()
973 FDK_ASSERT(mixFactors != NULL); in getMixFactors()
1020 dmxInitChannel(mixFactors, mixScales, outCh); in getMixFactors()
1024 dmxClearChannel(mixFactors, mixScales, LOW_FREQUENCY_CHANNEL); in getMixFactors()
1052 mixFactors, mixScales, in getMixFactors()
1054 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1056 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1058 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1060 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1067 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1069 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1071 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1073 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1078 dmxClearChannel(mixFactors, mixScales, in getMixFactors()
1080 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1082 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1094 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1096 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1098 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1100 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1107 dmxSetChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1109 dmxSetChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1111 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1113 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1115 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1117 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1147 dmxSetChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1149 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1151 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1153 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, LEFT_REAR_CHANNEL, in getMixFactors()
1155 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1157 dmxSetChannel(mixFactors, mixScales, LOW_FREQUENCY_CHANNEL, in getMixFactors()
1217 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1219 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1224 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1226 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1231 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1233 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1235 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1237 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1252 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1254 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1260 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1262 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1272 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1274 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1280 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1282 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1292 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1294 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1301 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1303 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1305 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1307 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1340 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1342 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1344 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1346 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1348 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1350 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1352 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1354 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1358 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1360 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1362 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1364 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1366 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1368 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1390 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1392 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1432 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1434 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1436 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1438 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1441 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1443 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1445 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1447 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1468 dmxClearChannel(mixFactors, mixScales, in getMixFactors()
1475 mixFactors[CENTER_FRONT_CHANNEL][CENTER_FRONT_CHANNEL] = monoMixLevel; in getMixFactors()
1476 mixFactors[CENTER_FRONT_CHANNEL][LEFT_FRONT_CHANNEL] = monoMixLevel; in getMixFactors()
1477 mixFactors[CENTER_FRONT_CHANNEL][RIGHT_FRONT_CHANNEL] = monoMixLevel; in getMixFactors()
1480 mixFactors[CENTER_FRONT_CHANNEL][LEFT_REAR_CHANNEL] = monoMixLevel; in getMixFactors()
1481 mixFactors[CENTER_FRONT_CHANNEL][RIGHT_REAR_CHANNEL] = monoMixLevel; in getMixFactors()
1495 dmxSetChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1497 dmxAddChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1534 SHORT addFact = FX_DMX2SHRT(mixFactors[outCh][inCh]); in getMixFactors()
1571 if (mixFactors[outCh][inCh] != (FIXP_DMX)0) { in getMixFactors()
1573 mixFactors[outCh][inCh] >>= maxScale - mixScales[outCh][inCh]; in getMixFactors()
1575 mixFactors[outCh][inCh] <<= mixScales[outCh][inCh] - maxScale; in getMixFactors()
2161 FIXP_DMX mixFactors[(8)][(8)]; in pcmDmx_ApplyFrame() local
2216 outChMode, pParam, &bsMetaData, mixFactors, &dmxScale); in pcmDmx_ApplyFrame()
2243 mixFactors[outCh][inCh] = mixFactors[outCh][map[inCh]]; in pcmDmx_ApplyFrame()
2263 FDKmemcpy(&mixFactors[outCh], &mixFactors[map[outCh]], in pcmDmx_ApplyFrame()
2288 tOut[outCh] += fMult((DMX_PCMF)tIn[inCh], mixFactors[outCh][inCh]); in pcmDmx_ApplyFrame()