Commit a8922279 authored by multrus's avatar multrus
Browse files

formating

parent d9890418
Loading
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1342,9 +1342,7 @@ static bool parseCmdlIVAS_enc(
            arg->inputFormat = IVAS_ENC_INPUT_SBA;

            /* SBA configuration */
            if ( i < argc - 4
                 && is_number( argv[i] ) && sscanf( argv[i], "%d", &tmp ) > 0
            )
            if ( i < argc - 4 && is_number( argv[i] ) && sscanf( argv[i], "%d", &tmp ) > 0 )
            {
                i++;
            }
+1 −4
Original line number Diff line number Diff line
@@ -292,10 +292,7 @@ void amr_wb_enc(
    }

    /* apply DTX hangover for CNG analysis */
    vad_flag_dtx = dtx_hangover_addition( st, st->vad_flag, st->lp_speech - st->lp_noise, 0, &vad_hover_flag, NULL, NULL
                                          ,
                                          NULL
    );
    vad_flag_dtx = dtx_hangover_addition( st, st->vad_flag, st->lp_speech - st->lp_noise, 0, &vad_hover_flag, NULL, NULL, NULL );

    /*-----------------------------------------------------------------*
     * Select SID or FRAME_NO_DATA frame if DTX enabled
+1 −4
Original line number Diff line number Diff line
@@ -453,10 +453,7 @@ ivas_error pre_proc_front_ivas(

    if ( ( hCPE != NULL && !( lr_vad_enabled && st->idchan == 0 ) ) || hSCE != NULL )
    {
        *vad_flag_dtx = dtx_hangover_addition( st, st->vad_flag, st->lp_speech - st->lp_noise, 0, vad_hover_flag, NULL, NULL
                                               ,
                                               NULL
        );
        *vad_flag_dtx = dtx_hangover_addition( st, st->vad_flag, st->lp_speech - st->lp_noise, 0, vad_hover_flag, NULL, NULL, NULL );
    }
    else
    {
+1 −4
Original line number Diff line number Diff line
@@ -193,10 +193,7 @@ ivas_error front_vad(
            }

            /* DTX hangover addition */
            vad_flag_dtx[n] = dtx_hangover_addition( sts[n], hFrontVad->hVAD->vad_flag, hFrontVad->lp_speech - hFrontVad->lp_noise, 0 /* <- no cldfb addition */, &vad_hover_flag[n], hFrontVad->hVAD, hFrontVad->hNoiseEst
                                                     ,
                                                     &hFrontVads[n]->rem_dtx_ho
            );
            vad_flag_dtx[n] = dtx_hangover_addition( sts[n], hFrontVad->hVAD->vad_flag, hFrontVad->lp_speech - hFrontVad->lp_noise, 0 /* <- no cldfb addition */, &vad_hover_flag[n], hFrontVad->hVAD, hFrontVad->hNoiseEst, &hFrontVads[n]->rem_dtx_ho );

            if ( n_chan == 1 )
            {
+1 −4
Original line number Diff line number Diff line
@@ -167,10 +167,7 @@ ivas_error ivas_mct_enc(

    /* joint MCT encoding */
    ivas_mct_core_enc( ivas_format, hMCT, st_ivas->hCPE, hMCT->nchan_out_woLFE + hMCT->num_lfe, ivas_total_brate, switch_bw,
                       ivas_format == MC_FORMAT ? (int16_t) st_ivas->hLFE->lfe_bits : 0
                       ,
                       st_ivas->hEncoderConfig->sba_order
    );
                       ivas_format == MC_FORMAT ? (int16_t) st_ivas->hLFE->lfe_bits : 0, st_ivas->hEncoderConfig->sba_order );

    /* Spectrum quantization and coding */
    for ( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ )
Loading