]> code.delx.au - pulseaudio/blob - src/modules/bluetooth/sbc_primitives_mmx.h
Merge remote branch 'tanuk/master'
[pulseaudio] / src / modules / bluetooth / sbc_primitives_mmx.h
1 /*
2 *
3 * Bluetooth low-complexity, subband codec (SBC) library
4 *
5 * Copyright (C) 2004-2009 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_MMX_H
27 #define __SBC_PRIMITIVES_MMX_H
28
29 #include "sbc_primitives.h"
30
31 #if defined(__GNUC__) && (defined(__i386__) || defined(__amd64__)) && \
32 !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15)
33
34 #define SBC_BUILD_WITH_MMX_SUPPORT
35
36 void sbc_init_primitives_mmx(struct sbc_encoder_state *encoder_state);
37
38 #endif
39
40 #endif