Loading lib_rend/lib_rend_fx.c +13 −12 Original line number Diff line number Diff line Loading @@ -641,18 +641,18 @@ static void audio_buffer_td_to_cldfb_fx( #endif } #endif //v_add( re, cldfb_write_ptr, cldfb_write_ptr, num_bands ); // cldfb_write_ptr += num_bands; FOR( int smplIdx = 0; smplIdx < num_bands; smplIdx++ ) { *cldfb_write_ptr++ += re[smplIdx]; *cldfb_write_ptr = L_add( *cldfb_write_ptr, re[smplIdx] ); move32(); cldfb_write_ptr++; } //v_add( im, cldfb_write_ptr, cldfb_write_ptr, num_bands ); //cldfb_write_ptr += num_bands; FOR( int smplIdx = 0; smplIdx < num_bands; smplIdx++ ) { *cldfb_write_ptr++ += im[smplIdx]; *cldfb_write_ptr = L_add( *cldfb_write_ptr, im[smplIdx] ); move32(); cldfb_write_ptr++; } } } Loading Loading @@ -7569,12 +7569,12 @@ static ivas_error renderActiveInputsIsm( // Initializing this way also fixes MSVC's false-positive warning about work_buffer being used // without initialization in code below, as well as some WMC tool instrumentation problems. work_buffer = outAudio; /*This loop is instrumentation-only and has no effect on operational result*/ for ( int i_instr = 0; i_instr < sizeof( outAudio ) / 4; i_instr++ ) { move16(); move16(); move16(); move16(); move32(); move32(); } // ISM rendering only supports TD output. If CLDFB output was requested, we first render // to TD in a temporary buffer and then convert to CLDFB. We do this by swapping out the Loading @@ -7586,6 +7586,7 @@ static ivas_error renderActiveInputsIsm( move16(); work_buffer.data_fx = tmp_td_binaural; move32(); set32_fx( tmp_td_binaural, 0, MAX_HEAD_ROT_POSES * BINAURAL_CHANNELS * L_FRAME48k ); } #endif Loading Loading
lib_rend/lib_rend_fx.c +13 −12 Original line number Diff line number Diff line Loading @@ -641,18 +641,18 @@ static void audio_buffer_td_to_cldfb_fx( #endif } #endif //v_add( re, cldfb_write_ptr, cldfb_write_ptr, num_bands ); // cldfb_write_ptr += num_bands; FOR( int smplIdx = 0; smplIdx < num_bands; smplIdx++ ) { *cldfb_write_ptr++ += re[smplIdx]; *cldfb_write_ptr = L_add( *cldfb_write_ptr, re[smplIdx] ); move32(); cldfb_write_ptr++; } //v_add( im, cldfb_write_ptr, cldfb_write_ptr, num_bands ); //cldfb_write_ptr += num_bands; FOR( int smplIdx = 0; smplIdx < num_bands; smplIdx++ ) { *cldfb_write_ptr++ += im[smplIdx]; *cldfb_write_ptr = L_add( *cldfb_write_ptr, im[smplIdx] ); move32(); cldfb_write_ptr++; } } } Loading Loading @@ -7569,12 +7569,12 @@ static ivas_error renderActiveInputsIsm( // Initializing this way also fixes MSVC's false-positive warning about work_buffer being used // without initialization in code below, as well as some WMC tool instrumentation problems. work_buffer = outAudio; /*This loop is instrumentation-only and has no effect on operational result*/ for ( int i_instr = 0; i_instr < sizeof( outAudio ) / 4; i_instr++ ) { move16(); move16(); move16(); move16(); move32(); move32(); } // ISM rendering only supports TD output. If CLDFB output was requested, we first render // to TD in a temporary buffer and then convert to CLDFB. We do this by swapping out the Loading @@ -7586,6 +7586,7 @@ static ivas_error renderActiveInputsIsm( move16(); work_buffer.data_fx = tmp_td_binaural; move32(); set32_fx( tmp_td_binaural, 0, MAX_HEAD_ROT_POSES * BINAURAL_CHANNELS * L_FRAME48k ); } #endif Loading