Lines Matching refs:qd_ch
573 void FDK_QmfDomain_SaveOverlap(HANDLE_FDK_QMF_DOMAIN_IN qd_ch, int offset) { in FDK_QmfDomain_SaveOverlap() argument
574 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_SaveOverlap()
576 HANDLE_FDK_QMF_DOMAIN_GC gc = qd_ch->pGlobalConf; in FDK_QmfDomain_SaveOverlap()
580 FIXP_DBL **qmfReal = qd_ch->hQmfSlotsReal; in FDK_QmfDomain_SaveOverlap()
581 FIXP_DBL **qmfImag = qd_ch->hQmfSlotsImag; in FDK_QmfDomain_SaveOverlap()
582 QMF_SCALE_FACTOR *pScaling = &qd_ch->scaling; in FDK_QmfDomain_SaveOverlap()
605 void FDK_QmfDomain_GetSlot(const HANDLE_FDK_QMF_DOMAIN_IN qd_ch, const int ts, in FDK_QmfDomain_GetSlot() argument
609 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_GetSlot()
611 HANDLE_FDK_QMF_DOMAIN_GC gc = qd_ch->pGlobalConf; in FDK_QmfDomain_GetSlot()
612 const FIXP_DBL *real = qd_ch->hQmfSlotsReal[ts]; in FDK_QmfDomain_GetSlot()
613 const FIXP_DBL *imag = qd_ch->hQmfSlotsImag[ts]; in FDK_QmfDomain_GetSlot()
615 const int exp_lb = SCALE2EXP((ts < ovSlots) ? qd_ch->scaling.ov_lb_scale in FDK_QmfDomain_GetSlot()
616 : qd_ch->scaling.lb_scale); in FDK_QmfDomain_GetSlot()
617 const int exp_hb = SCALE2EXP(qd_ch->scaling.hb_scale); in FDK_QmfDomain_GetSlot()
618 const int lsb = qd_ch->fb.lsb; in FDK_QmfDomain_GetSlot()
619 const int usb = qd_ch->fb.usb; in FDK_QmfDomain_GetSlot()
624 ALGORITHMIC_SCALING_IN_ANALYSIS_FILTERBANK + qd_ch->fb.filterScale; in FDK_QmfDomain_GetSlot()
630 if (qd_ch->fb.no_channels == 24) { in FDK_QmfDomain_GetSlot()
670 void FDK_QmfDomain_GetWorkBuffer(const HANDLE_FDK_QMF_DOMAIN_IN qd_ch, in FDK_QmfDomain_GetWorkBuffer() argument
673 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_GetWorkBuffer()
676 const int bands = qd_ch->workBuf_nBands; in FDK_QmfDomain_GetWorkBuffer()
677 FIXP_DBL **pWorkBuf = qd_ch->pWorkBuffer; in FDK_QmfDomain_GetWorkBuffer()
678 USHORT workBufferOffset = qd_ch->workBufferOffset; in FDK_QmfDomain_GetWorkBuffer()
679 USHORT workBufferSectSize = qd_ch->workBufferSectSize; in FDK_QmfDomain_GetWorkBuffer()
682 FDK_ASSERT(ts < qd_ch->workBuf_nTimeSlots); in FDK_QmfDomain_GetWorkBuffer()
693 const HANDLE_FDK_QMF_DOMAIN_IN qd_ch) { in FDK_QmfDomain_WorkBuffer2ProcChannel() argument
694 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_WorkBuffer2ProcChannel()
695 HANDLE_FDK_QMF_DOMAIN_GC gc = qd_ch->pGlobalConf; in FDK_QmfDomain_WorkBuffer2ProcChannel()
696 FIXP_DBL **pWorkBuf = qd_ch->pWorkBuffer; in FDK_QmfDomain_WorkBuffer2ProcChannel()
697 USHORT workBufferOffset = qd_ch->workBufferOffset; in FDK_QmfDomain_WorkBuffer2ProcChannel()
698 USHORT workBufferSectSize = qd_ch->workBufferSectSize; in FDK_QmfDomain_WorkBuffer2ProcChannel()
701 qd_ch->workBuf_nBands) == in FDK_QmfDomain_WorkBuffer2ProcChannel()
702 qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots]) { in FDK_QmfDomain_WorkBuffer2ProcChannel()
707 const int bands = qd_ch->workBuf_nBands; in FDK_QmfDomain_WorkBuffer2ProcChannel()
708 const int slots = qd_ch->workBuf_nTimeSlots; in FDK_QmfDomain_WorkBuffer2ProcChannel()
711 FDKmemcpy(qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots + ts], in FDK_QmfDomain_WorkBuffer2ProcChannel()
716 FDKmemcpy(qd_ch->hQmfSlotsImag[gc->nQmfOvTimeSlots + ts], in FDK_QmfDomain_WorkBuffer2ProcChannel()
725 void FDK_QmfDomain_QmfData2HBE(HANDLE_FDK_QMF_DOMAIN_IN qd_ch, in FDK_QmfDomain_QmfData2HBE() argument
727 FDK_ASSERT(qd_ch != NULL); in FDK_QmfDomain_QmfData2HBE()
730 HANDLE_FDK_QMF_DOMAIN_GC gc = qd_ch->pGlobalConf; in FDK_QmfDomain_QmfData2HBE()
731 FIXP_DBL **pWorkBuf = qd_ch->pWorkBuffer; in FDK_QmfDomain_QmfData2HBE()
732 USHORT workBufferOffset = qd_ch->workBufferOffset; in FDK_QmfDomain_QmfData2HBE()
733 USHORT workBufferSectSize = qd_ch->workBufferSectSize; in FDK_QmfDomain_QmfData2HBE()
736 qd_ch->workBuf_nBands) == in FDK_QmfDomain_QmfData2HBE()
737 qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots]) { // left channel (anaMatrix) in FDK_QmfDomain_QmfData2HBE()
740 const int slots = qd_ch->workBuf_nTimeSlots; in FDK_QmfDomain_QmfData2HBE()
746 FDKmemcpy(tmp, qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots + ts], in FDK_QmfDomain_QmfData2HBE()
748 FDKmemcpy(qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots + ts], ppQmfReal[ts], in FDK_QmfDomain_QmfData2HBE()
752 FDKmemcpy(tmp, qd_ch->hQmfSlotsImag[gc->nQmfOvTimeSlots + ts], in FDK_QmfDomain_QmfData2HBE()
754 FDKmemcpy(qd_ch->hQmfSlotsImag[gc->nQmfOvTimeSlots + ts], ppQmfImag[ts], in FDK_QmfDomain_QmfData2HBE()
759 const int bands = qd_ch->workBuf_nBands; in FDK_QmfDomain_QmfData2HBE()
760 const int slots = qd_ch->workBuf_nTimeSlots; in FDK_QmfDomain_QmfData2HBE()
762 FDK_ASSERT(qd_ch->workBuf_nBands == gc->nBandsAnalysis); in FDK_QmfDomain_QmfData2HBE()
765 FDKmemcpy(qd_ch->hQmfSlotsReal[gc->nQmfOvTimeSlots + ts], ppQmfReal[ts], in FDK_QmfDomain_QmfData2HBE()
767 FDKmemcpy(qd_ch->hQmfSlotsImag[gc->nQmfOvTimeSlots + ts], ppQmfImag[ts], in FDK_QmfDomain_QmfData2HBE()