Unverified Commit 7abf6384 authored by norvell's avatar norvell
Browse files

Small synch with BASOP to remove unnecessary abs and related comment

parent a53d7b54
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -165,6 +165,7 @@
#define FIX_2344_ALIGN_PREPROC                          /* VA: basop issue 2344: Align pre_proc_ivas() between FLP and BASOP */
#define FIX_FLOAT_1501_UNIT_VALUE_IN_OMASA              /* Nokia: Fix float issue 1501, uninitialized value in ivas_masa_combine_directions for OMASA */
#define FIX_2331_CLANG18_MSAN_UNINIT_VARIABLE           /* FhG: Fix issue 2331: Uninitialized variable */
#define FIX_2235_TD_RENDERER_WORD16                     /* Eri: For float: small synch with BASOP, removing unnecessary abs. BASOP: Use Word16 in TD renderer without converting to Word32 */

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

+5 −0
Original line number Diff line number Diff line
@@ -461,7 +461,12 @@ static void getStandardBSplineSampVec(
        {
            d = 2 * ( BsLen[shape_idx] - 1 ) - d;
        }
#ifdef FIX_2235_TD_RENDERER_WORD16
        assert( d >= 0 && d < BsLen[shape_idx] );
        BfVec[i] = BsShape[BsStart[shape_idx] + d];
#else
        BfVec[i] = BsShape[BsStart[shape_idx] + (int16_t) abs( d )]; /*TT, verify if abs is needed */
#endif
        NzIdx[i] = nI + i;
    }