Commit a4cece7b authored by vaclav's avatar vaclav
Browse files

formal improvements

parent a74db631
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -564,7 +564,7 @@ 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 */
#define MAX_LP_FILTER_ORDER                 20                                              /* Max order of an LP filter */
#endif

#define L_FRAME                             256                                                                                                              /* frame size at 12.8kHz                      */
+4 −0
Original line number Diff line number Diff line
@@ -1444,7 +1444,11 @@ typedef enum
/* LFE PLC */
#define LFE_PLC_BUFLEN                          240
#define LFE_PLC_FS                              1600
#ifdef NONE_BE_FIX_816_LFE_PLC_FLOAT
#define L_FRAME_1k6                             ( LFE_PLC_FS / FRAMES_PER_SEC )
#else
#define L_FRAME_1k6                             ( 20 * LFE_PLC_FS / 1000 )
#endif
#define LFE_PLC_LENANA                          LFE_PLC_BUFLEN
#define LFE_PLC_FDEL                            300

+1 −0
Original line number Diff line number Diff line
@@ -3168,6 +3168,7 @@ const double d_hamm_lfe_plc[LFE_PLC_LENANA / 2] =
    0.99108734991333569, 0.99330020638455863, 0.99519978850517732, 0.99678478347994692, 0.99805409592381300, 0.99900684861892730, 0.99964238312089115, 0.99996026021380402
};
#endif
/*------------------------------------------------------------------------------------------*
 * MDFT/iMDFT ROM tables
 *------------------------------------------------------------------------------------------*/
+4 −0
Original line number Diff line number Diff line
@@ -361,7 +361,11 @@ extern const int16_t ivas_lfe_min_shift_tbl[IVAS_LFE_NUM_COEFFS_IN_SUBGRP];
extern const ivas_lfe_freq_models ivas_str_lfe_freq_models;
extern const float ivas_lfe_lpf_delay[2];

#ifdef NONE_BE_FIX_816_LFE_PLC_FLOAT
extern const float hamm_lfe_plc[LFE_PLC_LENANA / 2];
#else
extern const double d_hamm_lfe_plc[LFE_PLC_LENANA / 2];
#endif

extern const float ivas_sin_twiddle_480[IVAS_480_PT_LEN >> 1];
extern const float ivas_cos_twiddle_480[IVAS_480_PT_LEN >> 1];
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ void autocorr(
 * of input signal
 *---------------------------------------------------------------------*/

/*! r: energy of prediction error */
/*! r: stability flag */
int16_t lev_dur(
    float *a,        /* o  : LP coefficients (a[0] = 1.0) */
    const float *r,  /* i  : vector of autocorrelations   */
Loading