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 |
(...skipping 12 matching lines...) Expand all Loading... |
23 #if defined(__cplusplus) | 23 #if defined(__cplusplus) |
24 extern "C" { | 24 extern "C" { |
25 #endif | 25 #endif |
26 | 26 |
27 void *vpx_memalign(size_t align, size_t size); | 27 void *vpx_memalign(size_t align, size_t size); |
28 void *vpx_malloc(size_t size); | 28 void *vpx_malloc(size_t size); |
29 void *vpx_calloc(size_t num, size_t size); | 29 void *vpx_calloc(size_t num, size_t size); |
30 void *vpx_realloc(void *memblk, size_t size); | 30 void *vpx_realloc(void *memblk, size_t size); |
31 void vpx_free(void *memblk); | 31 void vpx_free(void *memblk); |
32 | 32 |
33 #if CONFIG_VP9 && CONFIG_VP9_HIGHBITDEPTH | 33 #if CONFIG_VP9_HIGHBITDEPTH |
34 void *vpx_memset16(void *dest, int val, size_t length); | 34 void *vpx_memset16(void *dest, int val, size_t length); |
35 #endif | 35 #endif |
36 | 36 |
37 #include <string.h> | 37 #include <string.h> |
38 | 38 |
39 #ifdef VPX_MEM_PLTFRM | 39 #ifdef VPX_MEM_PLTFRM |
40 # include VPX_MEM_PLTFRM | 40 # include VPX_MEM_PLTFRM |
41 #endif | 41 #endif |
42 | 42 |
43 #if defined(__cplusplus) | 43 #if defined(__cplusplus) |
44 } | 44 } |
45 #endif | 45 #endif |
46 | 46 |
47 #endif // VPX_MEM_VPX_MEM_H_ | 47 #endif // VPX_MEM_VPX_MEM_H_ |
OLD | NEW |