From cee61b57c8459f4e9eb787dd8a5f9507770deb02 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 14 Jun 2007 22:35:01 +0000 Subject: Remove some unused code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13630 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/demac/libdemac/entropy.c | 2 +- apps/codecs/demac/libdemac/predictor.c | 2 -- apps/codecs/demac/libdemac/vector_math32.h | 54 ------------------------------ 3 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 apps/codecs/demac/libdemac/vector_math32.h (limited to 'apps/codecs/demac/libdemac') diff --git a/apps/codecs/demac/libdemac/entropy.c b/apps/codecs/demac/libdemac/entropy.c index 2c60420250..76d977da82 100644 --- a/apps/codecs/demac/libdemac/entropy.c +++ b/apps/codecs/demac/libdemac/entropy.c @@ -2,7 +2,7 @@ libdemac - A Monkey's Audio decoder -$Id:$ +$Id$ Copyright (C) Dave Chapman 2007 diff --git a/apps/codecs/demac/libdemac/predictor.c b/apps/codecs/demac/libdemac/predictor.c index 90f24e416b..efc334e858 100644 --- a/apps/codecs/demac/libdemac/predictor.c +++ b/apps/codecs/demac/libdemac/predictor.c @@ -28,8 +28,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA #include "parser.h" #include "predictor.h" -#include "vector_math32.h" - /* Return 0 if x is zero, -1 if x is positive, 1 if x is negative */ #define SIGN(x) (x) ? (((x) > 0) ? -1 : 1) : 0 diff --git a/apps/codecs/demac/libdemac/vector_math32.h b/apps/codecs/demac/libdemac/vector_math32.h deleted file mode 100644 index b32867ca5d..0000000000 --- a/apps/codecs/demac/libdemac/vector_math32.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - -libdemac - A Monkey's Audio decoder - -$Id:$ - -Copyright (C) Dave Chapman 2007 - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA - -*/ - -/* 32-bit vector math functions */ - -#define scalarproduct4_rev32(x,y) ((x[0] * y[0]) + (x[1] * y[-1]) + \ - (x[2] * y[-2]) + (x[3] * y[-3])) - -#define scalarproduct5_rev32(x,y) ((x[0] * y[0]) + (x[1] * y[-1]) + \ - (x[2] * y[-2]) + (x[3] * y[-3]) + \ - (x[4] * y[-4])) - -#define vector_sub4_rev32(x, y) { x[0] -= y[0]; \ - x[1] -= y[-1]; \ - x[2] -= y[-2]; \ - x[3] -= y[-3]; } - -#define vector_sub5_rev32(x, y) { x[0] -= y[0]; \ - x[1] -= y[-1]; \ - x[2] -= y[-2]; \ - x[3] -= y[-3]; \ - x[4] -= y[-4]; } - -#define vector_add4_rev32(x, y) { x[0] += y[0]; \ - x[1] += y[-1]; \ - x[2] += y[-2]; \ - x[3] += y[-3]; } - -#define vector_add5_rev32(x, y) { x[0] += y[0]; \ - x[1] += y[-1]; \ - x[2] += y[-2]; \ - x[3] += y[-3]; \ - x[4] += y[-4]; } -- cgit v1.2.3