1 /* 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 12 #ifndef __VPX_MEM_NDS_H__ 13 #define __VPX_MEM_NDS_H__ 14 15 #if defined(__cplusplus) 16 extern "C" { 17 #endif 18 19 #include <nitro.h> 20 #include <nitro/os.h> 21 22 void *vpx_mem_nds_alloc(osarena_id id, osheap_handle handle, size_t size, size_t align); 23 void vpx_mem_nds_free(osarena_id id, osheap_handle handle, void *mem); 24 int vpx_nds_alloc_heap(osarena_id id, u32 size); 25 26 #if defined(__cplusplus) 27 } 28 #endif 29 30 #endif /*__VPX_MEM_NDS_H__*/ 31