summaryrefslogtreecommitdiff
path: root/vpx_mem/include/nds/vpx_mem_nds.h
diff options
context:
space:
mode:
Diffstat (limited to 'vpx_mem/include/nds/vpx_mem_nds.h')
-rw-r--r--vpx_mem/include/nds/vpx_mem_nds.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/vpx_mem/include/nds/vpx_mem_nds.h b/vpx_mem/include/nds/vpx_mem_nds.h
new file mode 100644
index 000000000..c33240398
--- /dev/null
+++ b/vpx_mem/include/nds/vpx_mem_nds.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license and patent
+ * grant that can be found in the LICENSE file in the root of the source
+ * tree. All contributing project authors may be found in the AUTHORS
+ * file in the root of the source tree.
+ */
+
+
+#ifndef __VPX_MEM_NDS_H__
+#define __VPX_MEM_NDS_H__
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+#include <nitro.h>
+#include <nitro/os.h>
+
+ void *vpx_mem_nds_alloc(osarena_id id, osheap_handle handle, size_t size, size_t align);
+ void vpx_mem_nds_free(osarena_id id, osheap_handle handle, void *mem);
+ int vpx_nds_alloc_heap(osarena_id id, u32 size);
+
+#if defined(__cplusplus)
+}
+#endif
+
+#endif /*__VPX_MEM_NDS_H__*/