Loading lib_dec/ivas_jbm_dec.c +4 −2 Original line number Diff line number Diff line Loading @@ -964,8 +964,10 @@ ivas_error ivas_jbm_dec_render( { for ( n = 0; n < *nSamplesRendered; n++ ) { p_output[0][n] = 0.5f * ( p_output[0][n] + p_output[1][n] ); /* W = 0.5 * ( L + R ) */ p_output[1][n] = 0.5f * ( p_output[0][n] - p_output[1][n] ); /* Y = 0.5 * ( L - R ) */ float tmp; tmp = p_output[0][n]; p_output[0][n] = 0.5f * ( tmp + p_output[1][n] ); /* W = 0.5 * ( L + R ) */ p_output[1][n] = 0.5f * ( tmp - p_output[1][n] ); /* Y = 0.5 * ( L - R ) */ } } } Loading Loading
lib_dec/ivas_jbm_dec.c +4 −2 Original line number Diff line number Diff line Loading @@ -964,8 +964,10 @@ ivas_error ivas_jbm_dec_render( { for ( n = 0; n < *nSamplesRendered; n++ ) { p_output[0][n] = 0.5f * ( p_output[0][n] + p_output[1][n] ); /* W = 0.5 * ( L + R ) */ p_output[1][n] = 0.5f * ( p_output[0][n] - p_output[1][n] ); /* Y = 0.5 * ( L - R ) */ float tmp; tmp = p_output[0][n]; p_output[0][n] = 0.5f * ( tmp + p_output[1][n] ); /* W = 0.5 * ( L + R ) */ p_output[1][n] = 0.5f * ( tmp - p_output[1][n] ); /* Y = 0.5 * ( L - R ) */ } } } Loading