Loading lib_com/cnst.h +4 −0 Original line number Diff line number Diff line Loading @@ -563,6 +563,10 @@ enum #define INT_FS_12k8 12800 /* internal sampling frequency */ #define M 16 /* order of the LP filter @ 12.8kHz */ #ifdef NONE_BE_FIX_816_LFE_PLC_FLOAT #define MAX_LP_FILTER_ORDER (20) /* Max order of an LP filter */ #endif #define L_FRAME 256 /* frame size at 12.8kHz */ #define NB_SUBFR 4 /* number of subframes per frame */ #define L_SUBFR ( L_FRAME / NB_SUBFR ) /* subframe size */ Loading lib_com/lsf_tools.c +4 −0 Original line number Diff line number Diff line Loading @@ -969,7 +969,11 @@ uint16_t a2rc( const int16_t lpcorder /* i : LPC order */ ) { #ifndef NONE_BE_FIX_816_LFE_PLC_FLOAT float f[M]; #else float f[MAX_LP_FILTER_ORDER]; #endif int16_t m, j, n; float km, denom, x; Loading lib_dec/ivas_lfe_plc.c +4 −0 Original line number Diff line number Diff line Loading @@ -46,7 +46,11 @@ *------------------------------------------------------------------------------------------*/ #define LFE_PLC_DSF ( 48000 / LFE_PLC_FS ) #ifndef NONE_BE_FIX_816_LFE_PLC_FLOAT #define LFE_PLC_LPCORD ( 20 ) #else #define LFE_PLC_LPCORD ( MAX_LP_FILTER_ORDER ) #endif #define POW_THR ( 1.0e-8f ) #define LFE_PLC_RECLEN_48K ( ( IVAS_LFE_NUM_COEFFS_IN_SUBGRP + 1 ) * L_FRAME48k / IVAS_LFE_NUM_COEFFS_IN_SUBGRP + LFE_PLC_FDEL ) #define LFE_PLC_RECLEN ( ( LFE_PLC_RECLEN_48K / LFE_PLC_DSF ) ) Loading Loading
lib_com/cnst.h +4 −0 Original line number Diff line number Diff line Loading @@ -563,6 +563,10 @@ enum #define INT_FS_12k8 12800 /* internal sampling frequency */ #define M 16 /* order of the LP filter @ 12.8kHz */ #ifdef NONE_BE_FIX_816_LFE_PLC_FLOAT #define MAX_LP_FILTER_ORDER (20) /* Max order of an LP filter */ #endif #define L_FRAME 256 /* frame size at 12.8kHz */ #define NB_SUBFR 4 /* number of subframes per frame */ #define L_SUBFR ( L_FRAME / NB_SUBFR ) /* subframe size */ Loading
lib_com/lsf_tools.c +4 −0 Original line number Diff line number Diff line Loading @@ -969,7 +969,11 @@ uint16_t a2rc( const int16_t lpcorder /* i : LPC order */ ) { #ifndef NONE_BE_FIX_816_LFE_PLC_FLOAT float f[M]; #else float f[MAX_LP_FILTER_ORDER]; #endif int16_t m, j, n; float km, denom, x; Loading
lib_dec/ivas_lfe_plc.c +4 −0 Original line number Diff line number Diff line Loading @@ -46,7 +46,11 @@ *------------------------------------------------------------------------------------------*/ #define LFE_PLC_DSF ( 48000 / LFE_PLC_FS ) #ifndef NONE_BE_FIX_816_LFE_PLC_FLOAT #define LFE_PLC_LPCORD ( 20 ) #else #define LFE_PLC_LPCORD ( MAX_LP_FILTER_ORDER ) #endif #define POW_THR ( 1.0e-8f ) #define LFE_PLC_RECLEN_48K ( ( IVAS_LFE_NUM_COEFFS_IN_SUBGRP + 1 ) * L_FRAME48k / IVAS_LFE_NUM_COEFFS_IN_SUBGRP + LFE_PLC_FDEL ) #define LFE_PLC_RECLEN ( ( LFE_PLC_RECLEN_48K / LFE_PLC_DSF ) ) Loading