Loading lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ #define LIB_DEC_REVISION /* VA: cleaning and simplification of lib_dec.c */ #if 1 #define JBM_MEMORY_OPT /* VA: issue 916: optimization of RAM in the JBM decoder */ //#define FIX_OSBA_BR_SW_FLUSH // this is non-BE bugfix #define FIX_OSBA_BR_SW_FLUSH #define REMOVE_APA_BUFFER // remove hIvasDec->apaExecBuffer[] #endif Loading lib_dec/ivas_jbm_dec.c +2 −0 Original line number Diff line number Diff line Loading @@ -1498,7 +1498,9 @@ ivas_error ivas_jbm_dec_flush_renderer( for ( ch_idx = 0; ch_idx < hTcBuffer->nchan_transport_jbm; ch_idx++ ) #endif { /* move it at the beginning of the TC buffer with zero padding */ mvr2r( hTcBuffer->tc_buffer_old[ch_idx], hTcBuffer->tc[ch_idx], n_samples_to_render ); set_zero( hTcBuffer->tc[ch_idx] + n_samples_to_render, hTcBuffer->n_samples_granularity - n_samples_to_render ); } #ifndef FIX_OSBA_BR_SW_FLUSH for ( ; ch_idx < hTcBuffer->nchan_buffer_full; ch_idx++ ) Loading Loading
lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ #define LIB_DEC_REVISION /* VA: cleaning and simplification of lib_dec.c */ #if 1 #define JBM_MEMORY_OPT /* VA: issue 916: optimization of RAM in the JBM decoder */ //#define FIX_OSBA_BR_SW_FLUSH // this is non-BE bugfix #define FIX_OSBA_BR_SW_FLUSH #define REMOVE_APA_BUFFER // remove hIvasDec->apaExecBuffer[] #endif Loading
lib_dec/ivas_jbm_dec.c +2 −0 Original line number Diff line number Diff line Loading @@ -1498,7 +1498,9 @@ ivas_error ivas_jbm_dec_flush_renderer( for ( ch_idx = 0; ch_idx < hTcBuffer->nchan_transport_jbm; ch_idx++ ) #endif { /* move it at the beginning of the TC buffer with zero padding */ mvr2r( hTcBuffer->tc_buffer_old[ch_idx], hTcBuffer->tc[ch_idx], n_samples_to_render ); set_zero( hTcBuffer->tc[ch_idx] + n_samples_to_render, hTcBuffer->n_samples_granularity - n_samples_to_render ); } #ifndef FIX_OSBA_BR_SW_FLUSH for ( ; ch_idx < hTcBuffer->nchan_buffer_full; ch_idx++ ) Loading