• Home
  • Raw
  • Download

Lines Matching refs:mixFactors

875 static void dmxInitChannel(FIXP_DMX mixFactors[(8)][(8)],  in dmxInitChannel()
880 mixFactors[outCh][inCh] = FL2FXCONST_DMX(0.5f); in dmxInitChannel()
883 mixFactors[outCh][inCh] = FL2FXCONST_DMX(0.0f); in dmxInitChannel()
897 static void dmxClearChannel(FIXP_DMX mixFactors[(8)][(8)], in dmxClearChannel()
900 FDKmemclear(&mixFactors[outCh], (8) * sizeof(FIXP_DMX)); in dmxClearChannel()
917 static void dmxSetChannel(FIXP_DMX mixFactors[(8)][(8)], in dmxSetChannel()
923 if (mixFactors[srcCh][ch] != (FIXP_DMX)0) { in dmxSetChannel()
924 mixFactors[dstCh][ch] = in dmxSetChannel()
925 FX_DBL2FX_DMX(fMult(mixFactors[srcCh][ch], factor)); in dmxSetChannel()
943 static void dmxAddChannel(FIXP_DMX mixFactors[(8)][(8)], in dmxAddChannel()
949 FIXP_DBL addFact = fMult(mixFactors[srcCh][ch], factor); in dmxAddChannel()
952 if (mixFactors[dstCh][ch] != (FIXP_DMX)0) { in dmxAddChannel()
954 mixFactors[dstCh][ch] >>= newScale - mixScales[dstCh][ch]; in dmxAddChannel()
960 mixFactors[dstCh][ch] += FX_DBL2FX_DMX(addFact); in dmxAddChannel()
989 FIXP_DMX mixFactors[(8)][(8)], in getMixFactors()
1001 FDK_ASSERT(mixFactors != NULL); in getMixFactors()
1048 dmxInitChannel(mixFactors, mixScales, outCh); in getMixFactors()
1052 dmxClearChannel(mixFactors, mixScales, LOW_FREQUENCY_CHANNEL); in getMixFactors()
1080 mixFactors, mixScales, in getMixFactors()
1082 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1084 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1086 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1088 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1095 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1097 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1099 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1101 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1106 dmxClearChannel(mixFactors, mixScales, in getMixFactors()
1108 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1110 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, in getMixFactors()
1122 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1124 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1126 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1128 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1135 dmxSetChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1137 dmxSetChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1139 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1141 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1143 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1145 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1175 dmxSetChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1177 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1179 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1181 dmxSetChannel(mixFactors, mixScales, LEFT_REAR_CHANNEL, LEFT_REAR_CHANNEL, in getMixFactors()
1183 dmxSetChannel(mixFactors, mixScales, RIGHT_REAR_CHANNEL, in getMixFactors()
1185 dmxSetChannel(mixFactors, mixScales, LOW_FREQUENCY_CHANNEL, in getMixFactors()
1245 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1247 dmxSetChannel(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()
1259 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1261 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1263 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1265 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1280 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1282 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1288 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1290 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1300 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1302 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1308 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1310 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1320 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1322 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1329 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1331 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1333 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1335 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1368 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1370 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1372 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1374 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1376 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1378 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1380 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1382 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1386 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1388 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1390 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1392 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1394 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1396 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1418 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1420 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1460 dmxSetChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1462 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1464 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1466 dmxAddChannel(mixFactors, mixScales, LEFT_FRONT_CHANNEL, in getMixFactors()
1469 dmxSetChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1471 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1473 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1475 dmxAddChannel(mixFactors, mixScales, RIGHT_FRONT_CHANNEL, in getMixFactors()
1496 dmxClearChannel(mixFactors, mixScales, in getMixFactors()
1503 mixFactors[CENTER_FRONT_CHANNEL][CENTER_FRONT_CHANNEL] = monoMixLevel; in getMixFactors()
1504 mixFactors[CENTER_FRONT_CHANNEL][LEFT_FRONT_CHANNEL] = monoMixLevel; in getMixFactors()
1505 mixFactors[CENTER_FRONT_CHANNEL][RIGHT_FRONT_CHANNEL] = monoMixLevel; in getMixFactors()
1508 mixFactors[CENTER_FRONT_CHANNEL][LEFT_REAR_CHANNEL] = monoMixLevel; in getMixFactors()
1509 mixFactors[CENTER_FRONT_CHANNEL][RIGHT_REAR_CHANNEL] = monoMixLevel; in getMixFactors()
1523 dmxSetChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1525 dmxAddChannel(mixFactors, mixScales, CENTER_FRONT_CHANNEL, in getMixFactors()
1562 SHORT addFact = FX_DMX2SHRT(mixFactors[outCh][inCh]); in getMixFactors()
1599 if (mixFactors[outCh][inCh] != (FIXP_DMX)0) { in getMixFactors()
1601 mixFactors[outCh][inCh] >>= maxScale - mixScales[outCh][inCh]; in getMixFactors()
1603 mixFactors[outCh][inCh] <<= mixScales[outCh][inCh] - maxScale; in getMixFactors()
2189 FIXP_DMX mixFactors[(8)][(8)]; in pcmDmx_ApplyFrame() local
2244 outChMode, pParam, &bsMetaData, mixFactors, &dmxScale); in pcmDmx_ApplyFrame()
2271 mixFactors[outCh][inCh] = mixFactors[outCh][map[inCh]]; in pcmDmx_ApplyFrame()
2291 FDKmemcpy(&mixFactors[outCh], &mixFactors[map[outCh]], in pcmDmx_ApplyFrame()
2316 tOut[outCh] += fMult((DMX_PCMF)tIn[inCh], mixFactors[outCh][inCh]); in pcmDmx_ApplyFrame()