Commit 8e8b913a authored by multrus's avatar multrus
Browse files

Merge branch 'basop_issue_2594' into 'main'

Basop issue 2594: "Inconsistent Q values for a variable in function stereo_tca_scale_R_channel()"

See merge request !3042
parents 14f78288 a29a1b13
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -103,6 +103,7 @@
#define HARMONIZE_2604_decoder_tcx_post                 /* FhG: Harmonize decoder_tcx_post with its ivas derivate */
#define HARMONIZE_2598_tcx_arith_decode_envelope        /* FhG: harmonize tcx_arith_decode_envelope between EVS and IVAS versions */
#define HARMONIZE_2598_tcx_arith_encode_envelope        /* FhG: harmonize tcx_arith_encode_envelope between EVS and IVAS versions */
#define FIX_ISSUE_2594_FALSE_COMMENT                    /* FhG: basop issue 2594: fixing false comments about Q value*/

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

+9 −0
Original line number Diff line number Diff line
@@ -436,11 +436,20 @@ void stereo_tca_scale_R_channel_fx(
            move32();
            BREAK;
        case 32000:
#ifndef FIX_ISSUE_2594_FALSE_COMMENT
            winSlope_fx = 13421773; // 0.00625 in Q30
#else
            winSlope_fx = 13421773; // 0.00625 in Q31
#endif // !FIX_ISSUE_2594_FALSE_COMMENT
            move32();
            BREAK;
        case 48000:
#ifndef FIX_ISSUE_2594_FALSE_COMMENT
            winSlope_fx = 8947849; // 0.00416 in Q30
#else
            winSlope_fx = 8947849; // 0.00416 in Q31
#endif // !FIX_ISSUE_2594_FALSE_COMMENT

            move32();
            BREAK;
    }