Lines Matching refs:pCandidate
1205 DRCDEC_SELECTION_DATA* pCandidate = in _preSelectionRequirement9() local
1207 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _preSelectionRequirement9()
1209 if (pCandidate->outputPeakLevel <= hSelProcInput->outputPeakLevelMax) { in _preSelectionRequirement9()
1210 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _preSelectionRequirement9()
1265 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetSelectionAddCandidates() local
1269 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetSelectionAddCandidates()
1270 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetSelectionAddCandidates()
1272 pDrcInstructionUniDrc = pCandidate->pInst; in _drcSetSelectionAddCandidates()
1282 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetSelectionAddCandidates()
1283 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetSelectionAddCandidates()
1285 pDrcInstructionUniDrc = pCandidate->pInst; in _drcSetSelectionAddCandidates()
1289 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetSelectionAddCandidates()
1298 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetSelectionAddCandidates()
1299 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetSelectionAddCandidates()
1301 peakLevel = pCandidate->outputPeakLevel; in _drcSetSelectionAddCandidates()
1314 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetSelectionAddCandidates()
1315 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetSelectionAddCandidates()
1317 peakLevel = pCandidate->outputPeakLevel; in _drcSetSelectionAddCandidates()
1326 pCandidate->loudnessNormalizationGainDbAdjusted -= adjustment; in _drcSetSelectionAddCandidates()
1327 pCandidate->outputPeakLevel -= adjustment; in _drcSetSelectionAddCandidates()
1328 pCandidate->outputLoudness -= adjustment; in _drcSetSelectionAddCandidates()
1329 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetSelectionAddCandidates()
1372 DRCDEC_SELECTION_DATA* pCandidate = in _selectDrcSetEffectNone() local
1374 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectDrcSetEffectNone()
1376 if ((pCandidate->pInst->drcSetEffect & 0xff) == 0) { in _selectDrcSetEffectNone()
1377 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectDrcSetEffectNone()
1402 DRCDEC_SELECTION_DATA* pCandidate = in _selectSingleEffectType() local
1404 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectSingleEffectType()
1406 pInst = pCandidate->pInst; in _selectSingleEffectType()
1410 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectSingleEffectType()
1420 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectSingleEffectType()
1487 DRCDEC_SELECTION_DATA* pCandidate = in _selectDynamicRange() local
1489 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectDynamicRange()
1492 hLoudnessInfoSet, pCandidate->pInst, in _selectDynamicRange()
1493 pDownmixIdRequested[pCandidate->downmixIdRequestIndex], in _selectDynamicRange()
1508 if (_drcdec_selection_add(ppCandidatesSelected, pCandidate) == NULL) in _selectDynamicRange()
1513 if (_drcdec_selection_add(ppCandidatesSelected, pCandidate) == NULL) in _selectDynamicRange()
1546 DRCDEC_SELECTION_DATA* pCandidate = in _selectSingleDrcCharacteristic() local
1548 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectSingleDrcCharacteristic()
1550 pInst = pCandidate->pInst; in _selectSingleDrcCharacteristic()
1579 if (_drcdec_selection_add(*ppCandidatesSelected, pCandidate) == NULL) in _selectSingleDrcCharacteristic()
1637 DRCDEC_SELECTION_DATA* pCandidate = in _drcSetFinalSelection_peakValue0() local
1639 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_peakValue0()
1641 if (pCandidate->outputPeakLevel <= FIXP_DBL(0)) { in _drcSetFinalSelection_peakValue0()
1642 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_peakValue0()
1655 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_downmixId() local
1659 pCandidate = _drcdec_selection_getAt(*ppCandidatesPotential, i); in _drcSetFinalSelection_downmixId()
1660 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_downmixId()
1662 pInst = pCandidate->pInst; in _drcSetFinalSelection_downmixId()
1668 ->downmixIdRequested[pCandidate->downmixIdRequestIndex] == in _drcSetFinalSelection_downmixId()
1670 if (_drcdec_selection_add(*ppCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_downmixId()
1704 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_effectTypes() local
1708 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_effectTypes()
1709 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_effectTypes()
1711 pInst = pCandidate->pInst; in _drcSetFinalSelection_effectTypes()
1724 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_effectTypes()
1725 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_effectTypes()
1727 pInst = pCandidate->pInst; in _drcSetFinalSelection_effectTypes()
1734 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_effectTypes()
1748 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _selectSmallestTargetLoudnessValueUpper() local
1751 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _selectSmallestTargetLoudnessValueUpper()
1752 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectSmallestTargetLoudnessValueUpper()
1754 val = pCandidate->pInst->drcSetTargetLoudnessValueUpper; in _selectSmallestTargetLoudnessValueUpper()
1763 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _selectSmallestTargetLoudnessValueUpper()
1764 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectSmallestTargetLoudnessValueUpper()
1766 val = pCandidate->pInst->drcSetTargetLoudnessValueUpper; in _selectSmallestTargetLoudnessValueUpper()
1769 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectSmallestTargetLoudnessValueUpper()
1782 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_targetLoudness() local
1785 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_targetLoudness()
1786 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_targetLoudness()
1788 if (pCandidate->selectionFlag == 0) { in _drcSetFinalSelection_targetLoudness()
1789 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_targetLoudness()
1806 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_targetLoudness()
1807 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_targetLoudness()
1809 pDrcInstructionUniDrc = pCandidate->pInst; in _drcSetFinalSelection_targetLoudness()
1812 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_targetLoudness()
1835 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_peakValueLargest() local
1838 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_peakValueLargest()
1839 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_peakValueLargest()
1841 peakLevel = pCandidate->outputPeakLevel; in _drcSetFinalSelection_peakValueLargest()
1850 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_peakValueLargest()
1851 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_peakValueLargest()
1853 peakLevel = pCandidate->outputPeakLevel; in _drcSetFinalSelection_peakValueLargest()
1856 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_peakValueLargest()
1870 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_drcSetId() local
1874 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_drcSetId()
1875 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_drcSetId()
1877 id = pCandidate->pInst->drcSetId; in _drcSetFinalSelection_drcSetId()
1881 pCandidateSelected = pCandidate; in _drcSetFinalSelection_drcSetId()
3040 DRCDEC_SELECTION_DATA* pCandidate = in _selectAlbumLoudness() local
3042 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectAlbumLoudness()
3045 if (pCandidate->pInst->drcSetId == in _selectAlbumLoudness()
3047 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectAlbumLoudness()