Loading lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ #define MASA_AND_OBJECTS_VE // VA: improve codec print-outs #define OMASA_BRATE /* VA: combined format bit-budget distribution */ #define OMASA_BRATE_FIX // fix at lowest bitrates and 1 inactive ISM - more work needed #define OMASA_BRATE_FIX // fix at lowest bitrates and 1 inactive ISM - more verification/tuning needed #define DEBUG_VA // output 'res/brate_ism' and 'res_brate_masa' bit-rates debugging files #endif Loading lib_dec/core_switching_dec.c +1 −1 Original line number Diff line number Diff line Loading @@ -1040,7 +1040,7 @@ void bandwidth_switching_detect( st->bws_cnt1 = 0; } else if ( st->total_brate > ACELP_9k60 && st->last_core_brate < ACELP_9k60 && st->bwidth == SWB && st->last_bwidth == WB #ifdef OMASA_BRATE // VE: !!!!! TBV // VE: this likely breaks BE in pure ISM !!! #ifdef OMASA_BRATE // VE: !!!!! this breaks BE in pure ISM && st->last_core_brate != 2450 #endif ) Loading lib_dec/ivas_cpe_dec.c +4 −0 Original line number Diff line number Diff line Loading @@ -691,6 +691,10 @@ ivas_error create_cpe_dec( set_f( hCPE->prev_synth[n], 0, NS2SA( output_Fs, IVAS_DEC_DELAY_NS - STEREO_DFT32MS_OVL_NS ) ); } #ifdef OMASA_BRATE hCPE->brate_surplus = 0; #endif /*-----------------------------------------------------------------* * DFT stereo I/O Buffers: allocate and initialize *-----------------------------------------------------------------*/ Loading lib_enc/ivas_cpe_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -843,6 +843,10 @@ ivas_error create_cpe_enc( hCPE->hFrontVad[0] = NULL; hCPE->hFrontVad[1] = NULL; #ifdef OMASA_BRATE hCPE->brate_surplus = 0; #endif /*-----------------------------------------------------------------* * Input memory buffer: allocate and initialize *-----------------------------------------------------------------*/ Loading Loading
lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ #define MASA_AND_OBJECTS_VE // VA: improve codec print-outs #define OMASA_BRATE /* VA: combined format bit-budget distribution */ #define OMASA_BRATE_FIX // fix at lowest bitrates and 1 inactive ISM - more work needed #define OMASA_BRATE_FIX // fix at lowest bitrates and 1 inactive ISM - more verification/tuning needed #define DEBUG_VA // output 'res/brate_ism' and 'res_brate_masa' bit-rates debugging files #endif Loading
lib_dec/core_switching_dec.c +1 −1 Original line number Diff line number Diff line Loading @@ -1040,7 +1040,7 @@ void bandwidth_switching_detect( st->bws_cnt1 = 0; } else if ( st->total_brate > ACELP_9k60 && st->last_core_brate < ACELP_9k60 && st->bwidth == SWB && st->last_bwidth == WB #ifdef OMASA_BRATE // VE: !!!!! TBV // VE: this likely breaks BE in pure ISM !!! #ifdef OMASA_BRATE // VE: !!!!! this breaks BE in pure ISM && st->last_core_brate != 2450 #endif ) Loading
lib_dec/ivas_cpe_dec.c +4 −0 Original line number Diff line number Diff line Loading @@ -691,6 +691,10 @@ ivas_error create_cpe_dec( set_f( hCPE->prev_synth[n], 0, NS2SA( output_Fs, IVAS_DEC_DELAY_NS - STEREO_DFT32MS_OVL_NS ) ); } #ifdef OMASA_BRATE hCPE->brate_surplus = 0; #endif /*-----------------------------------------------------------------* * DFT stereo I/O Buffers: allocate and initialize *-----------------------------------------------------------------*/ Loading
lib_enc/ivas_cpe_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -843,6 +843,10 @@ ivas_error create_cpe_enc( hCPE->hFrontVad[0] = NULL; hCPE->hFrontVad[1] = NULL; #ifdef OMASA_BRATE hCPE->brate_surplus = 0; #endif /*-----------------------------------------------------------------* * Input memory buffer: allocate and initialize *-----------------------------------------------------------------*/ Loading