Lines Matching refs:qd_ch
568 void FDK_QmfDomain_SaveOverlap(HANDLE_FDK_QMF_DOMAIN_IN qd_ch, int offset) { in FDK_QmfDomain_SaveOverlap() argument
569 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_SaveOverlap()
571 HANDLE_FDK_QMF_DOMAIN_GC gc = qd_ch->pGlobalConf; in FDK_QmfDomain_SaveOverlap()
575 FIXP_DBL **qmfReal = qd_ch->hQmfSlotsReal; in FDK_QmfDomain_SaveOverlap()
576 FIXP_DBL **qmfImag = qd_ch->hQmfSlotsImag; in FDK_QmfDomain_SaveOverlap()
577 QMF_SCALE_FACTOR *pScaling = &qd_ch->scaling; in FDK_QmfDomain_SaveOverlap()
600 void FDK_QmfDomain_GetSlot(const HANDLE_FDK_QMF_DOMAIN_IN qd_ch, const int ts, in FDK_QmfDomain_GetSlot() argument
604 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_GetSlot()
606 HANDLE_FDK_QMF_DOMAIN_GC gc = qd_ch->pGlobalConf; in FDK_QmfDomain_GetSlot()
607 const FIXP_DBL *real = qd_ch->hQmfSlotsReal[ts]; in FDK_QmfDomain_GetSlot()
608 const FIXP_DBL *imag = qd_ch->hQmfSlotsImag[ts]; in FDK_QmfDomain_GetSlot()
610 const int exp_lb = SCALE2EXP((ts < ovSlots) ? qd_ch->scaling.ov_lb_scale in FDK_QmfDomain_GetSlot()
611 : qd_ch->scaling.lb_scale); in FDK_QmfDomain_GetSlot()
612 const int exp_hb = SCALE2EXP(qd_ch->scaling.hb_scale); in FDK_QmfDomain_GetSlot()
613 const int lsb = qd_ch->fb.lsb; in FDK_QmfDomain_GetSlot()
614 const int usb = qd_ch->fb.usb; in FDK_QmfDomain_GetSlot()
619 ALGORITHMIC_SCALING_IN_ANALYSIS_FILTERBANK + qd_ch->fb.filterScale; in FDK_QmfDomain_GetSlot()
625 if (qd_ch->fb.no_channels == 24) { in FDK_QmfDomain_GetSlot()
665 void FDK_QmfDomain_GetWorkBuffer(const HANDLE_FDK_QMF_DOMAIN_IN qd_ch, in FDK_QmfDomain_GetWorkBuffer() argument
668 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_GetWorkBuffer()
671 const int bands = qd_ch->workBuf_nBands; in FDK_QmfDomain_GetWorkBuffer()
672 FIXP_DBL **pWorkBuf = qd_ch->pWorkBuffer; in FDK_QmfDomain_GetWorkBuffer()
673 USHORT workBufferOffset = qd_ch->workBufferOffset; in FDK_QmfDomain_GetWorkBuffer()
674 USHORT workBufferSectSize = qd_ch->workBufferSectSize; in FDK_QmfDomain_GetWorkBuffer()
677 FDK_ASSERT(ts < qd_ch->workBuf_nTimeSlots); in FDK_QmfDomain_GetWorkBuffer()
688 const HANDLE_FDK_QMF_DOMAIN_IN qd_ch) { in FDK_QmfDomain_WorkBuffer2ProcChannel() argument
689 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_WorkBuffer2ProcChannel()
690 HANDLE_FDK_QMF_DOMAIN_GC gc = qd_ch->pGlobalConf; in FDK_QmfDomain_WorkBuffer2ProcChannel()
691 FIXP_DBL **pWorkBuf = qd_ch->pWorkBuffer; in FDK_QmfDomain_WorkBuffer2ProcChannel()
692 USHORT workBufferOffset = qd_ch->workBufferOffset; in FDK_QmfDomain_WorkBuffer2ProcChannel()
693 USHORT workBufferSectSize = qd_ch->workBufferSectSize; in FDK_QmfDomain_WorkBuffer2ProcChannel()
696 qd_ch->workBuf_nBands) == in FDK_QmfDomain_WorkBuffer2ProcChannel()
697 qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots]) { in FDK_QmfDomain_WorkBuffer2ProcChannel()
702 const int bands = qd_ch->workBuf_nBands; in FDK_QmfDomain_WorkBuffer2ProcChannel()
703 const int slots = qd_ch->workBuf_nTimeSlots; in FDK_QmfDomain_WorkBuffer2ProcChannel()
706 FDKmemcpy(qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots + ts], in FDK_QmfDomain_WorkBuffer2ProcChannel()
711 FDKmemcpy(qd_ch->hQmfSlotsImag[gc->nQmfOvTimeSlots + ts], in FDK_QmfDomain_WorkBuffer2ProcChannel()
720 void FDK_QmfDomain_QmfData2HBE(HANDLE_FDK_QMF_DOMAIN_IN qd_ch, in FDK_QmfDomain_QmfData2HBE() argument
722 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_QmfData2HBE()
725 HANDLE_FDK_QMF_DOMAIN_GC gc = qd_ch->pGlobalConf; in FDK_QmfDomain_QmfData2HBE()
726 FIXP_DBL **pWorkBuf = qd_ch->pWorkBuffer; in FDK_QmfDomain_QmfData2HBE()
727 USHORT workBufferOffset = qd_ch->workBufferOffset; in FDK_QmfDomain_QmfData2HBE()
728 USHORT workBufferSectSize = qd_ch->workBufferSectSize; in FDK_QmfDomain_QmfData2HBE()
731 qd_ch->workBuf_nBands) == in FDK_QmfDomain_QmfData2HBE()
732 qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots]) { // left channel (anaMatrix) in FDK_QmfDomain_QmfData2HBE()
735 const int slots = qd_ch->workBuf_nTimeSlots; in FDK_QmfDomain_QmfData2HBE()
741 FDKmemcpy(tmp, qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots + ts], in FDK_QmfDomain_QmfData2HBE()
743 FDKmemcpy(qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots + ts], ppQmfReal[ts], in FDK_QmfDomain_QmfData2HBE()
747 FDKmemcpy(tmp, qd_ch->hQmfSlotsImag[gc->nQmfOvTimeSlots + ts], in FDK_QmfDomain_QmfData2HBE()
749 FDKmemcpy(qd_ch->hQmfSlotsImag[gc->nQmfOvTimeSlots + ts], ppQmfImag[ts], in FDK_QmfDomain_QmfData2HBE()
754 const int bands = qd_ch->workBuf_nBands; in FDK_QmfDomain_QmfData2HBE()
755 const int slots = qd_ch->workBuf_nTimeSlots; in FDK_QmfDomain_QmfData2HBE()
757 FDK_ASSERT(qd_ch->workBuf_nBands == gc->nBandsAnalysis); in FDK_QmfDomain_QmfData2HBE()
760 FDKmemcpy(qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots + ts], ppQmfReal[ts], in FDK_QmfDomain_QmfData2HBE()
762 FDKmemcpy(qd_ch->hQmfSlotsImag[gc->nQmfOvTimeSlots + ts], ppQmfImag[ts], in FDK_QmfDomain_QmfData2HBE()