Line data Source code
1 : /****************************************************************************** 2 : * ETSI TS 103 634 V1.5.1 * 3 : * Low Complexity Communication Codec Plus (LC3plus) * 4 : * * 5 : * Copyright licence is solely granted through ETSI Intellectual Property * 6 : * Rights Policy, 3rd April 2019. No patent licence is granted by implication, * 7 : * estoppel or otherwise. * 8 : ******************************************************************************/ 9 : 10 : #include "options.h" 11 : #include "wmc_auto.h" 12 : #include "functions.h" 13 : 14 2367553 : void processMdctShaping_fl(LC3_FLOAT x[], LC3_FLOAT scf[], const LC3_INT bands_offset[], LC3_INT fdns_npts) 15 : { 16 : LC3_INT i, j; 17 : LC3_FLOAT val; 18 : 19 2367553 : j = 0; 20 133481608 : for (i = 0; i < fdns_npts; i++) { 21 131114055 : val = scf[i]; 22 : 23 624596495 : for (; j < bands_offset[i + 1]; j++) { 24 493482440 : x[j] = x[j] * val; 25 : } 26 : } 27 2367553 : }