• Home
  • Raw
  • Download

Lines Matching refs:QmfDomainIn

209     if (qd->QmfDomainIn[ch].pAnaQmfStates) {  in C_ALLOC_MEM_OVERLAY()
211 FreeAnaQmfStates16(&qd->QmfDomainIn[ch].pAnaQmfStates); in C_ALLOC_MEM_OVERLAY()
214 FreeAnaQmfStates24(&qd->QmfDomainIn[ch].pAnaQmfStates); in C_ALLOC_MEM_OVERLAY()
217 FreeAnaQmfStates32(&qd->QmfDomainIn[ch].pAnaQmfStates); in C_ALLOC_MEM_OVERLAY()
219 FreeAnaQmfStates(&qd->QmfDomainIn[ch].pAnaQmfStates); in C_ALLOC_MEM_OVERLAY()
223 if (qd->QmfDomainIn[ch].pOverlapBuffer) { in C_ALLOC_MEM_OVERLAY()
225 FreeQmfOverlapBuffer16(&qd->QmfDomainIn[ch].pOverlapBuffer); in C_ALLOC_MEM_OVERLAY()
227 FreeQmfOverlapBuffer32(&qd->QmfDomainIn[ch].pOverlapBuffer); in C_ALLOC_MEM_OVERLAY()
229 FreeQmfOverlapBuffer(&qd->QmfDomainIn[ch].pOverlapBuffer); in C_ALLOC_MEM_OVERLAY()
233 if (qd->QmfDomainIn[ch].hQmfSlotsReal) { in C_ALLOC_MEM_OVERLAY()
235 FreeQmfSlotsReal16(&qd->QmfDomainIn[ch].hQmfSlotsReal); in C_ALLOC_MEM_OVERLAY()
237 FreeQmfSlotsReal32(&qd->QmfDomainIn[ch].hQmfSlotsReal); in C_ALLOC_MEM_OVERLAY()
239 FreeQmfSlotsReal(&qd->QmfDomainIn[ch].hQmfSlotsReal); in C_ALLOC_MEM_OVERLAY()
243 if (qd->QmfDomainIn[ch].hQmfSlotsImag) { in C_ALLOC_MEM_OVERLAY()
245 FreeQmfSlotsImag16(&qd->QmfDomainIn[ch].hQmfSlotsImag); in C_ALLOC_MEM_OVERLAY()
248 FreeQmfSlotsImag32(&qd->QmfDomainIn[ch].hQmfSlotsImag); in C_ALLOC_MEM_OVERLAY()
250 FreeQmfSlotsImag(&qd->QmfDomainIn[ch].hQmfSlotsImag); in C_ALLOC_MEM_OVERLAY()
277 if (qd->QmfDomainIn[ch].pAnaQmfStates == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
279 (qd->QmfDomainIn[ch].pAnaQmfStates = GetAnaQmfStates16(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
283 if (qd->QmfDomainIn[ch].pAnaQmfStates == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
285 (qd->QmfDomainIn[ch].pAnaQmfStates = GetAnaQmfStates24(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
289 if (qd->QmfDomainIn[ch].pAnaQmfStates == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
291 (qd->QmfDomainIn[ch].pAnaQmfStates = GetAnaQmfStates32(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
295 if (qd->QmfDomainIn[ch].pAnaQmfStates == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
296 if (NULL == (qd->QmfDomainIn[ch].pAnaQmfStates = GetAnaQmfStates(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
301 qd->QmfDomainIn[ch].pAnaQmfStates = NULL; in FDK_QmfDomain_AllocatePersistentMemory()
307 if (qd->QmfDomainIn[ch].hQmfSlotsReal == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
309 (qd->QmfDomainIn[ch].hQmfSlotsReal = GetQmfSlotsReal16(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
312 if (qd->QmfDomainIn[ch].hQmfSlotsImag == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
314 (qd->QmfDomainIn[ch].hQmfSlotsImag = GetQmfSlotsImag16(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
318 if (qd->QmfDomainIn[ch].hQmfSlotsReal == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
320 (qd->QmfDomainIn[ch].hQmfSlotsReal = GetQmfSlotsReal32(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
323 if (qd->QmfDomainIn[ch].hQmfSlotsImag == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
325 (qd->QmfDomainIn[ch].hQmfSlotsImag = GetQmfSlotsImag32(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
329 if (qd->QmfDomainIn[ch].hQmfSlotsReal == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
330 if (NULL == (qd->QmfDomainIn[ch].hQmfSlotsReal = GetQmfSlotsReal(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
333 if (qd->QmfDomainIn[ch].hQmfSlotsImag == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
334 if (NULL == (qd->QmfDomainIn[ch].hQmfSlotsImag = GetQmfSlotsImag(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
339 qd->QmfDomainIn[ch].hQmfSlotsReal = NULL; in FDK_QmfDomain_AllocatePersistentMemory()
340 qd->QmfDomainIn[ch].hQmfSlotsImag = NULL; in FDK_QmfDomain_AllocatePersistentMemory()
346 if (qd->QmfDomainIn[ch].pOverlapBuffer == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
348 (qd->QmfDomainIn[ch].pOverlapBuffer = GetQmfOverlapBuffer16(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
352 if (qd->QmfDomainIn[ch].pOverlapBuffer == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
354 (qd->QmfDomainIn[ch].pOverlapBuffer = GetQmfOverlapBuffer32(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
358 if (qd->QmfDomainIn[ch].pOverlapBuffer == NULL) { in FDK_QmfDomain_AllocatePersistentMemory()
360 (qd->QmfDomainIn[ch].pOverlapBuffer = GetQmfOverlapBuffer(ch))) in FDK_QmfDomain_AllocatePersistentMemory()
365 qd->QmfDomainIn[ch].pOverlapBuffer = NULL; in FDK_QmfDomain_AllocatePersistentMemory()
397 if (hqd->QmfDomainIn[ch].pOverlapBuffer) { in FDK_QmfDomain_ClearPersistentMemory()
398 FDKmemclear(hqd->QmfDomainIn[ch].pOverlapBuffer, in FDK_QmfDomain_ClearPersistentMemory()
471 mem_needed = qd->QmfDomainIn[ch].workBuf_nBands * in FDK_QmfDomain_FeedWorkBuffer()
472 qd->QmfDomainIn[ch].workBuf_nTimeSlots * CMPLX_MOD; in FDK_QmfDomain_FeedWorkBuffer()
476 qd->QmfDomainIn[ch].pWorkBuffer = pWorkBuffer; in FDK_QmfDomain_FeedWorkBuffer()
477 qd->QmfDomainIn[ch].workBufferOffset = workBufferOffset; in FDK_QmfDomain_FeedWorkBuffer()
478 qd->QmfDomainIn[ch].workBufferSectSize = workBufferSectSize; in FDK_QmfDomain_FeedWorkBuffer()
485 return ((qd->QmfDomainIn[0].pAnaQmfStates == NULL) && in FDK_QmfDomain_IsInitialized()
509 qd->QmfDomainIn[ch].pOverlapBuffer; /* persistent memory for overlap */ in FDK_QmfDomain_InitFilterBank()
517 qd->QmfDomainIn[fMin(ch, fMax((INT)gc->nQmfProcChannels - 1, 0))] in FDK_QmfDomain_InitFilterBank()
520 qd->QmfDomainIn[fMin(ch, fMax((INT)gc->nQmfProcChannels - 1, 0))] in FDK_QmfDomain_InitFilterBank()
523 qd->QmfDomainIn[fMin(ch, fMax((INT)gc->nQmfProcChannels - 1, 0))] in FDK_QmfDomain_InitFilterBank()
531 qd->QmfDomainIn[ch].pGlobalConf = gc; in FDK_QmfDomain_InitFilterBank()
533 qd->QmfDomainIn[ch].hQmfSlotsReal[ts] = ptrOv; in FDK_QmfDomain_InitFilterBank()
535 qd->QmfDomainIn[ch].hQmfSlotsImag[ts] = ptrOv; in FDK_QmfDomain_InitFilterBank()
539 qd->QmfDomainIn[ch].hQmfSlotsReal[ts] = FDK_getWorkBuffer( in FDK_QmfDomain_InitFilterBank()
542 qd->QmfDomainIn[ch].hQmfSlotsImag[ts] = FDK_getWorkBuffer( in FDK_QmfDomain_InitFilterBank()
547 &qd->QmfDomainIn[ch].fb, qd->QmfDomainIn[ch].pAnaQmfStates, noCols, in FDK_QmfDomain_InitFilterBank()
548 (qd->QmfDomainIn[ch].fb.lsb == 0) ? lsb : qd->QmfDomainIn[ch].fb.lsb, in FDK_QmfDomain_InitFilterBank()
549 (qd->QmfDomainIn[ch].fb.usb == 0) ? usb : qd->QmfDomainIn[ch].fb.usb, in FDK_QmfDomain_InitFilterBank()
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()
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()
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()