SBA front-VAD threshold (203)
There seems to be an inconsistency in SBA front-VAD threshold.
In front_vad_spar(), the threshold to which the front-VAD set is computed is set to 80 kbps:
if ( hEncoderConfig->Opt_DTX_ON && hEncoderConfig->ivas_total_brate <= IVAS_80k )
{
...
while in ivas_spar_enc(), it is set to 64 kbps:
/* temp hack to not force IVAS front pre-proc decision for higher bitrates */
if ( hEncoderConfig->ivas_total_brate > IVAS_64k || hEncoderConfig->Opt_DTX_ON == 0 )
{
st_ivas->hSpar->front_vad_flag = 0;
}
Moreover, flags force_front_vad and front_vad_dtx_flag when calling function pre_proc_front_ivas() do not look consistent:
- in SCE, true values of flags are used
- in CPE, flags are set to 0 and thus not really used Is this expected in terms of the relatively high threshold (80 kbps) where CPE is used as a core-coder?
Edited by vaclav