Commit c86d5fa6 authored by vaclav's avatar vaclav
Browse files

formal issues improvements (foramtting, comments, return error for malloc())

parent 54e9ced6
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2279,8 +2279,7 @@ static ivas_error decodeVoIP(


        /* decode and get samples */
        if ( ( error = IVAS_DEC_VoIP_GetSamples( hIvasDec, nOutSamples,
                                                 pcmBuf, systemTime_ms
        if ( ( error = IVAS_DEC_VoIP_GetSamples( hIvasDec, nOutSamples, pcmBuf, systemTime_ms
#if defined( JBM_TSM_ON_TCS ) || defined( VARIABLE_SPEED_DECODING )
                                                 ,
                                                 &nSamplesAvailableNext
+1 −0
Original line number Diff line number Diff line
@@ -940,6 +940,7 @@ void SynthesisSTFT(
    return;
}


#ifdef JBM_TSM_ON_TCS
/*-------------------------------------------------------------------
 * SynthesisSTFT_dirac()
+119 −117
Original line number Diff line number Diff line
@@ -863,6 +863,7 @@ void ivas_jbm_dec_td_renderers_adapt_subframes(
);
#endif


/*----------------------------------------------------------------------------------*
 * ISM prototypes
 *----------------------------------------------------------------------------------*/
@@ -4250,7 +4251,8 @@ ivas_error ivas_dirac_dec_output_synthesis_cov_open(
#ifdef JBM_TSM_ON_TCS
void ivas_dirac_dec_output_synthesis_get_interpolator(
    DIRAC_OUTPUT_SYNTHESIS_PARAMS *h_dirac_output_synthesis_params, /* i/o: handle for the covariance synthesis parameters                  */
    const uint16_t interp_length );
    const uint16_t interp_length                                    /* i  : interpolator length                                             */
);
#endif

void ivas_dirac_dec_output_synthesis_cov_init(
+2 −0
Original line number Diff line number Diff line
@@ -163,6 +163,7 @@ uint32_t ivas_syn_output(
    return noClipping;
}


#ifdef JBM_TSM_ON_TCS
/*-------------------------------------------------------------------*
 * ivas_syn_output_f()
@@ -197,6 +198,7 @@ void ivas_syn_output_f(
}
#endif


/*-------------------------------------------------------------------*
 * mvr2r_inc()
 *
+2 −2
Original line number Diff line number Diff line
@@ -208,8 +208,8 @@
#define FIX_642											/* FhG: Fix for issue 642, buggy DoA-array access in DirAC head rotation*/

#define FIX_443_FD_CNG_INIT                             /* FhG: correct bitrate value for FD-CNG init */
#define VARIABLE_SPEED_DECODING                         /* FhG: variable speed decoding employing the JBM functioniality */
#define JBM_TSM_ON_TCS                                  /* FhG: run the TSM part of JBM on the TCs instead of the final output pcm waveforms */
#define VARIABLE_SPEED_DECODING                         /* FhG: Contribution 37: variable speed decoding employing the JBM functioniality */
#define JBM_TSM_ON_TCS                                  /* FhG: Contribution 37: run the TSM part of JBM on the TCs instead of the final output pcm waveforms */

#define FIX_DTX_428                                     /* FhG: fix for issue 428, crash with DTX and bitrate switching */

Loading