Lines Matching refs:hqd
384 HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_ClearPersistentMemory() argument
387 if (hqd) { in FDK_QmfDomain_ClearPersistentMemory()
388 HANDLE_FDK_QMF_DOMAIN_GC gc = &hqd->globalConf; in FDK_QmfDomain_ClearPersistentMemory()
392 if (hqd->QmfDomainIn[ch].pOverlapBuffer) { in FDK_QmfDomain_ClearPersistentMemory()
393 FDKmemclear(hqd->QmfDomainIn[ch].pOverlapBuffer, in FDK_QmfDomain_ClearPersistentMemory()
397 if (FDK_QmfDomain_InitFilterBank(hqd, 0)) { in FDK_QmfDomain_ClearPersistentMemory()
806 static void FDK_QmfDomain_ClearFilterBank(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_ClearFilterBank() argument
810 FDKmemclear(&hqd->QmfDomainIn[ch].fb, sizeof(hqd->QmfDomainIn[ch].fb)); in FDK_QmfDomain_ClearFilterBank()
814 FDKmemclear(&hqd->QmfDomainOut[ch].fb, sizeof(hqd->QmfDomainIn[ch].fb)); in FDK_QmfDomain_ClearFilterBank()
818 QMF_DOMAIN_ERROR FDK_QmfDomain_Configure(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_Configure() argument
819 FDK_ASSERT(hqd != NULL); in FDK_QmfDomain_Configure()
823 HANDLE_FDK_QMF_DOMAIN_GC hgc = &hqd->globalConf; in FDK_QmfDomain_Configure()
847 hqd->QmfDomainIn[i].workBuf_nBands = hgc->nQmfProcBands_requested; in FDK_QmfDomain_Configure()
850 hqd->QmfDomainIn[i].workBuf_nTimeSlots = hgc->nQmfTimeSlots_requested; in FDK_QmfDomain_Configure()
877 if (FDK_QmfDomain_AllocatePersistentMemory(hqd)) { in FDK_QmfDomain_Configure()
906 if (hgc->parkChannel && (hqd->globalConf.nQmfProcChannels == 1)) { in FDK_QmfDomain_Configure()
909 hqd->QmfDomainIn[1].workBuf_nBands = hqd->globalConf.nBandsAnalysis; in FDK_QmfDomain_Configure()
910 hqd->QmfDomainIn[1].workBuf_nTimeSlots = hqd->globalConf.nQmfTimeSlots; in FDK_QmfDomain_Configure()
911 size_temp = hqd->QmfDomainIn[1].workBuf_nBands * in FDK_QmfDomain_Configure()
912 hqd->QmfDomainIn[1].workBuf_nTimeSlots * CMPLX_MOD; in FDK_QmfDomain_Configure()
915 size_main = hqd->QmfDomainIn[0].workBuf_nBands * in FDK_QmfDomain_Configure()
916 hqd->QmfDomainIn[0].workBuf_nTimeSlots * CMPLX_MOD; in FDK_QmfDomain_Configure()
953 FDK_QmfDomain_FeedWorkBuffer(hqd, i, pWorkBuffer, size_main * i, in FDK_QmfDomain_Configure()
958 FDK_QmfDomain_FeedWorkBuffer(hqd, 1, pWorkBuffer, in FDK_QmfDomain_Configure()
966 if ((hqd->QmfDomainOut[i].fb.lsb == 0) && in FDK_QmfDomain_Configure()
967 (hqd->QmfDomainOut[i].fb.usb == 0)) { in FDK_QmfDomain_Configure()
970 hqd->QmfDomainOut[i].fb.lsb = hgc->nBandsAnalysis_requested; in FDK_QmfDomain_Configure()
971 hqd->QmfDomainOut[i].fb.usb = in FDK_QmfDomain_Configure()
975 if (FDK_QmfDomain_InitFilterBank(hqd, 0)) { in FDK_QmfDomain_Configure()
982 FDK_QmfDomain_FreeMem(hqd); in FDK_QmfDomain_Configure()
987 static void FDK_QmfDomain_FreeWorkBuffer(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_FreeWorkBuffer() argument
988 FIXP_DBL **pWorkBuffer = hqd->globalConf.pWorkBuffer; in FDK_QmfDomain_FreeWorkBuffer()
997 void FDK_QmfDomain_FreeMem(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_FreeMem() argument
998 FDK_QmfDomain_FreeWorkBuffer(hqd); in FDK_QmfDomain_FreeMem()
1000 FDK_QmfDomain_FreePersistentMemory(hqd); in FDK_QmfDomain_FreeMem()
1002 FDK_QmfDomain_ClearFilterBank(hqd); in FDK_QmfDomain_FreeMem()
1004 FDK_QmfDomain_ClearConfigured(&hqd->globalConf); in FDK_QmfDomain_FreeMem()
1006 FDK_QmfDomain_ClearRequested(&hqd->globalConf); in FDK_QmfDomain_FreeMem()
1009 void FDK_QmfDomain_Close(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_Close() argument
1010 FDK_QmfDomain_FreeWorkBuffer(hqd); in FDK_QmfDomain_Close()
1012 FDK_QmfDomain_FreePersistentMemory(hqd); in FDK_QmfDomain_Close()