Commit 600322b4 authored by multrus's avatar multrus
Browse files

separate CLDFB changes only

parent 3ea8505d
Loading
Loading
Loading
Loading
Loading
+414 −36

File changed.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -106,4 +106,6 @@

#define FIX_1713_EXP                            /* VA: proposed correction to exp in ic-BWE*/

#define OPT_IVAS_FILTER_ROM

#endif
+773 −0

File changed.

Preview size limit exceeded, changes collapsed.

+20 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ extern const Word16 sin_twiddle_table_25_5_5[25]; // Q15
extern const Word16 cos_twiddle_table_16_8_2[16]; // Q15
extern const Word16 sin_twiddle_table_16_8_2[16]; // Q15


#ifndef OPT_IVAS_FILTER_ROM
extern const Word16 CLDFB80_10_fx[100]; // Q15
extern const Word16 CLDFB80_16_fx[160]; // Q15
extern const Word16 CLDFB80_20_fx[200]; // Q15
@@ -87,6 +87,25 @@ extern const Word16 LDQMF_30_fx[300]; // Q15
extern const Word16 LDQMF_32_fx[320]; // Q15
extern const Word16 LDQMF_40_fx[400]; // Q15
extern const Word16 LDQMF_60_fx[600]; // Q15
#else                                 /* OPT_IVAS_FILTER_ROM */

extern const Word32 CLDFB80_10_fx[100]; // Q30
extern const Word32 CLDFB80_16_fx[160]; // Q30
extern const Word32 CLDFB80_20_fx[200]; // Q30
extern const Word32 CLDFB80_30_fx[300]; // Q30
extern const Word32 CLDFB80_32_fx[320]; // Q30
extern const Word32 CLDFB80_40_fx[400]; // Q30
extern const Word32 CLDFB80_60_fx[600]; // Q30

/*5ms delay*/
extern const Word32 LDQMF_10_fx[100]; // Q30
extern const Word32 LDQMF_16_fx[160]; // Q30
extern const Word32 LDQMF_20_fx[200]; // Q30
extern const Word32 LDQMF_30_fx[300]; // Q30
extern const Word32 LDQMF_32_fx[320]; // Q30
extern const Word32 LDQMF_40_fx[400]; // Q30
extern const Word32 LDQMF_60_fx[600]; // Q30
#endif                                /* OPT_IVAS_FILTER_ROM */
/* Not used anywhere
extern const Word16 LDQMF_10_enc_fx[100];
extern const Word16 LDQMF_16_enc_fx[160];
+5 −2
Original line number Diff line number Diff line
@@ -618,8 +618,11 @@ typedef struct cldfb_filter_bank_struct
    Word16 da; /* delay analysis */
    CLDFB_PROTOTYPE prototype;
    const Word16 *p_filter; /*!< Pointer to filter coefficients */ // Q15
#ifdef OPT_IVAS_FILTER_ROM
    const Word32 *p_filter_32; /*!< Pointer to filter coefficients */ // Q15
#else                                                                 /* OPT_IVAS_FILTER_ROM */
    Word16 p_filter_sf; // Q0

#endif                                                                /* OPT_IVAS_FILTER_ROM */

    /* rotation vectors */
    const Word32 *rot_vec_syn_re_fx; // Q29