Disabled ARM4 optimization of compute_weighted_codebook() until it's fixed
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Wed, 25 Jan 2006 10:40:48 +0000 (10:40 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Wed, 25 Jan 2006 10:40:48 +0000 (10:40 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@10753 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/cb_search_arm4.h

index 71318ba..19b752a 100644 (file)
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
+/* This optimization is temporaly disabled until it is fixed to account for the fact 
+   that "r" is now a 16-bit array */
+#if 0
 #define OVERRIDE_COMPUTE_WEIGHTED_CODEBOOK
-static void compute_weighted_codebook(const signed char *shape_cb, const spx_sig_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack)
+static void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack)
 {
    int i, j, k;
   //const signed char *shape;
@@ -131,3 +134,4 @@ static void compute_weighted_codebook(const signed char *shape_cb, const spx_sig
    }
 
 }
+#endif