Lines Matching refs:hgc
784 void FDK_QmfDomain_ClearRequested(HANDLE_FDK_QMF_DOMAIN_GC hgc) { in FDK_QmfDomain_ClearRequested() argument
785 hgc->qmfDomainExplicitConfig = 0; in FDK_QmfDomain_ClearRequested()
786 hgc->flags_requested = 0; in FDK_QmfDomain_ClearRequested()
787 hgc->nInputChannels_requested = 0; in FDK_QmfDomain_ClearRequested()
788 hgc->nOutputChannels_requested = 0; in FDK_QmfDomain_ClearRequested()
789 hgc->parkChannel_requested = 0; in FDK_QmfDomain_ClearRequested()
790 hgc->nBandsAnalysis_requested = 0; in FDK_QmfDomain_ClearRequested()
791 hgc->nBandsSynthesis_requested = 0; in FDK_QmfDomain_ClearRequested()
792 hgc->nQmfTimeSlots_requested = 0; in FDK_QmfDomain_ClearRequested()
793 hgc->nQmfOvTimeSlots_requested = 0; in FDK_QmfDomain_ClearRequested()
794 hgc->nQmfProcBands_requested = 0; in FDK_QmfDomain_ClearRequested()
795 hgc->nQmfProcChannels_requested = 0; in FDK_QmfDomain_ClearRequested()
798 static void FDK_QmfDomain_ClearConfigured(HANDLE_FDK_QMF_DOMAIN_GC hgc) { in FDK_QmfDomain_ClearConfigured() argument
799 hgc->flags = 0; in FDK_QmfDomain_ClearConfigured()
800 hgc->nInputChannels = 0; in FDK_QmfDomain_ClearConfigured()
801 hgc->nOutputChannels = 0; in FDK_QmfDomain_ClearConfigured()
802 hgc->parkChannel = 0; in FDK_QmfDomain_ClearConfigured()
803 hgc->nBandsAnalysis = 0; in FDK_QmfDomain_ClearConfigured()
804 hgc->nBandsSynthesis = 0; in FDK_QmfDomain_ClearConfigured()
805 hgc->nQmfTimeSlots = 0; in FDK_QmfDomain_ClearConfigured()
806 hgc->nQmfOvTimeSlots = 0; in FDK_QmfDomain_ClearConfigured()
807 hgc->nQmfProcBands = 0; in FDK_QmfDomain_ClearConfigured()
808 hgc->nQmfProcChannels = 0; in FDK_QmfDomain_ClearConfigured()
828 HANDLE_FDK_QMF_DOMAIN_GC hgc = &hqd->globalConf; in FDK_QmfDomain_Configure() local
829 FIXP_DBL **pWorkBuffer = hgc->pWorkBuffer; in FDK_QmfDomain_Configure()
833 if ((hgc->nQmfProcChannels_requested > 0) && in FDK_QmfDomain_Configure()
834 (hgc->nQmfProcBands_requested != 64)) { in FDK_QmfDomain_Configure()
837 if (hgc->nBandsAnalysis_requested > hgc->nQmfProcBands_requested) { in FDK_QmfDomain_Configure()
848 if ((hgc->nQmfProcChannels != hgc->nQmfProcChannels_requested) || in FDK_QmfDomain_Configure()
849 (hgc->nQmfProcBands != hgc->nQmfProcBands_requested) || in FDK_QmfDomain_Configure()
850 (hgc->nQmfTimeSlots != hgc->nQmfTimeSlots_requested)) { in FDK_QmfDomain_Configure()
851 for (i = 0; i < hgc->nQmfProcChannels_requested; i++) { in FDK_QmfDomain_Configure()
852 hqd->QmfDomainIn[i].workBuf_nBands = hgc->nQmfProcBands_requested; in FDK_QmfDomain_Configure()
853 hgc->nQmfProcBands = hgc->nQmfProcBands_requested; in FDK_QmfDomain_Configure()
855 hqd->QmfDomainIn[i].workBuf_nTimeSlots = hgc->nQmfTimeSlots_requested; in FDK_QmfDomain_Configure()
858 hgc->nQmfProcChannels = in FDK_QmfDomain_Configure()
859 hgc->nQmfProcChannels_requested; /* keep highest value encountered so in FDK_QmfDomain_Configure()
867 if ((hgc->nInputChannels != hgc->nInputChannels_requested) || in FDK_QmfDomain_Configure()
868 (hgc->nBandsAnalysis != hgc->nBandsAnalysis_requested) || in FDK_QmfDomain_Configure()
869 (hgc->nQmfTimeSlots != hgc->nQmfTimeSlots_requested) || in FDK_QmfDomain_Configure()
870 (hgc->nQmfOvTimeSlots != hgc->nQmfOvTimeSlots_requested) || in FDK_QmfDomain_Configure()
871 (hgc->nOutputChannels != hgc->nOutputChannels_requested) || in FDK_QmfDomain_Configure()
872 (hgc->nBandsSynthesis != hgc->nBandsSynthesis_requested) || in FDK_QmfDomain_Configure()
873 (hgc->parkChannel != hgc->parkChannel_requested)) { in FDK_QmfDomain_Configure()
874 hgc->nInputChannels = hgc->nInputChannels_requested; in FDK_QmfDomain_Configure()
875 hgc->nBandsAnalysis = hgc->nBandsAnalysis_requested; in FDK_QmfDomain_Configure()
876 hgc->nQmfTimeSlots = hgc->nQmfTimeSlots_requested; in FDK_QmfDomain_Configure()
877 hgc->nQmfOvTimeSlots = hgc->nQmfOvTimeSlots_requested; in FDK_QmfDomain_Configure()
878 hgc->nOutputChannels = hgc->nOutputChannels_requested; in FDK_QmfDomain_Configure()
879 hgc->nBandsSynthesis = hgc->nBandsSynthesis_requested; in FDK_QmfDomain_Configure()
880 hgc->parkChannel = hgc->parkChannel_requested; in FDK_QmfDomain_Configure()
888 if ((hgc->nBandsAnalysis == 32) && (hgc->nBandsSynthesis == 32) && in FDK_QmfDomain_Configure()
889 !(hgc->flags & (QMF_FLAG_CLDFB | QMF_FLAG_MPSLDFB))) { in FDK_QmfDomain_Configure()
890 hgc->flags_requested |= QMF_FLAG_DOWNSAMPLED; in FDK_QmfDomain_Configure()
899 if (hgc->flags != hgc->flags_requested) { in FDK_QmfDomain_Configure()
900 if ((hgc->flags_requested & QMF_FLAG_MPSLDFB) && in FDK_QmfDomain_Configure()
901 (hgc->flags_requested & QMF_FLAG_CLDFB)) { in FDK_QmfDomain_Configure()
902 hgc->flags_requested &= ~QMF_FLAG_CLDFB; in FDK_QmfDomain_Configure()
904 hgc->flags = hgc->flags_requested; in FDK_QmfDomain_Configure()
911 if (hgc->parkChannel && (hqd->globalConf.nQmfProcChannels == 1)) { in FDK_QmfDomain_Configure()
923 size = size_main * hgc->nQmfProcChannels + size_temp; in FDK_QmfDomain_Configure()
957 for (i = 0; i < hgc->nQmfProcChannels; i++) { in FDK_QmfDomain_Configure()
961 if (hgc->parkChannel) { in FDK_QmfDomain_Configure()
962 for (; i < hgc->nInputChannels; i++) { in FDK_QmfDomain_Configure()
964 size_main * hgc->nQmfProcChannels, in FDK_QmfDomain_Configure()
970 for (i = 0; i < hgc->nOutputChannels; i++) { in FDK_QmfDomain_Configure()
975 hqd->QmfDomainOut[i].fb.lsb = hgc->nBandsAnalysis_requested; in FDK_QmfDomain_Configure()
977 fMin((INT)hgc->nBandsSynthesis_requested, 64); in FDK_QmfDomain_Configure()