OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM 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 __INC_EXTEND_H | 12 #ifndef __VPX_MEM_NDS_H__ |
13 #define __INC_EXTEND_H | 13 #define __VPX_MEM_NDS_H__ |
14 | 14 |
15 #include "vpx_scale/yv12config.h" | 15 #if defined(__cplusplus) |
| 16 extern "C" { |
| 17 #endif |
16 | 18 |
17 void vp8_extend_mb_row(YV12_BUFFER_CONFIG *ybf, unsigned char *YPtr, unsigned ch
ar *UPtr, unsigned char *VPtr); | 19 #include <nitro.h> |
18 void vp8_copy_and_extend_frame(YV12_BUFFER_CONFIG *src, | 20 #include <nitro/os.h> |
19 YV12_BUFFER_CONFIG *dst); | |
20 | 21 |
| 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); |
| 24 int vpx_nds_alloc_heap(osarena_id id, u32 size); |
| 25 |
| 26 #if defined(__cplusplus) |
| 27 } |
21 #endif | 28 #endif |
| 29 |
| 30 #endif /*__VPX_MEM_NDS_H__*/ |
OLD | NEW |