/src/libvpx/vpx_mem/vpx_mem.h
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 | | * |
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 |
6 | | * tree. An additional intellectual property rights grant can be found |
7 | | * in the file PATENTS. All contributing project authors may |
8 | | * be found in the AUTHORS file in the root of the source tree. |
9 | | */ |
10 | | |
11 | | #ifndef VPX_VPX_MEM_VPX_MEM_H_ |
12 | | #define VPX_VPX_MEM_VPX_MEM_H_ |
13 | | |
14 | | #include "vpx_config.h" |
15 | | #if defined(__uClinux__) |
16 | | #include <lddk.h> |
17 | | #endif |
18 | | |
19 | | #include <stdlib.h> |
20 | | #include <stddef.h> |
21 | | |
22 | | #include "vpx/vpx_integer.h" |
23 | | |
24 | | #if defined(__cplusplus) |
25 | | extern "C" { |
26 | | #endif |
27 | | |
28 | | void *vpx_memalign(size_t align, size_t size); |
29 | | void *vpx_malloc(size_t size); |
30 | | void *vpx_calloc(size_t num, size_t size); |
31 | | void vpx_free(void *memblk); |
32 | | |
33 | | #if CONFIG_VP9_HIGHBITDEPTH |
34 | 16.1M | static INLINE void *vpx_memset16(void *dest, int val, size_t length) { |
35 | 16.1M | size_t i; |
36 | 16.1M | uint16_t *dest16 = (uint16_t *)dest; |
37 | 180M | for (i = 0; i < length; i++) *dest16++ = val; |
38 | 16.1M | return dest; |
39 | 16.1M | } Unexecuted instantiation: vp9_dx_iface.c:vpx_memset16 vp9_decodeframe.c:vpx_memset16 Line | Count | Source | 34 | 11.6M | static INLINE void *vpx_memset16(void *dest, int val, size_t length) { | 35 | 11.6M | size_t i; | 36 | 11.6M | uint16_t *dest16 = (uint16_t *)dest; | 37 | 133M | for (i = 0; i < length; i++) *dest16++ = val; | 38 | 11.6M | return dest; | 39 | 11.6M | } |
Unexecuted instantiation: vp9_detokenize.c:vpx_memset16 Unexecuted instantiation: vp9_decoder.c:vpx_memset16 Unexecuted instantiation: vp9_dsubexp.c:vpx_memset16 Unexecuted instantiation: vpx_mem.c:vpx_memset16 Unexecuted instantiation: yv12config.c:vpx_memset16 Unexecuted instantiation: yv12extend.c:vpx_memset16 Unexecuted instantiation: bitreader.c:vpx_memset16 Unexecuted instantiation: vpx_thread.c:vpx_memset16 Unexecuted instantiation: vp9_alloccommon.c:vpx_memset16 Unexecuted instantiation: vp9_blockd.c:vpx_memset16 Unexecuted instantiation: vp9_entropy.c:vpx_memset16 Unexecuted instantiation: vp9_entropymode.c:vpx_memset16 Unexecuted instantiation: vp9_entropymv.c:vpx_memset16 Unexecuted instantiation: vp9_frame_buffers.c:vpx_memset16 Unexecuted instantiation: vp9_idct.c:vpx_memset16 Unexecuted instantiation: vp9_pred_common.c:vpx_memset16 Unexecuted instantiation: vp9_rtcd.c:vpx_memset16 Unexecuted instantiation: vp9_scale.c:vpx_memset16 Unexecuted instantiation: vp9_seg_common.c:vpx_memset16 Unexecuted instantiation: vp9_tile_common.c:vpx_memset16 Unexecuted instantiation: vp9_loopfilter.c:vpx_memset16 Unexecuted instantiation: vp9_thread_common.c:vpx_memset16 Unexecuted instantiation: vp9_quant_common.c:vpx_memset16 Unexecuted instantiation: vp9_reconinter.c:vpx_memset16 vp9_reconintra.c:vpx_memset16 Line | Count | Source | 34 | 4.55M | static INLINE void *vpx_memset16(void *dest, int val, size_t length) { | 35 | 4.55M | size_t i; | 36 | 4.55M | uint16_t *dest16 = (uint16_t *)dest; | 37 | 46.8M | for (i = 0; i < length; i++) *dest16++ = val; | 38 | 4.55M | return dest; | 39 | 4.55M | } |
Unexecuted instantiation: vp9_scan.c:vpx_memset16 Unexecuted instantiation: vp9_idct_intrin_sse2.c:vpx_memset16 Unexecuted instantiation: vp9_highbd_iht4x4_add_sse4.c:vpx_memset16 Unexecuted instantiation: vp9_highbd_iht8x8_add_sse4.c:vpx_memset16 Unexecuted instantiation: vp9_highbd_iht16x16_add_sse4.c:vpx_memset16 Unexecuted instantiation: vp9_decodemv.c:vpx_memset16 Unexecuted instantiation: intrapred.c:vpx_memset16 Unexecuted instantiation: vpx_subpixel_8t_intrin_ssse3.c:vpx_memset16 Unexecuted instantiation: vp8_dx_iface.c:vpx_memset16 Unexecuted instantiation: onyxd_if.c:vpx_memset16 Unexecuted instantiation: threading.c:vpx_memset16 Unexecuted instantiation: alloccommon.c:vpx_memset16 Unexecuted instantiation: entropymode.c:vpx_memset16 Unexecuted instantiation: extend.c:vpx_memset16 Unexecuted instantiation: vp8_loopfilter.c:vpx_memset16 Unexecuted instantiation: reconintra.c:vpx_memset16 Unexecuted instantiation: reconintra4x4.c:vpx_memset16 Unexecuted instantiation: setupintrarecon.c:vpx_memset16 Unexecuted instantiation: postproc.c:vpx_memset16 Unexecuted instantiation: idct_blk_mmx.c:vpx_memset16 Unexecuted instantiation: decodeframe.c:vpx_memset16 Unexecuted instantiation: detokenize.c:vpx_memset16 Unexecuted instantiation: entropy.c:vpx_memset16 Unexecuted instantiation: mfqe.c:vpx_memset16 Unexecuted instantiation: dboolhuff.c:vpx_memset16 |
40 | | #endif |
41 | | |
42 | | #include <string.h> |
43 | | |
44 | | #ifdef VPX_MEM_PLTFRM |
45 | | #include VPX_MEM_PLTFRM |
46 | | #endif |
47 | | |
48 | | #if defined(__cplusplus) |
49 | | } |
50 | | #endif |
51 | | |
52 | | #endif // VPX_VPX_MEM_VPX_MEM_H_ |