Commit c5d5c80a authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

update LC3plus integration script and remove unsupported frame durations from helper func

parent 09e18546
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -104,16 +104,8 @@ LC3PLUS_FrameDuration IVAS_LC3PLUS_UsToLC3plusFrameDuration(
{
    switch ( lc3PlusFrameDurationUs )
    {
#ifdef CR9_C_ADD_1p25MS /* TODO LC3plus: verify switch stripping on update */
        case 1250:
            return LC3PLUS_FRAME_DURATION_1p25MS;
#endif
        case 2500:
            return LC3PLUS_FRAME_DURATION_2p5MS;
        case 5000:
            return LC3PLUS_FRAME_DURATION_5MS;
        case 7500:
            return LC3PLUS_FRAME_DURATION_7p5MS;
        case 10000:
            return LC3PLUS_FRAME_DURATION_10MS;
        default:
+1 −0
Original line number Diff line number Diff line

DisableFormat: true
SortIncludes: Never
+0 −2
Original line number Diff line number Diff line
@@ -389,8 +389,6 @@ typedef int32_t LC3_INT32;

#endif /* CR9_C_ADD_1p25MS */

/* RESIDUAL CODING */
#define NPRM_RESQ 5 * MAX_LEN

/* MDCT */
#define MDCT_MEM_LEN_MAX (MAX_LEN - ((180 * MAX_LEN) / 480))
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@

#include "options.h"
#include "wmc_auto.h"
#define CR9_C_ADD_1p25MS /* including defines.h redefines NPRM_RESQ, so define this here manually */
#include "defines.h" /* Required for CR9_C_ADD_1p25MS */

#ifndef _MSC_VER
#include <stdint.h>