Home | History | Annotate | Download | only in sbc
      1 /*
      2  *
      3  *  Bluetooth low-complexity, subband codec (SBC) library
      4  *
      5  *  Copyright (C) 2010 Keith Mok <ek9852 (at) gmail.com>
      6  *  Copyright (C) 2008-2010  Nokia Corporation
      7  *  Copyright (C) 2004-2010  Marcel Holtmann <marcel (at) holtmann.org>
      8  *  Copyright (C) 2004-2005  Henryk Ploetz <henryk (at) ploetzli.ch>
      9  *  Copyright (C) 2005-2006  Brad Midgley <bmidgley (at) xmission.com>
     10  *
     11  *
     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.
     16  *
     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.
     21  *
     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
     25  *
     26  */
     27 
     28 #ifndef __SBC_PRIMITIVES_IWMMXT_H
     29 #define __SBC_PRIMITIVES_IWMMXT_H
     30 
     31 #include "sbc_primitives.h"
     32 
     33 #if defined(__GNUC__) && defined(__IWMMXT__) && \
     34 		!defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15)
     35 
     36 #define SBC_BUILD_WITH_IWMMXT_SUPPORT
     37 
     38 void sbc_init_primitives_iwmmxt(struct sbc_encoder_state *encoder_state);
     39 
     40 #endif
     41 
     42 #endif
     43