Lines Matching refs:pInst
1245 DRC_INSTRUCTIONS_UNI_DRC* pInst) { in _readDrcInstructionsUniDrc() argument
1253 SCHAR* gainSetIndex = pInst->gainSetIndex; in _readDrcInstructionsUniDrc()
1257 pInst->drcSetId = FDKreadBits(hBs, 6); in _readDrcInstructionsUniDrc()
1260 pInst->drcSetComplexityLevel = 2; in _readDrcInstructionsUniDrc()
1262 pInst->drcSetComplexityLevel = FDKreadBits(hBs, 4); in _readDrcInstructionsUniDrc()
1264 pInst->drcLocation = FDKreadBits(hBs, 4); in _readDrcInstructionsUniDrc()
1271 pInst->downmixId[0] = FDKreadBits(hBs, 7); in _readDrcInstructionsUniDrc()
1273 if (pInst->downmixId[0] == 0) in _readDrcInstructionsUniDrc()
1274 pInst->drcApplyToDownmix = 0; in _readDrcInstructionsUniDrc()
1276 pInst->drcApplyToDownmix = 1; in _readDrcInstructionsUniDrc()
1278 pInst->drcApplyToDownmix = FDKreadBits(hBs, 1); in _readDrcInstructionsUniDrc()
1286 pInst->downmixId[i + 1] = FDKreadBits(hBs, 7); in _readDrcInstructionsUniDrc()
1288 pInst->downmixIdCount = 1 + additionalDownmixIdCount; in _readDrcInstructionsUniDrc()
1290 pInst->downmixIdCount = 1; in _readDrcInstructionsUniDrc()
1293 pInst->downmixId[0] = 0; in _readDrcInstructionsUniDrc()
1294 pInst->downmixIdCount = 1; in _readDrcInstructionsUniDrc()
1297 pInst->drcSetEffect = FDKreadBits(hBs, 16); in _readDrcInstructionsUniDrc()
1299 if ((pInst->drcSetEffect & (EB_DUCK_OTHER | EB_DUCK_SELF)) == 0) { in _readDrcInstructionsUniDrc()
1300 pInst->limiterPeakTargetPresent = FDKreadBits(hBs, 1); in _readDrcInstructionsUniDrc()
1301 if (pInst->limiterPeakTargetPresent) { in _readDrcInstructionsUniDrc()
1303 pInst->limiterPeakTarget = -(FIXP_SGL)( in _readDrcInstructionsUniDrc()
1309 pInst->drcSetTargetLoudnessPresent = FDKreadBits(hBs, 1); in _readDrcInstructionsUniDrc()
1312 pInst->drcSetTargetLoudnessValueUpper = 0; in _readDrcInstructionsUniDrc()
1313 pInst->drcSetTargetLoudnessValueLower = -63; in _readDrcInstructionsUniDrc()
1315 if (pInst->drcSetTargetLoudnessPresent == 1) { in _readDrcInstructionsUniDrc()
1319 pInst->drcSetTargetLoudnessValueUpper = in _readDrcInstructionsUniDrc()
1324 pInst->drcSetTargetLoudnessValueLower = in _readDrcInstructionsUniDrc()
1329 pInst->dependsOnDrcSetPresent = FDKreadBits(hBs, 1); in _readDrcInstructionsUniDrc()
1331 pInst->noIndependentUse = 0; in _readDrcInstructionsUniDrc()
1332 if (pInst->dependsOnDrcSetPresent) { in _readDrcInstructionsUniDrc()
1333 pInst->dependsOnDrcSet = FDKreadBits(hBs, 6); in _readDrcInstructionsUniDrc()
1335 pInst->noIndependentUse = FDKreadBits(hBs, 1); in _readDrcInstructionsUniDrc()
1339 pInst->requiresEq = 0; in _readDrcInstructionsUniDrc()
1341 pInst->requiresEq = FDKreadBits(hBs, 1); in _readDrcInstructionsUniDrc()
1344 pCoef = selectDrcCoefficients(hUniDrcConfig, pInst->drcLocation); in _readDrcInstructionsUniDrc()
1346 pInst->drcChannelCount = channelCount = in _readDrcInstructionsUniDrc()
1349 if (pInst->drcSetEffect & (EB_DUCK_OTHER | EB_DUCK_SELF)) { in _readDrcInstructionsUniDrc()
1351 pInst->duckingModificationForChannel; in _readDrcInstructionsUniDrc()
1378 pInst->drcSetEffect, pInst->drcChannelCount, gainSetIndex, in _readDrcInstructionsUniDrc()
1379 pDModForChannel, &pInst->nDrcChannelGroups, in _readDrcInstructionsUniDrc()
1380 pInst->gainSetIndexForChannelGroup, channelGroupForChannel, in _readDrcInstructionsUniDrc()
1385 if (((version == 0) || (pInst->drcApplyToDownmix != 0)) && in _readDrcInstructionsUniDrc()
1386 (pInst->downmixId[0] != DOWNMIX_ID_BASE_LAYOUT) && in _readDrcInstructionsUniDrc()
1387 (pInst->downmixId[0] != DOWNMIX_ID_ANY_DOWNMIX) && in _readDrcInstructionsUniDrc()
1388 (pInst->downmixIdCount == 1)) { in _readDrcInstructionsUniDrc()
1391 selectDownmixInstructions(hUniDrcConfig, pInst->downmixId[0]); in _readDrcInstructionsUniDrc()
1393 pInst->drcChannelCount = channelCount = in _readDrcInstructionsUniDrc()
1399 } else if (((version == 0) || (pInst->drcApplyToDownmix != 0)) && in _readDrcInstructionsUniDrc()
1400 ((pInst->downmixId[0] == DOWNMIX_ID_ANY_DOWNMIX) || in _readDrcInstructionsUniDrc()
1401 (pInst->downmixIdCount > 1))) { in _readDrcInstructionsUniDrc()
1404 pInst->drcChannelCount = 8; in _readDrcInstructionsUniDrc()
1434 pInst->drcChannelCount = channelCount; in _readDrcInstructionsUniDrc()
1439 if ((pInst->downmixId[0] == DOWNMIX_ID_ANY_DOWNMIX) || in _readDrcInstructionsUniDrc()
1440 (pInst->downmixIdCount > 1)) { in _readDrcInstructionsUniDrc()
1441 for (c = 1; c < pInst->drcChannelCount; c++) { in _readDrcInstructionsUniDrc()
1446 err = deriveDrcChannelGroups(pInst->drcSetEffect, pInst->drcChannelCount, in _readDrcInstructionsUniDrc()
1447 gainSetIndex, NULL, &pInst->nDrcChannelGroups, in _readDrcInstructionsUniDrc()
1448 pInst->gainSetIndexForChannelGroup, in _readDrcInstructionsUniDrc()
1452 for (g = 0; g < pInst->nDrcChannelGroups; g++) { in _readDrcInstructionsUniDrc()
1454 set = pInst->gainSetIndexForChannelGroup[g]; in _readDrcInstructionsUniDrc()
1464 pInst->gainModificationForChannelGroup[g], 0); in _readDrcInstructionsUniDrc()