vpx/vpx_mem/include/nds/vpx_mem_nds.h

31 lines
840 B
C
Raw Normal View History

2010-05-18 17:58:33 +02:00
/*
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
2010-05-18 17:58:33 +02:00
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
2010-05-18 17:58:33 +02:00
*/
#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__*/