Commit bf2a66e1 authored by vaclav's avatar vaclav
Browse files

comment, formatting

parent 931e20f1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1134,6 +1134,7 @@ void ivas_param_ism_dec_prepare_renderer(
}
#endif


/*-------------------------------------------------------------------------*
 * ivas_ism_param_dec_tc_gain_ajust()
 *
+2 −0
Original line number Diff line number Diff line
@@ -1628,6 +1628,7 @@ void ivas_param_mc_dec_prepare_renderer(
                    {
                        continue;
                    }

                    ivas_dirac_dec_output_synthesis_cov_param_mc_collect_slot( &hParamMC->Cldfb_RealBuffer_tc[slot_idx * hParamMC->num_freq_bands * nchan_transport],
                                                                               &hParamMC->Cldfb_ImagBuffer_tc[slot_idx * hParamMC->num_freq_bands * nchan_transport],
                                                                               is_next_band ? cx_next_band : cx,
@@ -1680,6 +1681,7 @@ void ivas_param_mc_dec_prepare_renderer(
            {
                continue;
            }

            /* generate mixing matrices */
            ivas_param_mc_get_mixing_matrices( hParamMC,
                                               hSynthesisOutputSetup,
+10 −2
Original line number Diff line number Diff line
@@ -555,7 +555,7 @@ ivas_error IVAS_DEC_Configure(
        hIvasDec->flushbuffer = (void *) malloc( CPE_CHANNELS * hIvasDec->nSamplesFrame / IVAS_MAX_PARAM_SPATIAL_SUBFRAMES * sizeof( int16_t ) );
        if ( hIvasDec->flushbuffer == NULL )
        {
            return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Could not allocate flush buffer" );
            return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Could not allocate JBM flush buffer" );
        }
        hIvasDec->pcmType = IVAS_DEC_PCM_INT16;
        set_s( (int16_t *) hIvasDec->flushbuffer, 0, CPE_CHANNELS * hIvasDec->nSamplesFrame / IVAS_MAX_PARAM_SPATIAL_SUBFRAMES );
@@ -1440,7 +1440,7 @@ ivas_error IVAS_DEC_GetSamplesDecoder(
    }
    hIvasDec->hasBeenPreparedRendering = false;

    if ( hIvasDec->st_ivas->hIsmMetaData[0] )
    if ( hIvasDec->st_ivas->hIsmMetaData[0] != NULL )
    {
        if ( hIvasDec->st_ivas->ivas_format == ISM_FORMAT || hIvasDec->st_ivas->ivas_format == MASA_ISM_FORMAT || hIvasDec->st_ivas->ivas_format == SBA_ISM_FORMAT )
        {
@@ -2875,6 +2875,13 @@ ivas_error IVAS_DEC_GetRenderConfig(
    return copyRendererConfigStruct( hIvasDec->st_ivas->hRenderConfig, hRCout );
}


/*---------------------------------------------------------------------*
 * IVAS_DEC_GetDefaultRenderConfig( )
 *
 *
 *---------------------------------------------------------------------*/

/*! r: error code*/
ivas_error IVAS_DEC_GetDefaultRenderConfig(
    IVAS_RENDER_CONFIG_HANDLE hRCout /* o  : Render config handle                                                    */
@@ -3255,6 +3262,7 @@ ivas_error IVAS_DEC_VoIP_FeedFrame(
    return IVAS_ERR_OK;
}


/*---------------------------------------------------------------------*
 * IVAS_DEC_VoIP_SetScale( )
 *