OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 vpx_variance_fn_t svf_halfpix_hv; | 67 vpx_variance_fn_t svf_halfpix_hv; |
68 vpx_sad_multi_fn_t sdx3f; | 68 vpx_sad_multi_fn_t sdx3f; |
69 vpx_sad_multi_fn_t sdx8f; | 69 vpx_sad_multi_fn_t sdx8f; |
70 vpx_sad_multi_d_fn_t sdx4df; | 70 vpx_sad_multi_d_fn_t sdx4df; |
71 #if ARCH_X86 || ARCH_X86_64 | 71 #if ARCH_X86 || ARCH_X86_64 |
72 vp8_copy32xn_fn_t copymem; | 72 vp8_copy32xn_fn_t copymem; |
73 #endif | 73 #endif |
74 } vp8_variance_fn_ptr_t; | 74 } vp8_variance_fn_ptr_t; |
75 #endif // CONFIG_VP8 | 75 #endif // CONFIG_VP8 |
76 | 76 |
77 #if CONFIG_VP9 | 77 #if CONFIG_VP9 || CONFIG_VP10 |
78 typedef struct vp9_variance_vtable { | 78 typedef struct vp9_variance_vtable { |
79 vpx_sad_fn_t sdf; | 79 vpx_sad_fn_t sdf; |
80 vpx_sad_avg_fn_t sdaf; | 80 vpx_sad_avg_fn_t sdaf; |
81 vpx_variance_fn_t vf; | 81 vpx_variance_fn_t vf; |
82 vpx_subpixvariance_fn_t svf; | 82 vpx_subpixvariance_fn_t svf; |
83 vpx_subp_avg_variance_fn_t svaf; | 83 vpx_subp_avg_variance_fn_t svaf; |
84 vpx_sad_multi_fn_t sdx3f; | 84 vpx_sad_multi_fn_t sdx3f; |
85 vpx_sad_multi_fn_t sdx8f; | 85 vpx_sad_multi_fn_t sdx8f; |
86 vpx_sad_multi_d_fn_t sdx4df; | 86 vpx_sad_multi_d_fn_t sdx4df; |
87 } vp9_variance_fn_ptr_t; | 87 } vp9_variance_fn_ptr_t; |
88 #endif // CONFIG_VP9 | 88 #endif // CONFIG_VP9 || CONFIG_VP10 |
89 | 89 |
90 #ifdef __cplusplus | 90 #ifdef __cplusplus |
91 } // extern "C" | 91 } // extern "C" |
92 #endif | 92 #endif |
93 | 93 |
94 #endif // VPX_DSP_VARIANCE_H_ | 94 #endif // VPX_DSP_VARIANCE_H_ |
OLD | NEW |