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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 unsigned long *sum_sq_r, | 62 unsigned long *sum_sq_r, |
63 unsigned long *sum_sxr); | 63 unsigned long *sum_sxr); |
64 | 64 |
65 typedef unsigned int (*vp9_getmbss_fn_t)(const short *); | 65 typedef unsigned int (*vp9_getmbss_fn_t)(const short *); |
66 | 66 |
67 typedef unsigned int (*vp9_get16x16prederror_fn_t)(const uint8_t *src_ptr, | 67 typedef unsigned int (*vp9_get16x16prederror_fn_t)(const uint8_t *src_ptr, |
68 int source_stride, | 68 int source_stride, |
69 const uint8_t *ref_ptr, | 69 const uint8_t *ref_ptr, |
70 int ref_stride); | 70 int ref_stride); |
71 | 71 |
72 typedef struct variance_vtable { | 72 typedef struct vp9_variance_vtable { |
73 vp9_sad_fn_t sdf; | 73 vp9_sad_fn_t sdf; |
74 vp9_variance_fn_t vf; | 74 vp9_variance_fn_t vf; |
75 vp9_subpixvariance_fn_t svf; | 75 vp9_subpixvariance_fn_t svf; |
76 vp9_variance_fn_t svf_halfpix_h; | 76 vp9_variance_fn_t svf_halfpix_h; |
77 vp9_variance_fn_t svf_halfpix_v; | 77 vp9_variance_fn_t svf_halfpix_v; |
78 vp9_variance_fn_t svf_halfpix_hv; | 78 vp9_variance_fn_t svf_halfpix_hv; |
79 vp9_sad_multi_fn_t sdx3f; | 79 vp9_sad_multi_fn_t sdx3f; |
80 vp9_sad_multi1_fn_t sdx8f; | 80 vp9_sad_multi1_fn_t sdx8f; |
81 vp9_sad_multi_d_fn_t sdx4df; | 81 vp9_sad_multi_d_fn_t sdx4df; |
82 vp9_copy32xn_fn_t copymem; | 82 vp9_copy32xn_fn_t copymem; |
83 } vp9_variance_fn_ptr_t; | 83 } vp9_variance_fn_ptr_t; |
84 | 84 |
85 #endif // VP9_ENCODER_VP9_VARIANCE_H_ | 85 #endif // VP9_ENCODER_VP9_VARIANCE_H_ |
OLD | NEW |