Loading lib_dec/ivas_ism_metadata_dec_fx.c +1 −2 Original line number Diff line number Diff line Loading @@ -1263,8 +1263,7 @@ void ivas_ism_metadata_sid_dec_fx( idx = get_next_indice_fx( st0, nBits_coh ); #ifdef NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG // TODO: why is this different from the dequantization in ivas_decision_matrix_dec()? There, a table is used. Is this doing the same thing? hSCE[ch]->hCoreCoder[0]->hFdCngDec->hFdCngCom->coherence_fx[0] = div_s( idx, sub( ( shl( 1, nBits_coh ) ), 1 ) ); // Q15 hSCE[ch]->hCoreCoder[0]->hFdCngDec->hFdCngCom->coherence_fx[0] = get_next_index_4_by_15[idx]; // Q15 move16(); FOR( i = 1; i < MDCT_ST_DTX_NUM_COHERENCE_BANDS; i++ ) { Loading Loading
lib_dec/ivas_ism_metadata_dec_fx.c +1 −2 Original line number Diff line number Diff line Loading @@ -1263,8 +1263,7 @@ void ivas_ism_metadata_sid_dec_fx( idx = get_next_indice_fx( st0, nBits_coh ); #ifdef NONBE_MDCT_ST_DTX_FIX_SUBOPT_SPATIAL_CNG // TODO: why is this different from the dequantization in ivas_decision_matrix_dec()? There, a table is used. Is this doing the same thing? hSCE[ch]->hCoreCoder[0]->hFdCngDec->hFdCngCom->coherence_fx[0] = div_s( idx, sub( ( shl( 1, nBits_coh ) ), 1 ) ); // Q15 hSCE[ch]->hCoreCoder[0]->hFdCngDec->hFdCngCom->coherence_fx[0] = get_next_index_4_by_15[idx]; // Q15 move16(); FOR( i = 1; i < MDCT_ST_DTX_NUM_COHERENCE_BANDS; i++ ) { Loading