Commit 1b9e750b authored by vaillancour's avatar vaillancour
Browse files

just remove option2 as it didn't show significative improvement

parent 02723cad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ void tdm_bit_alloc(
    *total_brate_sec = tdm_bit_allc_tbl[idx][coder_type];

    /* secondary channel bitrate allocation based on the energy scaling ratio */
#ifdef OMASA_TUNING
#if defined OMASA_TUNING 
    if ( (IsOmasa == 0 && ( ( coder_type != UNVOICED ) || tdm_LRTD_flag == 1 ) ) 
        ||  
        ( IsOmasa == 1 && coder_type > UNVOICED ) )
+0 −1
Original line number Diff line number Diff line
@@ -209,7 +209,6 @@ int16_t select_stereo_mode(
            set_f( hStereoClassif->xtalk_fv, -1.0f, SSC_MAX_NFEA );
        }
    }

#ifdef DEBUG_MODE_TD
    dbgwrite( &hStereoClassif->unclr_decision, sizeof( int16_t ), 1, L_FRAME16k, "res/unclr_decision.enc" );
    dbgwrite( &hStereoClassif->xtalk_decision, sizeof( int16_t ), 1, L_FRAME16k, "res/xtalk_decision.enc" );
+1 −0
Original line number Diff line number Diff line
@@ -430,6 +430,7 @@ void tdm_configure_enc(
            sts[1]->coder_type = GENERIC;
        }
        hStereoTD->tdm_lp_reuse_flag = 1;

#ifdef OMASA_TUNING
        if ( hCPE->element_brate - nb_bits_metadata * FRAMES_PER_SEC + hCPE->brate_surplus < 11000 )
#else