Loading apps/decoder.c +4 −0 Original line number Diff line number Diff line Loading @@ -1691,6 +1691,10 @@ static ivas_error decodeG192( goto cleanup; } } if (frame == 283) { frame = frame; //return error; } if ( ( error = IVAS_DEC_GetSamples( hIvasDec, nSamplesToRender, ( pcmBuf + nOutChannels * nSamplesRendered ), &nSamplesRendered_loop, &needNewFrame ) ) != IVAS_ERR_OK ) { 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 +1 −0 Original line number Diff line number Diff line Loading @@ -255,4 +255,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 @@ -4924,6 +4924,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 Loading
apps/decoder.c +4 −0 Original line number Diff line number Diff line Loading @@ -1691,6 +1691,10 @@ static ivas_error decodeG192( goto cleanup; } } if (frame == 283) { frame = frame; //return error; } if ( ( error = IVAS_DEC_GetSamples( hIvasDec, nSamplesToRender, ( pcmBuf + nOutChannels * nSamplesRendered ), &nSamplesRendered_loop, &needNewFrame ) ) != IVAS_ERR_OK ) { 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 +1 −0 Original line number Diff line number Diff line Loading @@ -255,4 +255,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 @@ -4924,6 +4924,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