Line data Source code
1 : /*==================================================================================== 2 : EVS Codec 3GPP TS26.452 Aug 12, 2021. Version 16.3.0 3 : ====================================================================================*/ 4 : 5 : #include <stdint.h> 6 : #include "options.h" 7 : #include "rom_com.h" /* Static table prototypes */ 8 : #include "prot_fx.h" 9 : #include "cnst.h" 10 : 11 : 12 : /*--------------------------------------------------------------------------* 13 : * hq_configure_bfi_fx() 14 : * 15 : * Initialization of HQ bands and subframes 16 : *--------------------------------------------------------------------------*/ 17 0 : void hq_configure_bfi_fx( 18 : Word16 *nb_sfm, /* o : Number of sub bands Q0*/ 19 : Word16 *num_Sb, /* o : Number of FEC sub bands ? Q0*/ 20 : Word16 *num_bands_p, /* o : FEC sub bands Q0*/ 21 : const Word16 **sfmsize, /* o : Subband bandwidths Q0*/ 22 : const Word16 **sfm_start, /* o : Subband start coefficients Q0*/ 23 : const Word16 **sfm_end /* o : Subband end coefficients Q0*/ 24 : ) 25 : { 26 0 : *num_Sb = MAX_SB_NB; /* Q0 */ 27 0 : move16(); 28 0 : *nb_sfm = SFM_N_NB; /* Q0 */ 29 0 : move16(); 30 0 : Copy( Num_bands_NB, num_bands_p, *num_Sb ); /* Q0 */ 31 0 : *sfmsize = band_len_wb; /* Q0 */ 32 0 : *sfm_start = band_start_wb; /* Q0 */ 33 0 : *sfm_end = band_end_wb; /* Q0 */ 34 0 : move16(); 35 0 : move16(); 36 0 : move16(); 37 0 : return; 38 : }