shithub: opus

Download patch

ref: 96e2be37b88cdc00f842d486ef449fd3fcd348dc
parent: 1f26ee2bbd7ae5447b71a78641bb60e58162d68e
author: Jean-Marc Valin <[email protected]>
date: Mon Jun 17 10:02:10 EDT 2013

Only enable non-multiple of 4 in comb_filter_const() when CUSTOM_MODES is on

--- a/celt/x86/pitch_sse.h
+++ b/celt/x86/pitch_sse.h
@@ -141,6 +141,7 @@
       x0v=x4v;
       _mm_storeu_ps(y+i, yi);
    }
+#ifdef CUSTOM_MODES
    for (;i<N;i++)
    {
       y[i] = x[i]
@@ -148,6 +149,7 @@
                + MULT16_32_Q15(g11,ADD32(x[i-T+1],x[i-T-1]))
                + MULT16_32_Q15(g12,ADD32(x[i-T+2],x[i-T-2]));
    }
+#endif
 }
 
 #endif