Loading lib_dec/ivas_svd_dec_fx.c +7 −2 Original line number Diff line number Diff line Loading @@ -56,6 +56,11 @@ #ifdef FLOATCODE float fxtofloat(Word32 fx, Word16 e) { return (float)fx/(float)((Word64)1<<(e+2)); } void floattofx(float x,Word32* fx,Word16 *e) { float y; Loading @@ -64,7 +69,7 @@ void floattofx(float x,Word32* fx,Word16 *e) *fx=0; *e=0; *e=10; if (x==0) return; Loading Loading @@ -1069,7 +1074,7 @@ static void HouseholderReduction_fx( { FOR( iCh = 0; iCh < nChannelsC; iCh++ ) { singularVectors_float[jCh][iCh] = (float)singularVectors_Left_fx[jCh][iCh]/(float)((Word64)1<<(singularVectors_Left_e+2)); singularVectors_float[jCh][iCh] = fxtofloat(singularVectors_Left_fx[jCh][iCh],singularVectors_Left_e); } } g_left=0; Loading Loading
lib_dec/ivas_svd_dec_fx.c +7 −2 Original line number Diff line number Diff line Loading @@ -56,6 +56,11 @@ #ifdef FLOATCODE float fxtofloat(Word32 fx, Word16 e) { return (float)fx/(float)((Word64)1<<(e+2)); } void floattofx(float x,Word32* fx,Word16 *e) { float y; Loading @@ -64,7 +69,7 @@ void floattofx(float x,Word32* fx,Word16 *e) *fx=0; *e=0; *e=10; if (x==0) return; Loading Loading @@ -1069,7 +1074,7 @@ static void HouseholderReduction_fx( { FOR( iCh = 0; iCh < nChannelsC; iCh++ ) { singularVectors_float[jCh][iCh] = (float)singularVectors_Left_fx[jCh][iCh]/(float)((Word64)1<<(singularVectors_Left_e+2)); singularVectors_float[jCh][iCh] = fxtofloat(singularVectors_Left_fx[jCh][iCh],singularVectors_Left_e); } } g_left=0; Loading