Lines Matching refs:hqd
389 HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_ClearPersistentMemory() argument
392 if (hqd) { in FDK_QmfDomain_ClearPersistentMemory()
393 HANDLE_FDK_QMF_DOMAIN_GC gc = &hqd->globalConf; in FDK_QmfDomain_ClearPersistentMemory()
397 if (hqd->QmfDomainIn[ch].pOverlapBuffer) { in FDK_QmfDomain_ClearPersistentMemory()
398 FDKmemclear(hqd->QmfDomainIn[ch].pOverlapBuffer, in FDK_QmfDomain_ClearPersistentMemory()
402 if (FDK_QmfDomain_InitFilterBank(hqd, 0)) { in FDK_QmfDomain_ClearPersistentMemory()
811 static void FDK_QmfDomain_ClearFilterBank(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_ClearFilterBank() argument
815 FDKmemclear(&hqd->QmfDomainIn[ch].fb, sizeof(hqd->QmfDomainIn[ch].fb)); in FDK_QmfDomain_ClearFilterBank()
819 FDKmemclear(&hqd->QmfDomainOut[ch].fb, sizeof(hqd->QmfDomainIn[ch].fb)); in FDK_QmfDomain_ClearFilterBank()
823 QMF_DOMAIN_ERROR FDK_QmfDomain_Configure(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_Configure() argument
824 FDK_ASSERT(hqd != NULL); in FDK_QmfDomain_Configure()
828 HANDLE_FDK_QMF_DOMAIN_GC hgc = &hqd->globalConf; in FDK_QmfDomain_Configure()
852 hqd->QmfDomainIn[i].workBuf_nBands = hgc->nQmfProcBands_requested; in FDK_QmfDomain_Configure()
855 hqd->QmfDomainIn[i].workBuf_nTimeSlots = hgc->nQmfTimeSlots_requested; in FDK_QmfDomain_Configure()
882 if (FDK_QmfDomain_AllocatePersistentMemory(hqd)) { in FDK_QmfDomain_Configure()
911 if (hgc->parkChannel && (hqd->globalConf.nQmfProcChannels == 1)) { in FDK_QmfDomain_Configure()
914 hqd->QmfDomainIn[1].workBuf_nBands = hqd->globalConf.nBandsAnalysis; in FDK_QmfDomain_Configure()
915 hqd->QmfDomainIn[1].workBuf_nTimeSlots = hqd->globalConf.nQmfTimeSlots; in FDK_QmfDomain_Configure()
916 size_temp = hqd->QmfDomainIn[1].workBuf_nBands * in FDK_QmfDomain_Configure()
917 hqd->QmfDomainIn[1].workBuf_nTimeSlots * CMPLX_MOD; in FDK_QmfDomain_Configure()
920 size_main = hqd->QmfDomainIn[0].workBuf_nBands * in FDK_QmfDomain_Configure()
921 hqd->QmfDomainIn[0].workBuf_nTimeSlots * CMPLX_MOD; in FDK_QmfDomain_Configure()
958 FDK_QmfDomain_FeedWorkBuffer(hqd, i, pWorkBuffer, size_main * i, in FDK_QmfDomain_Configure()
963 FDK_QmfDomain_FeedWorkBuffer(hqd, 1, pWorkBuffer, in FDK_QmfDomain_Configure()
971 if ((hqd->QmfDomainOut[i].fb.lsb == 0) && in FDK_QmfDomain_Configure()
972 (hqd->QmfDomainOut[i].fb.usb == 0)) { in FDK_QmfDomain_Configure()
975 hqd->QmfDomainOut[i].fb.lsb = hgc->nBandsAnalysis_requested; in FDK_QmfDomain_Configure()
976 hqd->QmfDomainOut[i].fb.usb = in FDK_QmfDomain_Configure()
980 if (FDK_QmfDomain_InitFilterBank(hqd, 0)) { in FDK_QmfDomain_Configure()
987 FDK_QmfDomain_FreeMem(hqd); in FDK_QmfDomain_Configure()
992 static void FDK_QmfDomain_FreeWorkBuffer(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_FreeWorkBuffer() argument
993 FIXP_DBL **pWorkBuffer = hqd->globalConf.pWorkBuffer; in FDK_QmfDomain_FreeWorkBuffer()
1002 void FDK_QmfDomain_FreeMem(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_FreeMem() argument
1003 FDK_QmfDomain_FreeWorkBuffer(hqd); in FDK_QmfDomain_FreeMem()
1005 FDK_QmfDomain_FreePersistentMemory(hqd); in FDK_QmfDomain_FreeMem()
1007 FDK_QmfDomain_ClearFilterBank(hqd); in FDK_QmfDomain_FreeMem()
1009 FDK_QmfDomain_ClearConfigured(&hqd->globalConf); in FDK_QmfDomain_FreeMem()
1011 FDK_QmfDomain_ClearRequested(&hqd->globalConf); in FDK_QmfDomain_FreeMem()
1014 void FDK_QmfDomain_Close(HANDLE_FDK_QMF_DOMAIN hqd) { in FDK_QmfDomain_Close() argument
1015 FDK_QmfDomain_FreeWorkBuffer(hqd); in FDK_QmfDomain_Close()
1017 FDK_QmfDomain_FreePersistentMemory(hqd); in FDK_QmfDomain_Close()