Commit b63c4b6a authored by bayers's avatar bayers
Browse files

fix for #122, reduce MC worst case decoder complexity by reducing the number...

fix for #122, reduce MC worst case decoder complexity by reducing the number of parameter bands in ParamMC, not BE, under define FIX_122_MC_DECODER_COMPLEXITY
parent 64f3259c
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -406,7 +406,11 @@ static int16_t ivas_param_mc_get_num_param_bands(
            switch ( ivas_total_brate )
            {
                case IVAS_128k:
#ifdef FIX_122_MC_DECODER_COMPLEXITY
                    num_parameter_bands = 14;
#else
                    num_parameter_bands = 20;
#endif
                    break;
                case IVAS_160k:
                    num_parameter_bands = 20;
+1 −0
Original line number Diff line number Diff line
@@ -166,6 +166,7 @@
#define FIX_570_TCX_LPC_WRITE                           /* FhG: fix issue 570: LPC bitstream writer in TCX */
#define FIX_506                                         /* FhG: Compiler warnings */
#define FIX_511_OPTIMIZE_PARAMBIN_GAIN_FETCH            /* Nokia: Issue 511, significant optimization of parametric binauralizer gain fetching. */
#define FIX_122_MC_DECODER_COMPLEXITY                   /* FhG: Issue 122, significant decrease of worst case MC decoder complexity */

/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */