3 * Bluetooth low-complexity, subband codec (SBC) library
5 * Copyright (C) 2010 Keith Mok <ek9852@gmail.com>
6 * Copyright (C) 2008-2010 Nokia Corporation
7 * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
8 * Copyright (C) 2004-2005 Henryk Ploetz <henryk@ploetzli.ch>
9 * Copyright (C) 2005-2006 Brad Midgley <bmidgley@xmission.com>
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 #ifndef __SBC_PRIMITIVES_IWMMXT_H
29 #define __SBC_PRIMITIVES_IWMMXT_H
31 #include "sbc_primitives.h"
33 #if defined(__GNUC__) && defined(__IWMMXT__) && \
34 !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15)
36 #define SBC_BUILD_WITH_IWMMXT_SUPPORT
38 void sbc_init_primitives_iwmmxt(struct sbc_encoder_state *encoder_state);