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 (at) holtmann.org> 7 * Copyright (C) 2004-2005 Henryk Ploetz <henryk (at) ploetzli.ch> 8 * Copyright (C) 2005-2006 Brad Midgley <bmidgley (at) 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_MMX_H 28 #define __SBC_PRIMITIVES_MMX_H 29 30 #include "sbc_primitives.h" 31 32 #if defined(__GNUC__) && (defined(__i386__) || defined(__amd64__)) && \ 33 !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15) 34 35 #define SBC_BUILD_WITH_MMX_SUPPORT 36 37 void sbc_init_primitives_mmx(struct sbc_encoder_state *encoder_state); 38 39 #endif 40 41 #endif 42