Commit cdd71fa4 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Fix basop issue 2324 by setting exponent to zero correctly.

parent bdda6081
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@
#define HARM_CORECODER_UPDT                             /* VA: basop issue 2342: Remove duplicated code in core-coder common update functions */
#define HARM_CORE_SW                                    /* VA: basop issue 2314: Remove duplicated code in the core switching */
#define HARM_PREPROC                                    /* VA: basop issue 2339: Remove duplicated code in the core-coder DTX  */
#define FIX_BASOP_2324_MISSING_SET_TO_ZERO              /* Nokia: basop issue 2324: Fix issue by setting the exponent to zero where it should be */

/* #################### End BE switches ################################## */

+8 −0
Original line number Diff line number Diff line
@@ -1021,6 +1021,14 @@ void ivas_mcmasa_param_est_enc_fx(
            move32();
            hMcMasa->direction_vector_m_fx[2][block_m_idx][band_m_idx] = 0;
            move32();
#ifdef FIX_BASOP_2324_MISSING_SET_TO_ZERO
            hMcMasa->direction_vector_e[0][block_m_idx][band_m_idx] = 0;
            move16();
            hMcMasa->direction_vector_e[1][block_m_idx][band_m_idx] = 0;
            move16();
            hMcMasa->direction_vector_e[2][block_m_idx][band_m_idx] = 0;
            move16();
#endif
        }

        /* Reset variable */