Loading lib_com/basop32.c +8 −0 Original line number Diff line number Diff line Loading @@ -3577,12 +3577,20 @@ Word16 div_l( Word32 L_num, Word16 den ) if ( den == (Word16) 0 ) { #ifdef IVAS_FLOAT_FIXED /* NOTE: This is just for temporary usage for identifying crashes */ assert( 0 ); #endif // IVAS_FLOAT_FIXED /* printf("Division by 0 in div_l, Fatal error in "); printStack(); */ exit( -1 ); } if ( ( L_num < (Word32) 0 ) || ( den < (Word16) 0 ) ) { #ifdef IVAS_FLOAT_FIXED /* NOTE: This is just for temporary usage for identifying crashes */ assert( 0 ); #endif // IVAS_FLOAT_FIXED /* printf("Division Error in div_l, Fatal error in "); printStack(); */ exit( -1 ); } Loading lib_com/common_api_types.h +6 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,11 @@ typedef struct _IVAS_ISM_METADATA #ifdef IVAS_FLOAT_FIXED Word32 azimuth_fx; Word32 elevation_fx; Word16 radius_fx; Word32 spread_fx; Word32 gainFactor_fx; Word32 yaw_fx; Word32 pitch_fx; #endif float azimuth; float elevation; Loading Loading @@ -255,4 +260,5 @@ typedef struct _IVAS_RENDER_CONFIG #endif } IVAS_RENDER_CONFIG_DATA, *IVAS_RENDER_CONFIG_HANDLE; #endif /* COMMON_API_TYPES_H */ lib_com/ivas_prot.h +11 −0 Original line number Diff line number Diff line Loading @@ -4942,6 +4942,17 @@ Word16 computeMixingMatricesResidual_fx( ); #endif /*! r: error or success */ Word16 svd_fx( Word32 InputMatrix[][MAX_OUTPUT_CHANNELS], /* i : matrix to be decomposed (M) */ Word16 InputMatrix_e, float singularVectors_Left[][MAX_OUTPUT_CHANNELS], /* o : left singular vectors (U) */ float singularValues[MAX_OUTPUT_CHANNELS], /* o : singular values vector (S) */ float singularVectors_Right[][MAX_OUTPUT_CHANNELS], /* o : right singular vectors (V) */ const Word16 nChannelsL, /* i : number of rows in the matrix to be decomposed */ const Word16 nChannelsC /* i : number of columns in the matrix to be decomposed */ ); /*! r: error or success */ int16_t svd( float InputMatrix[][MAX_OUTPUT_CHANNELS], /* i : matrix to be decomposed (M) */ Loading lib_dec/d_gain2p_fx.c +0 −2 Original line number Diff line number Diff line Loading @@ -332,7 +332,6 @@ static void gain_dec_gacelp_uv_fx( /********************* * public functions * *********************/ void decode_acelp_gains_fx( Word16 *code, /* i : algebraic code excitation Q9 */ Word16 gains_mode, Loading Loading @@ -381,7 +380,6 @@ void decode_acelp_gains_fx( } /*---------------------------------------------------------------------* * d_gain_pred_fx : * Loading lib_dec/hq_core_dec.c +1 −0 Original line number Diff line number Diff line Loading @@ -501,6 +501,7 @@ void hq_core_dec( * * Initialize HQ core state structure *-------------------------------------------------------------------*/ #ifndef IVAS_FLOAT_FIXED void HQ_core_dec_init_flt( HQ_DEC_HANDLE hHQ_core /* i/o: HQ core data handle */ Loading Loading
lib_com/basop32.c +8 −0 Original line number Diff line number Diff line Loading @@ -3577,12 +3577,20 @@ Word16 div_l( Word32 L_num, Word16 den ) if ( den == (Word16) 0 ) { #ifdef IVAS_FLOAT_FIXED /* NOTE: This is just for temporary usage for identifying crashes */ assert( 0 ); #endif // IVAS_FLOAT_FIXED /* printf("Division by 0 in div_l, Fatal error in "); printStack(); */ exit( -1 ); } if ( ( L_num < (Word32) 0 ) || ( den < (Word16) 0 ) ) { #ifdef IVAS_FLOAT_FIXED /* NOTE: This is just for temporary usage for identifying crashes */ assert( 0 ); #endif // IVAS_FLOAT_FIXED /* printf("Division Error in div_l, Fatal error in "); printStack(); */ exit( -1 ); } Loading
lib_com/common_api_types.h +6 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,11 @@ typedef struct _IVAS_ISM_METADATA #ifdef IVAS_FLOAT_FIXED Word32 azimuth_fx; Word32 elevation_fx; Word16 radius_fx; Word32 spread_fx; Word32 gainFactor_fx; Word32 yaw_fx; Word32 pitch_fx; #endif float azimuth; float elevation; Loading Loading @@ -255,4 +260,5 @@ typedef struct _IVAS_RENDER_CONFIG #endif } IVAS_RENDER_CONFIG_DATA, *IVAS_RENDER_CONFIG_HANDLE; #endif /* COMMON_API_TYPES_H */
lib_com/ivas_prot.h +11 −0 Original line number Diff line number Diff line Loading @@ -4942,6 +4942,17 @@ Word16 computeMixingMatricesResidual_fx( ); #endif /*! r: error or success */ Word16 svd_fx( Word32 InputMatrix[][MAX_OUTPUT_CHANNELS], /* i : matrix to be decomposed (M) */ Word16 InputMatrix_e, float singularVectors_Left[][MAX_OUTPUT_CHANNELS], /* o : left singular vectors (U) */ float singularValues[MAX_OUTPUT_CHANNELS], /* o : singular values vector (S) */ float singularVectors_Right[][MAX_OUTPUT_CHANNELS], /* o : right singular vectors (V) */ const Word16 nChannelsL, /* i : number of rows in the matrix to be decomposed */ const Word16 nChannelsC /* i : number of columns in the matrix to be decomposed */ ); /*! r: error or success */ int16_t svd( float InputMatrix[][MAX_OUTPUT_CHANNELS], /* i : matrix to be decomposed (M) */ Loading
lib_dec/d_gain2p_fx.c +0 −2 Original line number Diff line number Diff line Loading @@ -332,7 +332,6 @@ static void gain_dec_gacelp_uv_fx( /********************* * public functions * *********************/ void decode_acelp_gains_fx( Word16 *code, /* i : algebraic code excitation Q9 */ Word16 gains_mode, Loading Loading @@ -381,7 +380,6 @@ void decode_acelp_gains_fx( } /*---------------------------------------------------------------------* * d_gain_pred_fx : * Loading
lib_dec/hq_core_dec.c +1 −0 Original line number Diff line number Diff line Loading @@ -501,6 +501,7 @@ void hq_core_dec( * * Initialize HQ core state structure *-------------------------------------------------------------------*/ #ifndef IVAS_FLOAT_FIXED void HQ_core_dec_init_flt( HQ_DEC_HANDLE hHQ_core /* i/o: HQ core data handle */ Loading