Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -122,6 +122,7 @@ #define NONBE_1360_LFE_DELAY /* Dlb: LFE delay alignment when rendering in CLDFB domain*/ #define NONBE_1229_FIX_ISM1_DPID /* Eri: issue 1229: fix bug causing ISM 1 to use default -dpid instead of the specified one */ #define NONBE_SVD_OPTIMIZATION #define FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX /* VA: issue 1249: remove obsolete code around ALLRAD decoder matrix * /* #################### End BASOP porting switches ############################ */ Loading lib_dec/ivas_init_dec_fx.c +6 −4 Original line number Diff line number Diff line Loading @@ -1507,6 +1507,8 @@ ivas_error ivas_init_decoder_fx( return error; } set16_fx( st_ivas->hSpar->hFbMixer->cldfb_cross_fade_fx, 0, CLDFB_NO_COL_MAX ); #ifndef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX test(); IF( EQ_32( st_ivas->renderer_type, RENDERER_SBA_LINEAR_DEC ) && st_ivas->hOutSetup.is_loudspeaker_setup ) { Loading @@ -1515,7 +1517,7 @@ ivas_error ivas_init_decoder_fx( return error; } } #endif Word16 hodirac_flag = ivas_get_hodirac_flag_fx( ivas_total_brate, st_ivas->sba_analysis_order ); IF( hodirac_flag ) { Loading @@ -1532,7 +1534,6 @@ ivas_error ivas_init_decoder_fx( } } test(); test(); #ifdef NONBE_FIX_1052_SBA_EXT_FIX Loading Loading @@ -1570,6 +1571,7 @@ ivas_error ivas_init_decoder_fx( } st_ivas->sba_dirac_stereo_flag = ivas_get_sba_dirac_stereo_flag( st_ivas ); move16(); FOR( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) { Word32 res_dec, res_frac; Loading Loading @@ -1702,6 +1704,7 @@ ivas_error ivas_init_decoder_fx( return error; } #ifndef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX test(); IF( EQ_32( st_ivas->renderer_type, RENDERER_SBA_LINEAR_DEC ) && st_ivas->hOutSetup.is_loudspeaker_setup ) { Loading @@ -1710,7 +1713,7 @@ ivas_error ivas_init_decoder_fx( return error; } } #endif Word16 hodirac_flag = ivas_get_hodirac_flag_fx( ivas_total_brate, st_ivas->sba_analysis_order ); IF( hodirac_flag ) { Loading @@ -1727,7 +1730,6 @@ ivas_error ivas_init_decoder_fx( } } test(); test(); IF( NE_32( hDecoderConfig->output_config, IVAS_AUDIO_CONFIG_FOA ) && NE_32( st_ivas->hDecoderConfig->output_config, IVAS_AUDIO_CONFIG_STEREO ) && NE_32( st_ivas->hDecoderConfig->output_config, IVAS_AUDIO_CONFIG_MONO ) ) Loading lib_dec/ivas_output_config_fx.c +12 −0 Original line number Diff line number Diff line Loading @@ -397,8 +397,10 @@ void ivas_renderer_select( test(); test(); test(); #ifndef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX test(); test(); #endif IF( EQ_32( ivas_format, SBA_FORMAT ) && ( NE_32( output_config, IVAS_AUDIO_CONFIG_5_1 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_5_1_2 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_5_1_4 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_7_1 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_7_1_4 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_LS_CUSTOM ) && NE_32( output_config, IVAS_AUDIO_CONFIG_MONO ) && NE_32( output_config, IVAS_AUDIO_CONFIG_STEREO ) ) ) { test(); Loading @@ -416,6 +418,13 @@ void ivas_renderer_select( *internal_config = output_config; move16(); } #ifdef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX ELSE { *internal_config = IVAS_AUDIO_CONFIG_HOA3; move16(); } #else ELSE IF( EQ_32( output_config, IVAS_AUDIO_CONFIG_MONO ) || EQ_32( output_config, IVAS_AUDIO_CONFIG_STEREO ) ) { *internal_config = IVAS_AUDIO_CONFIG_FOA; Loading @@ -430,6 +439,7 @@ void ivas_renderer_select( *internal_config = IVAS_AUDIO_CONFIG_HOA3; move16(); } #endif *renderer_type = RENDERER_SBA_LINEAR_DEC; move16(); } Loading @@ -454,11 +464,13 @@ void ivas_renderer_select( *renderer_type = RENDERER_DISABLE; move16(); } #ifndef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX ELSE IF( EQ_32( ivas_format, SBA_FORMAT ) && EQ_32( output_config, IVAS_AUDIO_CONFIG_MONO ) ) { *renderer_type = RENDERER_SBA_LINEAR_DEC; move16(); } #endif ELSE IF( EQ_32( ivas_format, SBA_ISM_FORMAT ) && EQ_32( output_config, IVAS_AUDIO_CONFIG_STEREO ) ) { *renderer_type = RENDERER_OSBA_STEREO; Loading Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -122,6 +122,7 @@ #define NONBE_1360_LFE_DELAY /* Dlb: LFE delay alignment when rendering in CLDFB domain*/ #define NONBE_1229_FIX_ISM1_DPID /* Eri: issue 1229: fix bug causing ISM 1 to use default -dpid instead of the specified one */ #define NONBE_SVD_OPTIMIZATION #define FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX /* VA: issue 1249: remove obsolete code around ALLRAD decoder matrix * /* #################### End BASOP porting switches ############################ */ Loading
lib_dec/ivas_init_dec_fx.c +6 −4 Original line number Diff line number Diff line Loading @@ -1507,6 +1507,8 @@ ivas_error ivas_init_decoder_fx( return error; } set16_fx( st_ivas->hSpar->hFbMixer->cldfb_cross_fade_fx, 0, CLDFB_NO_COL_MAX ); #ifndef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX test(); IF( EQ_32( st_ivas->renderer_type, RENDERER_SBA_LINEAR_DEC ) && st_ivas->hOutSetup.is_loudspeaker_setup ) { Loading @@ -1515,7 +1517,7 @@ ivas_error ivas_init_decoder_fx( return error; } } #endif Word16 hodirac_flag = ivas_get_hodirac_flag_fx( ivas_total_brate, st_ivas->sba_analysis_order ); IF( hodirac_flag ) { Loading @@ -1532,7 +1534,6 @@ ivas_error ivas_init_decoder_fx( } } test(); test(); #ifdef NONBE_FIX_1052_SBA_EXT_FIX Loading Loading @@ -1570,6 +1571,7 @@ ivas_error ivas_init_decoder_fx( } st_ivas->sba_dirac_stereo_flag = ivas_get_sba_dirac_stereo_flag( st_ivas ); move16(); FOR( sce_id = 0; sce_id < st_ivas->nSCE; sce_id++ ) { Word32 res_dec, res_frac; Loading Loading @@ -1702,6 +1704,7 @@ ivas_error ivas_init_decoder_fx( return error; } #ifndef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX test(); IF( EQ_32( st_ivas->renderer_type, RENDERER_SBA_LINEAR_DEC ) && st_ivas->hOutSetup.is_loudspeaker_setup ) { Loading @@ -1710,7 +1713,7 @@ ivas_error ivas_init_decoder_fx( return error; } } #endif Word16 hodirac_flag = ivas_get_hodirac_flag_fx( ivas_total_brate, st_ivas->sba_analysis_order ); IF( hodirac_flag ) { Loading @@ -1727,7 +1730,6 @@ ivas_error ivas_init_decoder_fx( } } test(); test(); IF( NE_32( hDecoderConfig->output_config, IVAS_AUDIO_CONFIG_FOA ) && NE_32( st_ivas->hDecoderConfig->output_config, IVAS_AUDIO_CONFIG_STEREO ) && NE_32( st_ivas->hDecoderConfig->output_config, IVAS_AUDIO_CONFIG_MONO ) ) Loading
lib_dec/ivas_output_config_fx.c +12 −0 Original line number Diff line number Diff line Loading @@ -397,8 +397,10 @@ void ivas_renderer_select( test(); test(); test(); #ifndef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX test(); test(); #endif IF( EQ_32( ivas_format, SBA_FORMAT ) && ( NE_32( output_config, IVAS_AUDIO_CONFIG_5_1 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_5_1_2 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_5_1_4 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_7_1 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_7_1_4 ) && NE_32( output_config, IVAS_AUDIO_CONFIG_LS_CUSTOM ) && NE_32( output_config, IVAS_AUDIO_CONFIG_MONO ) && NE_32( output_config, IVAS_AUDIO_CONFIG_STEREO ) ) ) { test(); Loading @@ -416,6 +418,13 @@ void ivas_renderer_select( *internal_config = output_config; move16(); } #ifdef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX ELSE { *internal_config = IVAS_AUDIO_CONFIG_HOA3; move16(); } #else ELSE IF( EQ_32( output_config, IVAS_AUDIO_CONFIG_MONO ) || EQ_32( output_config, IVAS_AUDIO_CONFIG_STEREO ) ) { *internal_config = IVAS_AUDIO_CONFIG_FOA; Loading @@ -430,6 +439,7 @@ void ivas_renderer_select( *internal_config = IVAS_AUDIO_CONFIG_HOA3; move16(); } #endif *renderer_type = RENDERER_SBA_LINEAR_DEC; move16(); } Loading @@ -454,11 +464,13 @@ void ivas_renderer_select( *renderer_type = RENDERER_DISABLE; move16(); } #ifndef FIX_1249_REMOVE_OBSOLETE_ALLRAD_MATRIX ELSE IF( EQ_32( ivas_format, SBA_FORMAT ) && EQ_32( output_config, IVAS_AUDIO_CONFIG_MONO ) ) { *renderer_type = RENDERER_SBA_LINEAR_DEC; move16(); } #endif ELSE IF( EQ_32( ivas_format, SBA_ISM_FORMAT ) && EQ_32( output_config, IVAS_AUDIO_CONFIG_STEREO ) ) { *renderer_type = RENDERER_OSBA_STEREO; Loading