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