LCOV - code coverage report
Current view: top level - lib_lc3plus - cutoff_bandwidth.c (source / functions) Hit Total Coverage
Test: Coverage on main -- dec/rend @ 633e3f2e309758d10805ef21e0436356fe719b7a Lines: 0 8 0.0 %
Date: 2025-08-23 01:22:27 Functions: 0 1 0.0 %

          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 "functions.h"
      11             : 
      12           0 : void process_cutoff_bandwidth(Word32 d_fx[], Word16 len, Word16 bw_bin)
      13             : {
      14           0 :     Word32 i = 0;
      15           0 :     if (len > bw_bin){
      16             :         /* roll off */
      17           0 :         for (i = -1; i < 3; i++) {
      18           0 :             d_fx[bw_bin + i] = L_shr(d_fx[bw_bin + i], add(i, 2));
      19             :         }
      20             : 
      21           0 :         for (i = bw_bin + 3; i < len; i++) {
      22           0 :             d_fx[i] = 0; move32();
      23             :         } 
      24             :     }
      25           0 : }
      26             : 

Generated by: LCOV version 1.14