Commit daf4c5d6 authored by Jan Kiene's avatar Jan Kiene
Browse files

align coherence value reading between files

parent 29b183a6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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++ )
                {