Loading lib_com/ivas_prot.h +5 −5 Original line number Diff line number Diff line Loading @@ -3092,7 +3092,7 @@ int16_t ivas_sba_get_nchan_metadata( ); #ifdef SBA_HOA_HBR_IMPROV /*! r: get the flag to code SPAR HOA MD for all band */ /*! r: flag indicating to code SPAR HOA MD for all bands */ int16_t ivas_sba_get_spar_hoa_md_flag( const int16_t sba_order, /* i : Ambisonic (SBA) order */ const int32_t ivas_total_brate /* i : IVAS total bitrate */ Loading Loading @@ -4827,7 +4827,7 @@ void lls_interp_n( const int16_t N, /* i : length of the input vector */ float *a, /* o : calculated slope */ float *b, /* o : calculated offset */ int16_t upd /* i : use 1 to update x[] with the interpolated output */ const int16_t upd /* i : use 1 to update x[] with the interpolated output */ ); void computeReferencePower_enc( Loading lib_com/ivas_sba_config.c +7 −5 Original line number Diff line number Diff line Loading @@ -285,16 +285,17 @@ int16_t ivas_sba_get_nchan_metadata( /*-------------------------------------------------------------------* * ivas_sba_get_spar_hoa_md_flag() * * et the flag to code SPAR HOA MD for all band * Get the flag to code SPAR HOA MD for all band *-------------------------------------------------------------------*/ /*! r: get the flag to code SPAR HOA MD for all band */ /*! r: flag indicating to code SPAR HOA MD for all bands */ int16_t ivas_sba_get_spar_hoa_md_flag( const int16_t sba_order, /* i : Ambisonic (SBA) order */ const int32_t ivas_total_brate /* i : IVAS total bitrate */ ) { int16_t spar_hoa_md_flag = 0; if ( sba_order > 1 && ivas_total_brate >= IVAS_256k ) { spar_hoa_md_flag = 1; Loading @@ -303,6 +304,7 @@ int16_t ivas_sba_get_spar_hoa_md_flag( { spar_hoa_md_flag = 0; } return spar_hoa_md_flag; } #endif Loading lib_com/ivas_tools.c +5 −5 Original line number Diff line number Diff line Loading @@ -958,7 +958,7 @@ void lls_interp_n( const int16_t N, /* i : length of the input vector */ float *a, /* o : calculated slope */ float *b, /* o : calculated offset */ int16_t upd /* i : use 1 to update x[] with the interpolated output */ const int16_t upd /* i : use 1 to update x[] with the interpolated output */ ) { int16_t i; Loading lib_com/prot.h +22 −31 Original line number Diff line number Diff line Loading @@ -5144,8 +5144,7 @@ void decod_amr_wb( ivas_error init_decoder( Decoder_State *st, /* o : Decoder static variables structure */ const int16_t idchan /* i : channel ID */ , const int16_t idchan, /* i : channel ID */ const MC_MODE mc_mode /* i : MC mode */ ); Loading Loading @@ -6773,15 +6772,14 @@ void enc_acelp_tcx_main( void getTCXMode( Decoder_State *st, /* i/o: decoder memory state */ Decoder_State *st0 /* i : bitstream */ , const int16_t MCT_flag Decoder_State *st0, /* i : bitstream */ const int16_t MCT_flag /* i : MCT tool active(1) or deactive(0) */ ); void getTCXWindowing( const int16_t core, /* i : current frame mode */ const int16_t last_core, /* i : last frame mode */ const int16_t element_mode, const int16_t element_mode, /* i : element mode */ TCX_CONFIG_HANDLE hTcxCfg, /* i/o: TCX configuration handle */ Decoder_State *st0 /* i : bitstream */ ); Loading Loading @@ -7888,10 +7886,8 @@ void decoder_tcx_post( float *synth, float *synthFB, float *A, const int16_t bfi , const int16_t isMCT ); const int16_t bfi, const int16_t isMCT ); void coder_acelp( Encoder_State *st, /* i/o: coder memory state */ Loading Loading @@ -8131,10 +8127,8 @@ void con_tcx( float synth[], /* i/o: synth[] */ const float coh, /* i : coherence of stereo signal */ int16_t *noise_seed, /* i/o: noise seed for stereo */ const int16_t only_left /* i : TD-PLC only in left channel */ , const float *A_cng ); const int16_t only_left, /* i : TD-PLC only in left channel */ const float A_cng[] ); /*! r: codebook index */ int16_t tcxlpc_get_cdk( Loading Loading @@ -9228,8 +9222,7 @@ void mode_switch_decoder_LPD( const int32_t total_brate, /* i : total bitrate */ const int32_t last_total_brate, /* i : last frame total bitrate */ const int16_t frame_size_index, /* i : index determining the frame size*/ const int16_t is_mct /* i : MCT mode flag */ , const int16_t is_mct, /* i : MCT mode flag */ const int16_t last_element_mode /* i : last element mode */ ); Loading Loading @@ -9510,10 +9503,8 @@ void TonalMDCTConceal_SaveFreqSignal( const float *mdctSpectrum, const uint16_t numSamples, const uint16_t nNewSamplesCore, const float *scaleFactors , const int16_t infoIGFStartLine ); const float *scaleFactors, const int16_t infoIGFStartLine ); void TonalMDCTConceal_UpdateState( TonalMDCTConcealPtr hTonalMDCTConc, Loading lib_com/stat_com.h +1 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,7 @@ typedef struct int16_t frame_type_previous; float A_cng[17]; float A_cng[M + 1]; float exc_cng[L_FRAME16k]; int32_t CngBitrate; Loading Loading
lib_com/ivas_prot.h +5 −5 Original line number Diff line number Diff line Loading @@ -3092,7 +3092,7 @@ int16_t ivas_sba_get_nchan_metadata( ); #ifdef SBA_HOA_HBR_IMPROV /*! r: get the flag to code SPAR HOA MD for all band */ /*! r: flag indicating to code SPAR HOA MD for all bands */ int16_t ivas_sba_get_spar_hoa_md_flag( const int16_t sba_order, /* i : Ambisonic (SBA) order */ const int32_t ivas_total_brate /* i : IVAS total bitrate */ Loading Loading @@ -4827,7 +4827,7 @@ void lls_interp_n( const int16_t N, /* i : length of the input vector */ float *a, /* o : calculated slope */ float *b, /* o : calculated offset */ int16_t upd /* i : use 1 to update x[] with the interpolated output */ const int16_t upd /* i : use 1 to update x[] with the interpolated output */ ); void computeReferencePower_enc( Loading
lib_com/ivas_sba_config.c +7 −5 Original line number Diff line number Diff line Loading @@ -285,16 +285,17 @@ int16_t ivas_sba_get_nchan_metadata( /*-------------------------------------------------------------------* * ivas_sba_get_spar_hoa_md_flag() * * et the flag to code SPAR HOA MD for all band * Get the flag to code SPAR HOA MD for all band *-------------------------------------------------------------------*/ /*! r: get the flag to code SPAR HOA MD for all band */ /*! r: flag indicating to code SPAR HOA MD for all bands */ int16_t ivas_sba_get_spar_hoa_md_flag( const int16_t sba_order, /* i : Ambisonic (SBA) order */ const int32_t ivas_total_brate /* i : IVAS total bitrate */ ) { int16_t spar_hoa_md_flag = 0; if ( sba_order > 1 && ivas_total_brate >= IVAS_256k ) { spar_hoa_md_flag = 1; Loading @@ -303,6 +304,7 @@ int16_t ivas_sba_get_spar_hoa_md_flag( { spar_hoa_md_flag = 0; } return spar_hoa_md_flag; } #endif Loading
lib_com/ivas_tools.c +5 −5 Original line number Diff line number Diff line Loading @@ -958,7 +958,7 @@ void lls_interp_n( const int16_t N, /* i : length of the input vector */ float *a, /* o : calculated slope */ float *b, /* o : calculated offset */ int16_t upd /* i : use 1 to update x[] with the interpolated output */ const int16_t upd /* i : use 1 to update x[] with the interpolated output */ ) { int16_t i; Loading
lib_com/prot.h +22 −31 Original line number Diff line number Diff line Loading @@ -5144,8 +5144,7 @@ void decod_amr_wb( ivas_error init_decoder( Decoder_State *st, /* o : Decoder static variables structure */ const int16_t idchan /* i : channel ID */ , const int16_t idchan, /* i : channel ID */ const MC_MODE mc_mode /* i : MC mode */ ); Loading Loading @@ -6773,15 +6772,14 @@ void enc_acelp_tcx_main( void getTCXMode( Decoder_State *st, /* i/o: decoder memory state */ Decoder_State *st0 /* i : bitstream */ , const int16_t MCT_flag Decoder_State *st0, /* i : bitstream */ const int16_t MCT_flag /* i : MCT tool active(1) or deactive(0) */ ); void getTCXWindowing( const int16_t core, /* i : current frame mode */ const int16_t last_core, /* i : last frame mode */ const int16_t element_mode, const int16_t element_mode, /* i : element mode */ TCX_CONFIG_HANDLE hTcxCfg, /* i/o: TCX configuration handle */ Decoder_State *st0 /* i : bitstream */ ); Loading Loading @@ -7888,10 +7886,8 @@ void decoder_tcx_post( float *synth, float *synthFB, float *A, const int16_t bfi , const int16_t isMCT ); const int16_t bfi, const int16_t isMCT ); void coder_acelp( Encoder_State *st, /* i/o: coder memory state */ Loading Loading @@ -8131,10 +8127,8 @@ void con_tcx( float synth[], /* i/o: synth[] */ const float coh, /* i : coherence of stereo signal */ int16_t *noise_seed, /* i/o: noise seed for stereo */ const int16_t only_left /* i : TD-PLC only in left channel */ , const float *A_cng ); const int16_t only_left, /* i : TD-PLC only in left channel */ const float A_cng[] ); /*! r: codebook index */ int16_t tcxlpc_get_cdk( Loading Loading @@ -9228,8 +9222,7 @@ void mode_switch_decoder_LPD( const int32_t total_brate, /* i : total bitrate */ const int32_t last_total_brate, /* i : last frame total bitrate */ const int16_t frame_size_index, /* i : index determining the frame size*/ const int16_t is_mct /* i : MCT mode flag */ , const int16_t is_mct, /* i : MCT mode flag */ const int16_t last_element_mode /* i : last element mode */ ); Loading Loading @@ -9510,10 +9503,8 @@ void TonalMDCTConceal_SaveFreqSignal( const float *mdctSpectrum, const uint16_t numSamples, const uint16_t nNewSamplesCore, const float *scaleFactors , const int16_t infoIGFStartLine ); const float *scaleFactors, const int16_t infoIGFStartLine ); void TonalMDCTConceal_UpdateState( TonalMDCTConcealPtr hTonalMDCTConc, Loading
lib_com/stat_com.h +1 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,7 @@ typedef struct int16_t frame_type_previous; float A_cng[17]; float A_cng[M + 1]; float exc_cng[L_FRAME16k]; int32_t CngBitrate; Loading