Skip to content
Snippets Groups Projects
Unverified Commit 2582ca92 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Allow wrap-around in silk_LPC_analysis_filter_avx2()

Matches the C version (see 4a7027b2)
parent e12c7f58
No related branches found
No related tags found
No related merge requests found
......@@ -1073,7 +1073,7 @@ static OPUS_INLINE void silk_LPC_analysis_filter_avx2(
out32_Q12 = silk_mm256_hsum_epi32(sum);
/* Subtract prediction */
out32_Q12 = silk_LSHIFT((opus_int32)*in_ptr, 12 ) - out32_Q12;
out32_Q12 = silk_SUB32_ovflw( silk_LSHIFT( (opus_int32)*in_ptr, 12 ), out32_Q12 );
/* Scale to Q0 */
out32 = silk_sar_round_32(out32_Q12, 12);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment