]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/audio-preprocessing.git/blob - file_demo_bios/am572x/components/mhm/mhm.h
Resturcture the GIT repository for noise reduction demo:
[processor-sdk/audio-preprocessing.git] / file_demo_bios / am572x / components / mhm / mhm.h
1 #ifndef _MHM_H\r
2 #define _MHM_H\r
3 /******************************************************************************\r
4  * FILE PURPOSE: Definitions and API's for the multiple heap manager.\r
5  ******************************************************************************\r
6  * FILE NAME:   MHM.H\r
7  *\r
8  * DESCRIPTION: Contains definitions and API's for the multiple heap manager.\r
9  *\r
10  * TABS: NONE\r
11  *\r
12  * $Id: mhm.h 1.1 1997/06/25 11:40:55 BOGDANK Exp $\r
13  *\r
14  * REVISION HISTORY:\r
15  *\r
16  * $Log: mhm.h $\r
17  * Revision 1.1  1997/06/25 11:40:55  BOGDANK\r
18  * Initial revision\r
19  *\r
20  *        Copyright (c) 2007 \96 2013 Texas Instruments Incorporated                
21  *                                                                                
22  *              All rights reserved not granted herein.                           
23  *                                                                                
24  *                         Limited License.                                       
25  *                                                                                
26  *  Texas Instruments Incorporated grants a world-wide, royalty-free,             
27  *  non-exclusive license under copyrights and patents it now or hereafter owns   
28  *  or controls to make, have made, use, import, offer to sell and sell           
29  *  ("Utilize") this software subject to the terms herein.  With respect to the   
30  *  foregoing patent license, such license is granted solely to the extent that   
31  *  any such patent is necessary to Utilize the software alone.  The patent       
32  *  license shall not apply to any combinations which include this software,      
33  *  other than combinations with devices manufactured by or for TI (\93TI           
34  *  Devices\94).  No hardware patent is licensed hereunder.                         
35  *                                                                                
36  *  Redistributions must preserve existing copyright notices and reproduce this   
37  *  license (including the above copyright notice and the disclaimer and (if      
38  *  applicable) source code license limitations below) in the documentation       
39  *  and/or other materials provided with the distribution                         
40  *                                                                                
41  *  Redistribution and use in binary form, without modification, are permitted    
42  *  provided that the following conditions are met:                               
43  *                                                                                
44  *    *  No reverse engineering, decompilation, or disassembly of this software   
45  *  is permitted with respect to any software provided in binary form.            
46  *                                                                                
47  *    *  any redistribution and use are licensed by TI for use only with TI       
48  *  Devices.                                                                      
49  *                                                                                
50  *    *  Nothing shall obligate TI to provide you with source code for the        
51  *  software licensed and provided to you in object code.                         
52  *                                                                                
53  *  If software source code is provided to you, modification and redistribution   
54  *  of the source code are permitted provided that the following conditions are   
55  *  met:                                                                          
56  *                                                                                
57  *    *  any redistribution and use of the source code, including any resulting   
58  *  derivative works, are licensed by TI for use only with TI Devices.            
59  *                                                                                
60  *    *  any redistribution and use of any object code compiled from the source   
61  *  code and any resulting derivative works, are licensed by TI for use only      
62  *  with TI Devices.                                                              
63  *                                                                                
64  *  Neither the name of Texas Instruments Incorporated nor the names of its       
65  *  suppliers may be used to endorse or promote products derived from this        
66  *  software without specific prior written permission.                           
67  *                                                                                
68  *  DISCLAIMER.                                                                   
69  *                                                                                
70  *  THIS SOFTWARE IS PROVIDED BY TI AND TI\92S LICENSORS "AS IS" AND ANY EXPRESS    
71  *  OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED             
72  *  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE        
73  *  DISCLAIMED. IN NO EVENT SHALL TI AND TI\92S LICENSORS BE LIABLE FOR ANY         
74  *  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES    
75  *  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR            
76  *  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER    
77  *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT            
78  *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY     
79  *  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH   
80  *  DAMAGE.                                                                       \r
81  *****************************************************************************/\r
82 \r
83 /* System definitions and utilities */\r
84 #include <ti/mas/types/types.h>               /* DSP types                   */\r
85 \r
86 /* API */\r
87 void *mhmCreate       (void *base, tuint size, tword initPattern);\r
88 void *mhmAlloc        (void *handle, tuint size);\r
89 void *mhmAllocAligned (void *handle, tuint size, tint log2align);\r
90 void  mhmFree         (void *handle, void *base);\r
91 void  mhmReset        (void *handle);\r
92 \r
93 #endif  /* _MHM_H */\r
94 /* nothing past this point */\r
95 \r