OSDN Git Service

c462698475bc6df5795a7f8095e520a05df604f2
[android-x86/external-bluetooth-sbc.git] / sbc / sbc_primitives_neon.h
1 /*
2  *
3  *  Bluetooth low-complexity, subband codec (SBC) library
4  *
5  *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>
6  *  Copyright (C) 2004-2005  Henryk Ploetz <henryk@ploetzli.ch>
7  *  Copyright (C) 2005-2006  Brad Midgley <bmidgley@xmission.com>
8  *
9  *
10  *  This library is free software; you can redistribute it and/or
11  *  modify it under the terms of the GNU Lesser General Public
12  *  License as published by the Free Software Foundation; either
13  *  version 2.1 of the License, or (at your option) any later version.
14  *
15  *  This library is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  *  Lesser General Public License for more details.
19  *
20  *  You should have received a copy of the GNU Lesser General Public
21  *  License along with this library; if not, write to the Free Software
22  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
23  *
24  */
25
26 #ifndef __SBC_PRIMITIVES_NEON_H
27 #define __SBC_PRIMITIVES_NEON_H
28
29 #include "sbc_primitives.h"
30
31 #if defined(__GNUC__) && defined(__ARM_NEON__) && \
32                 !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15)
33
34 #define SBC_BUILD_WITH_NEON_SUPPORT
35
36 void sbc_init_primitives_neon(struct sbc_encoder_state *encoder_state);
37
38 #endif
39
40 #endif