Lines Matching refs:pCandidate
1242 DRCDEC_SELECTION_DATA* pCandidate = in _preSelectionRequirement9() local
1244 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _preSelectionRequirement9()
1246 if (pCandidate->outputPeakLevel <= hSelProcInput->outputPeakLevelMax) { in _preSelectionRequirement9()
1247 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _preSelectionRequirement9()
1302 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetSelectionAddCandidates() local
1306 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetSelectionAddCandidates()
1307 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetSelectionAddCandidates()
1309 pDrcInstructionUniDrc = pCandidate->pInst; in _drcSetSelectionAddCandidates()
1319 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetSelectionAddCandidates()
1320 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetSelectionAddCandidates()
1322 pDrcInstructionUniDrc = pCandidate->pInst; in _drcSetSelectionAddCandidates()
1326 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetSelectionAddCandidates()
1335 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetSelectionAddCandidates()
1336 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetSelectionAddCandidates()
1338 peakLevel = pCandidate->outputPeakLevel; in _drcSetSelectionAddCandidates()
1351 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetSelectionAddCandidates()
1352 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetSelectionAddCandidates()
1354 peakLevel = pCandidate->outputPeakLevel; in _drcSetSelectionAddCandidates()
1363 pCandidate->loudnessNormalizationGainDbAdjusted -= adjustment; in _drcSetSelectionAddCandidates()
1364 pCandidate->outputPeakLevel -= adjustment; in _drcSetSelectionAddCandidates()
1365 pCandidate->outputLoudness -= adjustment; in _drcSetSelectionAddCandidates()
1366 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetSelectionAddCandidates()
1409 DRCDEC_SELECTION_DATA* pCandidate = in _selectDrcSetEffectNone() local
1411 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectDrcSetEffectNone()
1413 if ((pCandidate->pInst->drcSetEffect & 0xff) == 0) { in _selectDrcSetEffectNone()
1414 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectDrcSetEffectNone()
1439 DRCDEC_SELECTION_DATA* pCandidate = in _selectSingleEffectType() local
1441 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectSingleEffectType()
1443 pInst = pCandidate->pInst; in _selectSingleEffectType()
1447 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectSingleEffectType()
1457 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectSingleEffectType()
1524 DRCDEC_SELECTION_DATA* pCandidate = in _selectDynamicRange() local
1526 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectDynamicRange()
1529 hLoudnessInfoSet, pCandidate->pInst, in _selectDynamicRange()
1530 pDownmixIdRequested[pCandidate->downmixIdRequestIndex], in _selectDynamicRange()
1545 if (_drcdec_selection_add(ppCandidatesSelected, pCandidate) == NULL) in _selectDynamicRange()
1550 if (_drcdec_selection_add(ppCandidatesSelected, pCandidate) == NULL) in _selectDynamicRange()
1583 DRCDEC_SELECTION_DATA* pCandidate = in _selectSingleDrcCharacteristic() local
1585 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectSingleDrcCharacteristic()
1587 pInst = pCandidate->pInst; in _selectSingleDrcCharacteristic()
1616 if (_drcdec_selection_add(*ppCandidatesSelected, pCandidate) == NULL) in _selectSingleDrcCharacteristic()
1674 DRCDEC_SELECTION_DATA* pCandidate = in _drcSetFinalSelection_peakValue0() local
1676 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_peakValue0()
1678 if (pCandidate->outputPeakLevel <= FIXP_DBL(0)) { in _drcSetFinalSelection_peakValue0()
1679 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_peakValue0()
1692 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_downmixId() local
1696 pCandidate = _drcdec_selection_getAt(*ppCandidatesPotential, i); in _drcSetFinalSelection_downmixId()
1697 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_downmixId()
1699 pInst = pCandidate->pInst; in _drcSetFinalSelection_downmixId()
1705 ->downmixIdRequested[pCandidate->downmixIdRequestIndex] == in _drcSetFinalSelection_downmixId()
1707 if (_drcdec_selection_add(*ppCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_downmixId()
1741 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_effectTypes() local
1745 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_effectTypes()
1746 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_effectTypes()
1748 pInst = pCandidate->pInst; in _drcSetFinalSelection_effectTypes()
1761 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_effectTypes()
1762 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_effectTypes()
1764 pInst = pCandidate->pInst; in _drcSetFinalSelection_effectTypes()
1771 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_effectTypes()
1785 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _selectSmallestTargetLoudnessValueUpper() local
1788 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _selectSmallestTargetLoudnessValueUpper()
1789 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectSmallestTargetLoudnessValueUpper()
1791 val = pCandidate->pInst->drcSetTargetLoudnessValueUpper; in _selectSmallestTargetLoudnessValueUpper()
1800 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _selectSmallestTargetLoudnessValueUpper()
1801 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectSmallestTargetLoudnessValueUpper()
1803 val = pCandidate->pInst->drcSetTargetLoudnessValueUpper; in _selectSmallestTargetLoudnessValueUpper()
1806 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectSmallestTargetLoudnessValueUpper()
1819 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_targetLoudness() local
1822 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_targetLoudness()
1823 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_targetLoudness()
1825 if (pCandidate->selectionFlag == 0) { in _drcSetFinalSelection_targetLoudness()
1826 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_targetLoudness()
1843 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_targetLoudness()
1844 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_targetLoudness()
1846 pDrcInstructionUniDrc = pCandidate->pInst; in _drcSetFinalSelection_targetLoudness()
1849 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_targetLoudness()
1872 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_peakValueLargest() local
1875 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_peakValueLargest()
1876 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_peakValueLargest()
1878 peakLevel = pCandidate->outputPeakLevel; in _drcSetFinalSelection_peakValueLargest()
1887 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_peakValueLargest()
1888 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_peakValueLargest()
1890 peakLevel = pCandidate->outputPeakLevel; in _drcSetFinalSelection_peakValueLargest()
1893 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _drcSetFinalSelection_peakValueLargest()
1907 DRCDEC_SELECTION_DATA* pCandidate = NULL; in _drcSetFinalSelection_drcSetId() local
1911 pCandidate = _drcdec_selection_getAt(pCandidatesPotential, i); in _drcSetFinalSelection_drcSetId()
1912 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _drcSetFinalSelection_drcSetId()
1914 id = pCandidate->pInst->drcSetId; in _drcSetFinalSelection_drcSetId()
1918 pCandidateSelected = pCandidate; in _drcSetFinalSelection_drcSetId()
3089 DRCDEC_SELECTION_DATA* pCandidate = in _selectAlbumLoudness() local
3091 if (pCandidate == NULL) return DRCDEC_SELECTION_PROCESS_NOT_OK; in _selectAlbumLoudness()
3094 if (pCandidate->pInst->drcSetId == in _selectAlbumLoudness()
3096 if (_drcdec_selection_add(pCandidatesSelected, pCandidate) == NULL) in _selectAlbumLoudness()