Lines Matching refs:h_Qmf
486 HANDLE_QMF_FILTER_BANK h_Qmf, /*!< Handle to return */ in qmfInitFilterBank() argument
495 FDKmemclear(h_Qmf, sizeof(QMF_FILTER_BANK)); in qmfInitFilterBank()
501 h_Qmf->t_cos = NULL; in qmfInitFilterBank()
502 h_Qmf->t_sin = NULL; in qmfInitFilterBank()
503 h_Qmf->filterScale = QMF_MPSLDFB_PFT_SCALE; in qmfInitFilterBank()
504 h_Qmf->p_stride = 1; in qmfInitFilterBank()
508 h_Qmf->p_filter = qmf_mpsldfb_640; in qmfInitFilterBank()
509 h_Qmf->FilterSize = 640; in qmfInitFilterBank()
512 h_Qmf->p_filter = qmf_mpsldfb_320; in qmfInitFilterBank()
513 h_Qmf->FilterSize = 320; in qmfInitFilterBank()
522 h_Qmf->filterScale = QMF_CLDFB_PFT_SCALE; in qmfInitFilterBank()
524 h_Qmf->p_stride = 1; in qmfInitFilterBank()
527 h_Qmf->t_cos = qmf_phaseshift_cos64_cldfb; in qmfInitFilterBank()
528 h_Qmf->t_sin = qmf_phaseshift_sin64_cldfb; in qmfInitFilterBank()
529 h_Qmf->p_filter = qmf_cldfb_640; in qmfInitFilterBank()
530 h_Qmf->FilterSize = 640; in qmfInitFilterBank()
533 h_Qmf->t_cos = (synflag) ? qmf_phaseshift_cos32_cldfb_syn in qmfInitFilterBank()
535 h_Qmf->t_sin = qmf_phaseshift_sin32_cldfb; in qmfInitFilterBank()
536 h_Qmf->p_filter = qmf_cldfb_320; in qmfInitFilterBank()
537 h_Qmf->FilterSize = 320; in qmfInitFilterBank()
540 h_Qmf->t_cos = (synflag) ? qmf_phaseshift_cos16_cldfb_syn in qmfInitFilterBank()
542 h_Qmf->t_sin = qmf_phaseshift_sin16_cldfb; in qmfInitFilterBank()
543 h_Qmf->p_filter = qmf_cldfb_160; in qmfInitFilterBank()
544 h_Qmf->FilterSize = 160; in qmfInitFilterBank()
547 h_Qmf->t_cos = (synflag) ? qmf_phaseshift_cos8_cldfb_syn in qmfInitFilterBank()
549 h_Qmf->t_sin = qmf_phaseshift_sin8_cldfb; in qmfInitFilterBank()
550 h_Qmf->p_filter = qmf_cldfb_80; in qmfInitFilterBank()
551 h_Qmf->FilterSize = 80; in qmfInitFilterBank()
561 h_Qmf->p_filter = qmf_pfilt640; in qmfInitFilterBank()
562 h_Qmf->t_cos = qmf_phaseshift_cos64; in qmfInitFilterBank()
563 h_Qmf->t_sin = qmf_phaseshift_sin64; in qmfInitFilterBank()
564 h_Qmf->p_stride = 1; in qmfInitFilterBank()
565 h_Qmf->FilterSize = 640; in qmfInitFilterBank()
566 h_Qmf->filterScale = 0; in qmfInitFilterBank()
572 h_Qmf->p_filter = qmf_pfilt400; /* Scaling factor 0.8 */ in qmfInitFilterBank()
573 h_Qmf->t_cos = qmf_phaseshift_cos40; in qmfInitFilterBank()
574 h_Qmf->t_sin = qmf_phaseshift_sin40; in qmfInitFilterBank()
575 h_Qmf->filterScale = 1; in qmfInitFilterBank()
576 h_Qmf->p_stride = 1; in qmfInitFilterBank()
577 h_Qmf->FilterSize = no_channels * 10; in qmfInitFilterBank()
581 h_Qmf->p_filter = qmf_pfilt640; in qmfInitFilterBank()
583 h_Qmf->t_cos = qmf_phaseshift_cos_downsamp32; in qmfInitFilterBank()
584 h_Qmf->t_sin = qmf_phaseshift_sin_downsamp32; in qmfInitFilterBank()
586 h_Qmf->t_cos = qmf_phaseshift_cos32; in qmfInitFilterBank()
587 h_Qmf->t_sin = qmf_phaseshift_sin32; in qmfInitFilterBank()
589 h_Qmf->p_stride = 2; in qmfInitFilterBank()
590 h_Qmf->FilterSize = 640; in qmfInitFilterBank()
591 h_Qmf->filterScale = 0; in qmfInitFilterBank()
594 h_Qmf->p_filter = qmf_pfilt200; in qmfInitFilterBank()
595 h_Qmf->p_stride = 1; in qmfInitFilterBank()
596 h_Qmf->FilterSize = 200; in qmfInitFilterBank()
597 h_Qmf->filterScale = 0; in qmfInitFilterBank()
600 h_Qmf->p_filter = qmf_pfilt120; in qmfInitFilterBank()
601 h_Qmf->p_stride = 1; in qmfInitFilterBank()
602 h_Qmf->FilterSize = 120; in qmfInitFilterBank()
603 h_Qmf->filterScale = 0; in qmfInitFilterBank()
606 h_Qmf->p_filter = qmf_pfilt640; in qmfInitFilterBank()
607 h_Qmf->p_stride = 8; in qmfInitFilterBank()
608 h_Qmf->FilterSize = 640; in qmfInitFilterBank()
609 h_Qmf->filterScale = 0; in qmfInitFilterBank()
612 h_Qmf->p_filter = qmf_pfilt640; in qmfInitFilterBank()
613 h_Qmf->t_cos = qmf_phaseshift_cos16; in qmfInitFilterBank()
614 h_Qmf->t_sin = qmf_phaseshift_sin16; in qmfInitFilterBank()
615 h_Qmf->p_stride = 4; in qmfInitFilterBank()
616 h_Qmf->FilterSize = 640; in qmfInitFilterBank()
617 h_Qmf->filterScale = 0; in qmfInitFilterBank()
620 h_Qmf->p_filter = qmf_pfilt240; in qmfInitFilterBank()
621 h_Qmf->t_cos = qmf_phaseshift_cos24; in qmfInitFilterBank()
622 h_Qmf->t_sin = qmf_phaseshift_sin24; in qmfInitFilterBank()
623 h_Qmf->p_stride = 1; in qmfInitFilterBank()
624 h_Qmf->FilterSize = 240; in qmfInitFilterBank()
625 h_Qmf->filterScale = 1; in qmfInitFilterBank()
632 h_Qmf->synScalefactor = h_Qmf->filterScale; in qmfInitFilterBank()
636 h_Qmf->synScalefactor += ALGORITHMIC_SCALING_IN_SYNTHESIS_FILTERBANK + 1; in qmfInitFilterBank()
639 h_Qmf->synScalefactor += ALGORITHMIC_SCALING_IN_SYNTHESIS_FILTERBANK - 1; in qmfInitFilterBank()
642 h_Qmf->synScalefactor += ALGORITHMIC_SCALING_IN_SYNTHESIS_FILTERBANK; in qmfInitFilterBank()
645 h_Qmf->synScalefactor += ALGORITHMIC_SCALING_IN_SYNTHESIS_FILTERBANK - 3; in qmfInitFilterBank()
648 h_Qmf->synScalefactor += ALGORITHMIC_SCALING_IN_SYNTHESIS_FILTERBANK; in qmfInitFilterBank()
651 h_Qmf->synScalefactor += ALGORITHMIC_SCALING_IN_SYNTHESIS_FILTERBANK + 1; in qmfInitFilterBank()
654 h_Qmf->synScalefactor += ALGORITHMIC_SCALING_IN_SYNTHESIS_FILTERBANK - 1; in qmfInitFilterBank()
657 h_Qmf->synScalefactor += ALGORITHMIC_SCALING_IN_SYNTHESIS_FILTERBANK - 2; in qmfInitFilterBank()
660 h_Qmf->synScalefactor += ALGORITHMIC_SCALING_IN_SYNTHESIS_FILTERBANK - 1; in qmfInitFilterBank()
666 h_Qmf->flags = flags; in qmfInitFilterBank()
668 h_Qmf->no_channels = no_channels; in qmfInitFilterBank()
669 h_Qmf->no_col = noCols; in qmfInitFilterBank()
671 h_Qmf->lsb = fMin(lsb, h_Qmf->no_channels); in qmfInitFilterBank()
672 h_Qmf->usb = synflag in qmfInitFilterBank()
673 ? fMin(usb, h_Qmf->no_channels) in qmfInitFilterBank()
676 h_Qmf->FilterStates = (void *)pFilterStates; in qmfInitFilterBank()
678 h_Qmf->outScalefactor = in qmfInitFilterBank()
679 (ALGORITHMIC_SCALING_IN_ANALYSIS_FILTERBANK + h_Qmf->filterScale) + in qmfInitFilterBank()
680 h_Qmf->synScalefactor; in qmfInitFilterBank()
682 h_Qmf->outGain_m = in qmfInitFilterBank()
684 h_Qmf->outGain_e = 0; in qmfInitFilterBank()
722 HANDLE_QMF_FILTER_BANK h_Qmf, /*!< Returns handle */ in qmfInitSynthesisFilterBank() argument
730 int oldOutScale = h_Qmf->outScalefactor; in qmfInitSynthesisFilterBank()
731 int err = qmfInitFilterBank(h_Qmf, pFilterStates, noCols, lsb, usb, in qmfInitSynthesisFilterBank()
733 if (h_Qmf->FilterStates != NULL) { in qmfInitSynthesisFilterBank()
736 h_Qmf->FilterStates, in qmfInitSynthesisFilterBank()
737 (2 * QMF_NO_POLY - 1) * h_Qmf->no_channels * sizeof(FIXP_QSS)); in qmfInitSynthesisFilterBank()
739 qmfAdaptFilterStates(h_Qmf, oldOutScale - h_Qmf->outScalefactor); in qmfInitSynthesisFilterBank()
743 FDK_ASSERT(h_Qmf->no_channels >= h_Qmf->lsb); in qmfInitSynthesisFilterBank()
744 FDK_ASSERT(h_Qmf->no_channels >= h_Qmf->usb); in qmfInitSynthesisFilterBank()