Loading lib_dec/ivas_init_dec.c +2 −2 Original line number Diff line number Diff line Loading @@ -1835,7 +1835,7 @@ ivas_error ivas_init_decoder( } } #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED IF( ( error = ivas_create_lfe_dec_fx( &st_ivas->hLFE, output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) #else IF( ( error = ivas_create_lfe_dec( &st_ivas->hLFE, output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) Loading Loading @@ -2305,7 +2305,7 @@ void ivas_destroy_dec( ivas_mct_dec_close( &st_ivas->hMCT ); /* LFE handle */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED ivas_lfe_dec_close_fx( &( st_ivas->hLFE ) ); #else ivas_lfe_dec_close( &( st_ivas->hLFE ) ); Loading lib_dec/ivas_jbm_dec.c +2 −2 Original line number Diff line number Diff line Loading @@ -601,7 +601,7 @@ ivas_error ivas_jbm_dec_tc( if ( st_ivas->mc_mode == MC_MODE_MCT ) { /* LFE channel decoder */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED Word32 *p_output_fx; p_output_fx = (Word32 *) malloc( ( 48000 / FRAMES_PER_SEC ) * sizeof( Word32 ) ); Loading Loading @@ -654,7 +654,7 @@ ivas_error ivas_jbm_dec_tc( else if ( st_ivas->mc_mode == MC_MODE_PARAMUPMIX ) { /* LFE channel decoder */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED Word32 *p_output_fx; p_output_fx = (Word32 *) malloc( ( 48000 / FRAMES_PER_SEC ) * sizeof( Word32 ) ); Loading lib_dec/ivas_lfe_dec_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -129,14 +129,14 @@ static void ivas_lfe_dec_windowing_fx( pInbuf[i] = Mpy_32_32( pInbuf[add( zero_pad_len, i )], pWindow_coeffs[i] ); } FOR( i = 0; i < shl( zero_pad_len, 2 ); i++ ) FOR( i = 0; i < shl( zero_pad_len, 1 ); i++ ) { pInbuf[add( fade_len, i )] = pInbuf[add( add( zero_pad_len, fade_len ), i )]; } FOR( i = 0; i < fade_len; i++ ) { pInbuf[add( add( shl( zero_pad_len, 2 ), fade_len ), i )] = Mpy_32_32( pInbuf[add( add( i_mult( zero_pad_len, 3 ), fade_len ), i )], pWindow_coeffs[sub( sub( fade_len, i ), 1 )] ); pInbuf[add( add( shl( zero_pad_len, 1 ), fade_len ), i )] = Mpy_32_32( pInbuf[add( add( i_mult( zero_pad_len, 3 ), fade_len ), i )], pWindow_coeffs[sub( sub( fade_len, i ), 1 )] ); } return; Loading lib_dec/ivas_mct_dec.c +4 −4 Original line number Diff line number Diff line Loading @@ -1017,7 +1017,7 @@ static ivas_error ivas_mc_dec_reconfig( } /* LFE handle */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED ivas_lfe_dec_close_fx( &( st_ivas->hLFE ) ); #else ivas_lfe_dec_close( &( st_ivas->hLFE ) ); Loading Loading @@ -1060,7 +1060,7 @@ static ivas_error ivas_mc_dec_reconfig( } /* LFE handle */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED ivas_lfe_dec_close_fx( &( st_ivas->hLFE ) ); #else ivas_lfe_dec_close( &( st_ivas->hLFE ) ); Loading Loading @@ -1204,8 +1204,8 @@ static ivas_error ivas_mc_dec_reconfig( } } #ifdef IVAS_FLOAT_FIXED_TEST if ( ( error = ivas_create_lfe_dec_fx( &st_ivas->hLFE, st_ivas->hDecoderConfig->output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) #ifdef IVAS_FLOAT_FIXED IF ( ( error = ivas_create_lfe_dec_fx( &st_ivas->hLFE, st_ivas->hDecoderConfig->output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) #else if ( ( error = ivas_create_lfe_dec( &st_ivas->hLFE, st_ivas->hDecoderConfig->output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) #endif // IVAS_FLOAT_FIXED Loading Loading
lib_dec/ivas_init_dec.c +2 −2 Original line number Diff line number Diff line Loading @@ -1835,7 +1835,7 @@ ivas_error ivas_init_decoder( } } #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED IF( ( error = ivas_create_lfe_dec_fx( &st_ivas->hLFE, output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) #else IF( ( error = ivas_create_lfe_dec( &st_ivas->hLFE, output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) Loading Loading @@ -2305,7 +2305,7 @@ void ivas_destroy_dec( ivas_mct_dec_close( &st_ivas->hMCT ); /* LFE handle */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED ivas_lfe_dec_close_fx( &( st_ivas->hLFE ) ); #else ivas_lfe_dec_close( &( st_ivas->hLFE ) ); Loading
lib_dec/ivas_jbm_dec.c +2 −2 Original line number Diff line number Diff line Loading @@ -601,7 +601,7 @@ ivas_error ivas_jbm_dec_tc( if ( st_ivas->mc_mode == MC_MODE_MCT ) { /* LFE channel decoder */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED Word32 *p_output_fx; p_output_fx = (Word32 *) malloc( ( 48000 / FRAMES_PER_SEC ) * sizeof( Word32 ) ); Loading Loading @@ -654,7 +654,7 @@ ivas_error ivas_jbm_dec_tc( else if ( st_ivas->mc_mode == MC_MODE_PARAMUPMIX ) { /* LFE channel decoder */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED Word32 *p_output_fx; p_output_fx = (Word32 *) malloc( ( 48000 / FRAMES_PER_SEC ) * sizeof( Word32 ) ); Loading
lib_dec/ivas_lfe_dec_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -129,14 +129,14 @@ static void ivas_lfe_dec_windowing_fx( pInbuf[i] = Mpy_32_32( pInbuf[add( zero_pad_len, i )], pWindow_coeffs[i] ); } FOR( i = 0; i < shl( zero_pad_len, 2 ); i++ ) FOR( i = 0; i < shl( zero_pad_len, 1 ); i++ ) { pInbuf[add( fade_len, i )] = pInbuf[add( add( zero_pad_len, fade_len ), i )]; } FOR( i = 0; i < fade_len; i++ ) { pInbuf[add( add( shl( zero_pad_len, 2 ), fade_len ), i )] = Mpy_32_32( pInbuf[add( add( i_mult( zero_pad_len, 3 ), fade_len ), i )], pWindow_coeffs[sub( sub( fade_len, i ), 1 )] ); pInbuf[add( add( shl( zero_pad_len, 1 ), fade_len ), i )] = Mpy_32_32( pInbuf[add( add( i_mult( zero_pad_len, 3 ), fade_len ), i )], pWindow_coeffs[sub( sub( fade_len, i ), 1 )] ); } return; Loading
lib_dec/ivas_mct_dec.c +4 −4 Original line number Diff line number Diff line Loading @@ -1017,7 +1017,7 @@ static ivas_error ivas_mc_dec_reconfig( } /* LFE handle */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED ivas_lfe_dec_close_fx( &( st_ivas->hLFE ) ); #else ivas_lfe_dec_close( &( st_ivas->hLFE ) ); Loading Loading @@ -1060,7 +1060,7 @@ static ivas_error ivas_mc_dec_reconfig( } /* LFE handle */ #ifdef IVAS_FLOAT_FIXED_TEST #ifdef IVAS_FLOAT_FIXED ivas_lfe_dec_close_fx( &( st_ivas->hLFE ) ); #else ivas_lfe_dec_close( &( st_ivas->hLFE ) ); Loading Loading @@ -1204,8 +1204,8 @@ static ivas_error ivas_mc_dec_reconfig( } } #ifdef IVAS_FLOAT_FIXED_TEST if ( ( error = ivas_create_lfe_dec_fx( &st_ivas->hLFE, st_ivas->hDecoderConfig->output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) #ifdef IVAS_FLOAT_FIXED IF ( ( error = ivas_create_lfe_dec_fx( &st_ivas->hLFE, st_ivas->hDecoderConfig->output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) #else if ( ( error = ivas_create_lfe_dec( &st_ivas->hLFE, st_ivas->hDecoderConfig->output_Fs, binauralization_delay_ns ) ) != IVAS_ERR_OK ) #endif // IVAS_FLOAT_FIXED Loading