Lines Matching refs:QmfDomainIn
204 if (qd->QmfDomainIn[ch].pAnaQmfStates) { in C_ALLOC_MEM_OVERLAY()
206 FreeAnaQmfStates16(&qd->QmfDomainIn[ch].pAnaQmfStates); in C_ALLOC_MEM_OVERLAY()
209 FreeAnaQmfStates24(&qd->QmfDomainIn[ch].pAnaQmfStates); in C_ALLOC_MEM_OVERLAY()
212 FreeAnaQmfStates32(&qd->QmfDomainIn[ch].pAnaQmfStates); in C_ALLOC_MEM_OVERLAY()
214 FreeAnaQmfStates(&qd->QmfDomainIn[ch].pAnaQmfStates); in C_ALLOC_MEM_OVERLAY()
218 if (qd->QmfDomainIn[ch].pOverlapBuffer) { in C_ALLOC_MEM_OVERLAY()
220 FreeQmfOverlapBuffer16(&qd->QmfDomainIn[ch].pOverlapBuffer); in C_ALLOC_MEM_OVERLAY()
222 FreeQmfOverlapBuffer32(&qd->QmfDomainIn[ch].pOverlapBuffer); in C_ALLOC_MEM_OVERLAY()
224 FreeQmfOverlapBuffer(&qd->QmfDomainIn[ch].pOverlapBuffer); in C_ALLOC_MEM_OVERLAY()
228 if (qd->QmfDomainIn[ch].hQmfSlotsReal) { in C_ALLOC_MEM_OVERLAY()
230 FreeQmfSlotsReal16(&qd->QmfDomainIn[ch].hQmfSlotsReal); in C_ALLOC_MEM_OVERLAY()
232 FreeQmfSlotsReal32(&qd->QmfDomainIn[ch].hQmfSlotsReal); in C_ALLOC_MEM_OVERLAY()
234 FreeQmfSlotsReal(&qd->QmfDomainIn[ch].hQmfSlotsReal); in C_ALLOC_MEM_OVERLAY()
238 if (qd->QmfDomainIn[ch].hQmfSlotsImag) { in C_ALLOC_MEM_OVERLAY()
240 FreeQmfSlotsImag16(&qd->QmfDomainIn[ch].hQmfSlotsImag); in C_ALLOC_MEM_OVERLAY()
243 FreeQmfSlotsImag32(&qd->QmfDomainIn[ch].hQmfSlotsImag); in C_ALLOC_MEM_OVERLAY()
245 FreeQmfSlotsImag(&qd->QmfDomainIn[ch].hQmfSlotsImag); in C_ALLOC_MEM_OVERLAY()
272 if (qd->QmfDomainIn[ch].pAnaQmfStates == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
274 (qd->QmfDomainIn[ch].pAnaQmfStates = GetAnaQmfStates16(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
278 if (qd->QmfDomainIn[ch].pAnaQmfStates == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
280 (qd->QmfDomainIn[ch].pAnaQmfStates = GetAnaQmfStates24(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
284 if (qd->QmfDomainIn[ch].pAnaQmfStates == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
286 (qd->QmfDomainIn[ch].pAnaQmfStates = GetAnaQmfStates32(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
290 if (qd->QmfDomainIn[ch].pAnaQmfStates == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
291 if (NULL == (qd->QmfDomainIn[ch].pAnaQmfStates = GetAnaQmfStates(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
296 qd->QmfDomainIn[ch].pAnaQmfStates = NULL; in FDK_QmfDomain_AllocatePersistentMemory()
302 if (qd->QmfDomainIn[ch].hQmfSlotsReal == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
304 (qd->QmfDomainIn[ch].hQmfSlotsReal = GetQmfSlotsReal16(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
307 if (qd->QmfDomainIn[ch].hQmfSlotsImag == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
309 (qd->QmfDomainIn[ch].hQmfSlotsImag = GetQmfSlotsImag16(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
313 if (qd->QmfDomainIn[ch].hQmfSlotsReal == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
315 (qd->QmfDomainIn[ch].hQmfSlotsReal = GetQmfSlotsReal32(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
318 if (qd->QmfDomainIn[ch].hQmfSlotsImag == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
320 (qd->QmfDomainIn[ch].hQmfSlotsImag = GetQmfSlotsImag32(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
324 if (qd->QmfDomainIn[ch].hQmfSlotsReal == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
325 if (NULL == (qd->QmfDomainIn[ch].hQmfSlotsReal = GetQmfSlotsReal(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
328 if (qd->QmfDomainIn[ch].hQmfSlotsImag == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
329 if (NULL == (qd->QmfDomainIn[ch].hQmfSlotsImag = GetQmfSlotsImag(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
334 qd->QmfDomainIn[ch].hQmfSlotsReal = NULL; in FDK_QmfDomain_AllocatePersistentMemory()
335 qd->QmfDomainIn[ch].hQmfSlotsImag = NULL; in FDK_QmfDomain_AllocatePersistentMemory()
341 if (qd->QmfDomainIn[ch].pOverlapBuffer == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
343 (qd->QmfDomainIn[ch].pOverlapBuffer = GetQmfOverlapBuffer16(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
347 if (qd->QmfDomainIn[ch].pOverlapBuffer == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
349 (qd->QmfDomainIn[ch].pOverlapBuffer = GetQmfOverlapBuffer32(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
353 if (qd->QmfDomainIn[ch].pOverlapBuffer == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
355 (qd->QmfDomainIn[ch].pOverlapBuffer = GetQmfOverlapBuffer(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
360 qd->QmfDomainIn[ch].pOverlapBuffer = NULL; in FDK_QmfDomain_AllocatePersistentMemory()
392 if (hqd->QmfDomainIn[ch].pOverlapBuffer) { in FDK_QmfDomain_ClearPersistentMemory()
393 FDKmemclear(hqd->QmfDomainIn[ch].pOverlapBuffer, in FDK_QmfDomain_ClearPersistentMemory()
466 mem_needed = qd->QmfDomainIn[ch].workBuf_nBands * in FDK_QmfDomain_FeedWorkBuffer()
467 qd->QmfDomainIn[ch].workBuf_nTimeSlots * CMPLX_MOD; in FDK_QmfDomain_FeedWorkBuffer()
471 qd->QmfDomainIn[ch].pWorkBuffer = pWorkBuffer; in FDK_QmfDomain_FeedWorkBuffer()
472 qd->QmfDomainIn[ch].workBufferOffset = workBufferOffset; in FDK_QmfDomain_FeedWorkBuffer()
473 qd->QmfDomainIn[ch].workBufferSectSize = workBufferSectSize; in FDK_QmfDomain_FeedWorkBuffer()
480 return ((qd->QmfDomainIn[0].pAnaQmfStates == NULL) && in FDK_QmfDomain_IsInitialized()
504 qd->QmfDomainIn[ch].pOverlapBuffer; /* persistent memory for overlap */ in FDK_QmfDomain_InitFilterBank()
512 qd->QmfDomainIn[fMin(ch, fMax((INT)gc->nQmfProcChannels - 1, 0))] in FDK_QmfDomain_InitFilterBank()
515 qd->QmfDomainIn[fMin(ch, fMax((INT)gc->nQmfProcChannels - 1, 0))] in FDK_QmfDomain_InitFilterBank()
518 qd->QmfDomainIn[fMin(ch, fMax((INT)gc->nQmfProcChannels - 1, 0))] in FDK_QmfDomain_InitFilterBank()
526 qd->QmfDomainIn[ch].pGlobalConf = gc; in FDK_QmfDomain_InitFilterBank()
528 qd->QmfDomainIn[ch].hQmfSlotsReal[ts] = ptrOv; in FDK_QmfDomain_InitFilterBank()
530 qd->QmfDomainIn[ch].hQmfSlotsImag[ts] = ptrOv; in FDK_QmfDomain_InitFilterBank()
534 qd->QmfDomainIn[ch].hQmfSlotsReal[ts] = FDK_getWorkBuffer( in FDK_QmfDomain_InitFilterBank()
537 qd->QmfDomainIn[ch].hQmfSlotsImag[ts] = FDK_getWorkBuffer( in FDK_QmfDomain_InitFilterBank()
542 &qd->QmfDomainIn[ch].fb, qd->QmfDomainIn[ch].pAnaQmfStates, noCols, in FDK_QmfDomain_InitFilterBank()
543 (qd->QmfDomainIn[ch].fb.lsb == 0) ? lsb : qd->QmfDomainIn[ch].fb.lsb, in FDK_QmfDomain_InitFilterBank()
544 (qd->QmfDomainIn[ch].fb.usb == 0) ? usb : qd->QmfDomainIn[ch].fb.usb, in FDK_QmfDomain_InitFilterBank()
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()
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()
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()