LCOV - code coverage report
Current view: top level - lib_lc3plus - reorder_bitstream.c (source / functions) Hit Total Coverage
Test: Coverage on main -- short test vectors @ 6c9ddc4024a9c0e1ecb8f643f114a84a0e26ec6b Lines: 0 10 0.0 %
Date: 2025-05-23 08:37:30 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 "options.h"
      11             : #include "wmc_auto.h"
      12             : #include "functions.h"
      13             : 
      14           0 : void processReorderBitstream_fl(LC3_UINT8* bytes, LC3_INT32 n_pccw, LC3_INT32 n_pc, LC3_INT32 b_left, LC3_INT32 len)
      15             : {
      16             :     LC3_UINT8 bytes_local[MAX_NBYTES2];
      17             :     LC3_INT32 i, block_bytes;
      18             :     
      19           0 :     assert(b_left > 0);
      20             :     
      21           0 :     memcpy(bytes_local, bytes, len * sizeof(LC3_UINT8));
      22             :     
      23           0 :     if (n_pccw == 0)
      24             :     {
      25           0 :         return;
      26             :     }
      27             :     
      28           0 :     block_bytes = ceil((LC3_FLOAT) n_pc / 2.0);
      29             :     
      30           0 :     for (i = 0; i < block_bytes; i++)
      31             :     {
      32           0 :         bytes[i] = bytes_local[b_left + i];
      33             :     }
      34             :     
      35           0 :     for (i = 0; i < b_left; i++)
      36             :     {
      37           0 :         bytes[block_bytes + i] = bytes_local[i];
      38             :     }
      39             : }
      40             : 

Generated by: LCOV version 1.14