Commit 4c1adb52 authored by Nishant S Kulgod's avatar Nishant S Kulgod
Browse files

commit 1

parent 4b0124e7
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3577,12 +3577,20 @@ Word16 div_l( Word32 L_num, Word16 den )

    if ( den == (Word16) 0 )
    {
#ifdef IVAS_FLOAT_FIXED
        /* NOTE: This is just for temporary usage for identifying crashes */
        assert( 0 );
#endif // IVAS_FLOAT_FIXED
        /* printf("Division by 0 in div_l, Fatal error in "); printStack(); */
        exit( -1 );
    }

    if ( ( L_num < (Word32) 0 ) || ( den < (Word16) 0 ) )
    {
#ifdef IVAS_FLOAT_FIXED
        /* NOTE: This is just for temporary usage for identifying crashes */
        assert( 0 );
#endif // IVAS_FLOAT_FIXED
        /* printf("Division Error in div_l, Fatal error in "); printStack(); */
        exit( -1 );
    }
+1 −1
Original line number Diff line number Diff line
@@ -566,7 +566,7 @@ enum

#define FRAMES_PER_SEC                      50
#ifdef IVAS_FLOAT_FIXED
#define MAX_PARAM__SPATIAL_SUB_FRAMES_PER_SEC              200 //(FRAMES_PER_SEC * MAX_PARAM_SPATIAL_SUBFRAMES)
#define MAX_PARAM_SPATIAL_SUB_FRAMES_PER_SEC              200 //(FRAMES_PER_SEC * MAX_PARAM_SPATIAL_SUBFRAMES)
#define ONE_BY_FRAMES_PER_SEC               ((Word32)(0x028F5C29))
#define FRAMES_PER_SEC_BY_2                 (FRAMES_PER_SEC >> 1)
#endif
+1 −1
Original line number Diff line number Diff line
@@ -747,7 +747,7 @@ void stereo_tcx_dec_mode_switch_reconf_To_fixed_2(
        //    floatToFixed_arr( st->hTonalMDCTConc->secondLastPcmOut_float, st->hTonalMDCTConc->secondLastPcmOut, 0, st->hTonalMDCTConc->nSamples );
        //}

        st->Q_syn = 0;
        //st->Q_syn = 0;

        //for ( int p = 0; p < st->L_frame; p++ )
        //{
+3 −0
Original line number Diff line number Diff line
@@ -6577,12 +6577,15 @@ void ivas_ism_render_sf(
    const int16_t n_samples_to_render                           /* i  : output frame length per channel                 */
);

#ifndef IVAS_FLOAT_FIXED
void ivas_ism_get_stereo_gains(
    const float azimuth,                                        /* i  : object azimuth                                  */
    const float elevation,                                      /* i  : object elevation                                */
    float *left_gain,                                           /* o  : left channel gain                               */
    float *right_gain                                           /* o  : right channel gain                              */
);
#endif

#ifdef IVAS_FLOAT_FIXED
void ivas_mc2sba_fx(
    IVAS_OUTPUT_SETUP hIntSetup, /* i  : Format of decoder output                         */
+21 −22
Original line number Diff line number Diff line
@@ -61,7 +61,6 @@ void hf_synth_init_fx(

  return;
}

void hf_synth_reset_fx(
  ZERO_BWE_DEC_HANDLE hBWE_zero /* o  : zero BWE decoder handle */
)
Loading