1 #ifndef TIMLUTILDSP_H_\r
2 #define TIMLUTILDSP_H_\r
3 \r
4 \r
5 /******************************************************************************/\r
6 /*!\r
7 * \file timlUtilDSP.h\r
8 * \brief timl DSP util APIs\r
9 * \defgroup utilDSP utilDSP\r
10 */\r
11 /* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/\r
12 *\r
13 * Redistribution and use in source and binary forms, with or without\r
14 * modification, are permitted provided that the following conditions\r
15 * are met:\r
16 *\r
17 * Redistributions of source code must retain the above copyright\r
18 * notice, this list of conditions and the following disclaimer.\r
19 *\r
20 * Redistributions in binary form must reproduce the above copyright\r
21 * notice, this list of conditions and the following disclaimer in the\r
22 * documentation and/or other materials provided with the\r
23 * distribution.\r
24 *\r
25 * Neither the name of Texas Instruments Incorporated nor the names of\r
26 * its contributors may be used to endorse or promote products derived\r
27 * from this software without specific prior written permission.\r
28 *\r
29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r
30 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\r
31 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\r
32 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\r
33 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r
34 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\r
35 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
36 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\r
37 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
38 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r
39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
40 *\r
41 ******************************************************************************/\r
42 \r
43 \r
44 /*******************************************************************************\r
45 *\r
46 * INCLUDES\r
47 *\r
48 ******************************************************************************/\r
49 \r
50 #include <CL/cl_ext.h>\r
51 #include "../../common/api/timl.h"\r
52 \r
53 //! \ingroup utilDSP\r
54 //@{\r
55 \r
56 \r
57 /*******************************************************************************\r
58 *\r
59 * FUNCTION PROTOTYPES\r
60 *\r
61 ******************************************************************************/\r
62 \r
63 void* timlUtilMallocDSP(size_t size);\r
64 \r
65 void timlUtilFreeDSP(void* ptr);\r
66 \r
67 //@}\r
68 #endif\r
69 \r