• Home
  • Raw
  • Download

Lines Matching refs:hInstance

439   HANDLE_DRC_SELECTION_PROCESS hInstance;  in drcDec_SelectionProcess_Create()  local
440 hInstance = (HANDLE_DRC_SELECTION_PROCESS)FDKcalloc( in drcDec_SelectionProcess_Create()
443 if (!hInstance) return DRCDEC_SELECTION_PROCESS_OUTOFMEMORY; in drcDec_SelectionProcess_Create()
445 hInstance->codecMode = SEL_PROC_CODEC_MODE_UNDEFINED; in drcDec_SelectionProcess_Create()
447 *phInstance = hInstance; in drcDec_SelectionProcess_Create()
452 drcDec_SelectionProcess_Init(HANDLE_DRC_SELECTION_PROCESS hInstance) { in drcDec_SelectionProcess_Init() argument
453 if (!hInstance) return DRCDEC_SELECTION_PROCESS_NOT_OK; in drcDec_SelectionProcess_Init()
455 _initDefaultParams(&hInstance->selProcInput); in drcDec_SelectionProcess_Init()
460 drcDec_SelectionProcess_SetCodecMode(HANDLE_DRC_SELECTION_PROCESS hInstance, in drcDec_SelectionProcess_SetCodecMode() argument
464 if (!hInstance) return DRCDEC_SELECTION_PROCESS_NOT_OK; in drcDec_SelectionProcess_SetCodecMode()
472 hInstance->codecMode = codecMode; in drcDec_SelectionProcess_SetCodecMode()
480 retVal = _initCodecModeParams(&(hInstance->selProcInput), in drcDec_SelectionProcess_SetCodecMode()
481 hInstance->codecMode = codecMode); in drcDec_SelectionProcess_SetCodecMode()
487 drcDec_SelectionProcess_SetParam(HANDLE_DRC_SELECTION_PROCESS hInstance, in drcDec_SelectionProcess_SetParam() argument
492 SEL_PROC_INPUT* pSelProcInput = &(hInstance->selProcInput); in drcDec_SelectionProcess_SetParam()
622 drcDec_SelectionProcess_GetParam(HANDLE_DRC_SELECTION_PROCESS hInstance, in drcDec_SelectionProcess_GetParam() argument
624 SEL_PROC_INPUT* pSelProcInput = &(hInstance->selProcInput); in drcDec_SelectionProcess_GetParam()
647 drcDec_SelectionProcess_Process(HANDLE_DRC_SELECTION_PROCESS hInstance, in drcDec_SelectionProcess_Process() argument
655 if (hInstance == NULL) return DRCDEC_SELECTION_PROCESS_INVALID_HANDLE; in drcDec_SelectionProcess_Process()
657 pCandidatesSelected = &(hInstance->selectionData[0]); in drcDec_SelectionProcess_Process()
658 pCandidatesPotential = &(hInstance->selectionData[1]); in drcDec_SelectionProcess_Process()
662 retVal = _generateVirtualDrcSets(&(hInstance->selProcInput), hUniDrcConfig, in drcDec_SelectionProcess_Process()
663 hInstance->codecMode); in drcDec_SelectionProcess_Process()
666 if (hInstance->selProcInput.baseChannelCount != in drcDec_SelectionProcess_Process()
668 hInstance->selProcInput.baseChannelCount = in drcDec_SelectionProcess_Process()
672 if ((hInstance->selProcInput.targetConfigRequestType != 0) || in drcDec_SelectionProcess_Process()
673 (hInstance->selProcInput.targetConfigRequestType == 0 && in drcDec_SelectionProcess_Process()
674 hInstance->selProcInput.numDownmixIdRequests == 0)) { in drcDec_SelectionProcess_Process()
675 retVal = _channelLayoutToDownmixIdMapping(&(hInstance->selProcInput), in drcDec_SelectionProcess_Process()
681 retVal = _drcSetPreSelection(&(hInstance->selProcInput), hUniDrcConfig, in drcDec_SelectionProcess_Process()
683 &pCandidatesSelected, hInstance->codecMode); in drcDec_SelectionProcess_Process()
686 if (hInstance->selProcInput.albumMode) { in drcDec_SelectionProcess_Process()
700 retVal = _drcSetRequestSelection(&(hInstance->selProcInput), hUniDrcConfig, in drcDec_SelectionProcess_Process()
705 retVal = _drcSetFinalSelection(&(hInstance->selProcInput), hUniDrcConfig, in drcDec_SelectionProcess_Process()
707 hInstance->codecMode); in drcDec_SelectionProcess_Process()
711 &(hInstance->selProcInput), hSelProcOutput, hUniDrcConfig, in drcDec_SelectionProcess_Process()
712 hLoudnessInfoSet, &(pCandidatesSelected->data[0]), hInstance->codecMode); in drcDec_SelectionProcess_Process()