Commit f467bbdd authored by Rivukanta Bhattacharya's avatar Rivukanta Bhattacharya
Browse files

Review comment changes - Part 2

parent 37b015f5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -536,7 +536,7 @@ void ivas_td_decorr_process(
/*-----------------------------------------------------------------------------------------*
 * Function ivas_get_td_decorr_flag()
 *
 * TD decorr bitrate and outfit_config check call
 * TD decorr bitrate and output_config check call
 *-----------------------------------------------------------------------------------------*/

void ivas_get_td_decorr_flag(
+1 −1
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@
#define FIX_487_LOWRATE_SBA_TUNING_FIX                  /* Dlb: TUning fix for low bitrate cases to match theoretical longest SPAR MD bitstream */
#define FIX_490_MASA_2TC_LBR_DTX                        /* Nokia: Fixes issue 490 by correcting condition. */

#define FIX_163_SBA_TD_DECORR_OPT                       /* Dlb : Issue 163 : Malloc of td_deccor structure at 512 kbps and output configuration FOA*/
#define FIX_163_SBA_TD_DECORR_OPT                       /* Dlb : Issue 163 : TD decorr state optimization in SBA for certain output formats */

#define FIX_HBR_MASAMETA                                /* Nokia: Fixes to HBR MASA metadata at 384 and 512 kbps. Addresses issues 438 and 477 as well. */
#define FIX_482_DUMMYDEC_INIT                           /* Nokia: fix issue #428: missing inits for dummyDec in IVAS_rend */
+2 −5
Original line number Diff line number Diff line
@@ -1736,9 +1736,9 @@ void ivas_binaural_reverb_processSubframe(
            /* Add from temporally decaying sparse tap locations the audio to the output. */
            for ( tapIdx = 0; tapIdx < hReverb->taps[bin][ch]; tapIdx++ )
            {
#ifdef JBM_TSM_ON_TCS
                switch ( phaseShiftTypePr[tapIdx] )
                {
#ifdef JBM_TSM_ON_TCS
                    case 0: /* 0 degrees phase */
                        v_add( hReverb->outputBufferReal[bin][ch], tapRealPr[tapIdx], hReverb->outputBufferReal[bin][ch], numSlots );
                        v_add( hReverb->outputBufferImag[bin][ch], tapImagPr[tapIdx], hReverb->outputBufferImag[bin][ch], numSlots );
@@ -1755,10 +1755,7 @@ void ivas_binaural_reverb_processSubframe(
                        v_add( hReverb->outputBufferReal[bin][ch], tapImagPr[tapIdx], hReverb->outputBufferReal[bin][ch], numSlots );
                        v_sub( hReverb->outputBufferImag[bin][ch], tapRealPr[tapIdx], hReverb->outputBufferImag[bin][ch], numSlots );
                        break;
                }
#else
                switch ( phaseShiftTypePr[tapIdx] )
                {
                    case 0: /* 0 degrees phase */
                        v_add( hReverb->outputBufferReal[bin][ch], tapRealPr[tapIdx], hReverb->outputBufferReal[bin][ch], hReverb->blockSize );
                        v_add( hReverb->outputBufferImag[bin][ch], tapImagPr[tapIdx], hReverb->outputBufferImag[bin][ch], hReverb->blockSize );
@@ -1775,10 +1772,10 @@ void ivas_binaural_reverb_processSubframe(
                        v_add( hReverb->outputBufferReal[bin][ch], tapImagPr[tapIdx], hReverb->outputBufferReal[bin][ch], hReverb->blockSize );
                        v_sub( hReverb->outputBufferImag[bin][ch], tapRealPr[tapIdx], hReverb->outputBufferImag[bin][ch], hReverb->blockSize );
                        break;
                }
#endif
                }
            }
        }

        /* Generate diffuse field binaural coherence by mixing the incoherent reverberated channels with pre-defined gains */
        if ( bin <= hReverb->highestBinauralCoherenceBin )