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