Commit 82626429 authored by vaclav's avatar vaclav
Browse files

remove outdated comment

parent 7c90e171
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -984,7 +984,7 @@ static float Find_bit_frac(
 *
 *-------------------------------------------------------------------*/

/*! r: Number of band to encode */
/*! r: Number of bands to encode */
static Word16 Find_bit_alloc_IVAS_int(
    const Word32 core_brate,      /* i  : core bit rate                                         */
    const Word16 GSC_IVAS_mode,   /* i  : GSC IVAS mode                                         */
@@ -1157,10 +1157,10 @@ static Word16 Find_bit_alloc_IVAS_int(
        max_ener_band[j] = i;
        ener_vec[i] = MIN16B;
    }

    /* Recompute the final bit distribution for HF */
    IF( nb_tot_bands_loc > st_band )
    {
        /* This is not bit exact because of the precision lost */
        /* mb = ( SWB_bit_budget * 2 / ( nb_tot_bands_loc - st_band ) ) - mp; */
        d_tmp = Find_norm_inv( L_deposit_h( sub( nb_tot_bands_loc, st_band ) ), &e_div );
        mb = L_sub( L_shr( Mpy_32_16_1( L_shl( SWB_bit_budget, 1 ), d_tmp ), e_div ), mp ); /* Q18 */