Loading lib_dec/ivas_init_dec.c +0 −10 Original line number Diff line number Diff line Loading @@ -1960,16 +1960,6 @@ ivas_error ivas_init_decoder( } } } #ifdef NONBE_FIX_1141_OSBA_ROOM_RENDERING else if ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_7_1_4 ) { if ( ( error = ivas_rend_openCrend( &( st_ivas->hCrendWrapper ), st_ivas->intern_config, st_ivas->hDecoderConfig->output_config, st_ivas->hRenderConfig, st_ivas->hSetOfHRTF, st_ivas->hHrtfStatistics, st_ivas->hDecoderConfig->output_Fs, ( st_ivas->hSplitBinRend == NULL ) ? 1 : st_ivas->hSplitBinRend->splitrend.multiBinPoseData.num_poses ) ) != IVAS_ERR_OK ) { return error; } } #endif } /*-----------------------------------------------------------------* Loading lib_dec/ivas_ism_renderer.c +1 −9 Original line number Diff line number Diff line Loading @@ -281,15 +281,7 @@ void ivas_ism_render_sf( n_samples_rendered_loop += n_samples_in_subframe; /* update rendered subframe and slots info for all cases apart from a following crend call, the update will then happen in the crend call*/ if ( renderer_type != RENDERER_BINAURAL_MIXER_CONV_ROOM #ifdef NONBE_FIX_1141_OSBA_ROOM_RENDERING && !( renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR ) #endif ) if ( renderer_type != RENDERER_BINAURAL_MIXER_CONV_ROOM ) { st_ivas->hTcBuffer->subframes_rendered += 1; st_ivas->hTcBuffer->slots_rendered += st_ivas->hTcBuffer->subframe_nbslots[subframe_idx]; Loading lib_dec/ivas_osba_dec.c +0 −15 Original line number Diff line number Diff line Loading @@ -282,29 +282,14 @@ ivas_error ivas_osba_render_sf( { return error; } #ifndef NONBE_FIX_1141_OSBA_ROOM_RENDERING if ( st_ivas->renderer_type != RENDERER_BINAURAL_FASTCONV_ROOM ) #endif { ivas_ism_render_sf( st_ivas, st_ivas->renderer_type, p_output_ism, *nSamplesRendered ); } if ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR ) { if ( ( error = ivas_rend_crendProcessSubframe( st_ivas->hCrendWrapper, IVAS_AUDIO_CONFIG_7_1_4, IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR, st_ivas->hDecoderConfig, NULL, NULL, NULL, st_ivas->hTcBuffer, p_output_ism, p_output_ism, *nSamplesRendered, st_ivas->hDecoderConfig->output_Fs, 0 ) ) != IVAS_ERR_OK ) { return error; } } for ( n = 0; n < st_ivas->hDecoderConfig->nchan_out; n++ ) { #ifndef NONBE_FIX_1141_OSBA_ROOM_RENDERING if ( st_ivas->renderer_type != RENDERER_BINAURAL_FASTCONV_ROOM ) #endif { v_add( p_output[n], p_output_ism[n], p_output[n], *nSamplesRendered ); } Loading Loading
lib_dec/ivas_init_dec.c +0 −10 Original line number Diff line number Diff line Loading @@ -1960,16 +1960,6 @@ ivas_error ivas_init_decoder( } } } #ifdef NONBE_FIX_1141_OSBA_ROOM_RENDERING else if ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_7_1_4 ) { if ( ( error = ivas_rend_openCrend( &( st_ivas->hCrendWrapper ), st_ivas->intern_config, st_ivas->hDecoderConfig->output_config, st_ivas->hRenderConfig, st_ivas->hSetOfHRTF, st_ivas->hHrtfStatistics, st_ivas->hDecoderConfig->output_Fs, ( st_ivas->hSplitBinRend == NULL ) ? 1 : st_ivas->hSplitBinRend->splitrend.multiBinPoseData.num_poses ) ) != IVAS_ERR_OK ) { return error; } } #endif } /*-----------------------------------------------------------------* Loading
lib_dec/ivas_ism_renderer.c +1 −9 Original line number Diff line number Diff line Loading @@ -281,15 +281,7 @@ void ivas_ism_render_sf( n_samples_rendered_loop += n_samples_in_subframe; /* update rendered subframe and slots info for all cases apart from a following crend call, the update will then happen in the crend call*/ if ( renderer_type != RENDERER_BINAURAL_MIXER_CONV_ROOM #ifdef NONBE_FIX_1141_OSBA_ROOM_RENDERING && !( renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR ) #endif ) if ( renderer_type != RENDERER_BINAURAL_MIXER_CONV_ROOM ) { st_ivas->hTcBuffer->subframes_rendered += 1; st_ivas->hTcBuffer->slots_rendered += st_ivas->hTcBuffer->subframe_nbslots[subframe_idx]; Loading
lib_dec/ivas_osba_dec.c +0 −15 Original line number Diff line number Diff line Loading @@ -282,29 +282,14 @@ ivas_error ivas_osba_render_sf( { return error; } #ifndef NONBE_FIX_1141_OSBA_ROOM_RENDERING if ( st_ivas->renderer_type != RENDERER_BINAURAL_FASTCONV_ROOM ) #endif { ivas_ism_render_sf( st_ivas, st_ivas->renderer_type, p_output_ism, *nSamplesRendered ); } if ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR ) { if ( ( error = ivas_rend_crendProcessSubframe( st_ivas->hCrendWrapper, IVAS_AUDIO_CONFIG_7_1_4, IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR, st_ivas->hDecoderConfig, NULL, NULL, NULL, st_ivas->hTcBuffer, p_output_ism, p_output_ism, *nSamplesRendered, st_ivas->hDecoderConfig->output_Fs, 0 ) ) != IVAS_ERR_OK ) { return error; } } for ( n = 0; n < st_ivas->hDecoderConfig->nchan_out; n++ ) { #ifndef NONBE_FIX_1141_OSBA_ROOM_RENDERING if ( st_ivas->renderer_type != RENDERER_BINAURAL_FASTCONV_ROOM ) #endif { v_add( p_output[n], p_output_ism[n], p_output[n], *nSamplesRendered ); } Loading