Commit ba9f0368 authored by vaclav's avatar vaclav
Browse files

- for DTX decision, use ‘vad_flag_dtx’ instead of ‘vad_flag’; under...

- for DTX decision, use ‘vad_flag_dtx’ instead of ‘vad_flag’; under DISCRETE_ISM_DTX_CNG; BE for paramISM, non-BE for discISM
parent a6fa404b
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -195,8 +195,17 @@ ivas_error ivas_ism_enc(
            return error;
        }

#ifdef DISCRETE_ISM_DTX_CNG
        if ( st_ivas->hEncoderConfig->Opt_DTX_ON )
        {
            vad_flag[sce_id] = vad_flag_dtx[sce_id][0];
        }
        else
#endif
        {
            vad_flag[sce_id] = st->vad_flag;
        }
    }

#ifdef PARAM_ISM_DTX_CNG
    /*------------------------------------------------------------------*