Loading lib_dec/ivas_sce_dec.c +1 −1 Original line number Diff line number Diff line Loading @@ -300,7 +300,7 @@ ivas_error ivas_sce_dec( dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "element_brate", 0, sce_id, DEC ) ); dbgwrite( &st->element_mode, sizeof( int16_t ), 1, output_frame, fname( debug_dir, "element_mode", 0, sce_id, DEC ) ); dbgwrite( output, sizeof( float ), output_frame, 1, fname( debug_dir, "output.sce", 0, sce_id, DEC ) ); dbgwrite( output[0], sizeof( float ), output_frame, 1, fname( debug_dir, "output.sce", 0, sce_id, DEC ) ); if ( st_ivas->ivas_format != MASA_ISM_FORMAT ) { Loading lib_enc/speech_music_classif.c +10 −0 Original line number Diff line number Diff line Loading @@ -1966,6 +1966,16 @@ void ivas_smc_mode_selection( *attack_flag = attack + 1; } if ( st->localVAD == 1 && st->coder_type == UNVOICED && attack > 0 /*&& *attack_flag < 32*/ /*&& st->tc_cnt != 2*/ && !( st->sp_aud_decision2 == 1 && ton > 0.65f ) && st->flag_ACELP16k ) { /* change ACELP coder_type to TC if attack has been detected */ st->sp_aud_decision1 = 0; st->sp_aud_decision2 = 0; st->coder_type = TRANSITION; *attack_flag = attack + 1; } #ifdef DEBUGGING if ( st->idchan == 0 && st->coder_type != INACTIVE ) { Loading Loading
lib_dec/ivas_sce_dec.c +1 −1 Original line number Diff line number Diff line Loading @@ -300,7 +300,7 @@ ivas_error ivas_sce_dec( dbgwrite( &tmpF, sizeof( float ), 1, output_frame, fname( debug_dir, "element_brate", 0, sce_id, DEC ) ); dbgwrite( &st->element_mode, sizeof( int16_t ), 1, output_frame, fname( debug_dir, "element_mode", 0, sce_id, DEC ) ); dbgwrite( output, sizeof( float ), output_frame, 1, fname( debug_dir, "output.sce", 0, sce_id, DEC ) ); dbgwrite( output[0], sizeof( float ), output_frame, 1, fname( debug_dir, "output.sce", 0, sce_id, DEC ) ); if ( st_ivas->ivas_format != MASA_ISM_FORMAT ) { Loading
lib_enc/speech_music_classif.c +10 −0 Original line number Diff line number Diff line Loading @@ -1966,6 +1966,16 @@ void ivas_smc_mode_selection( *attack_flag = attack + 1; } if ( st->localVAD == 1 && st->coder_type == UNVOICED && attack > 0 /*&& *attack_flag < 32*/ /*&& st->tc_cnt != 2*/ && !( st->sp_aud_decision2 == 1 && ton > 0.65f ) && st->flag_ACELP16k ) { /* change ACELP coder_type to TC if attack has been detected */ st->sp_aud_decision1 = 0; st->sp_aud_decision2 = 0; st->coder_type = TRANSITION; *attack_flag = attack + 1; } #ifdef DEBUGGING if ( st->idchan == 0 && st->coder_type != INACTIVE ) { Loading