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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 const MV *best_mv, const MV *center_mv, | 59 const MV *best_mv, const MV *center_mv, |
60 const uint8_t *second_pred, | 60 const uint8_t *second_pred, |
61 const vp9_variance_fn_ptr_t *vfp, | 61 const vp9_variance_fn_ptr_t *vfp, |
62 int use_mvcost); | 62 int use_mvcost); |
63 | 63 |
64 struct VP9_COMP; | 64 struct VP9_COMP; |
65 struct SPEED_FEATURES; | 65 struct SPEED_FEATURES; |
66 | 66 |
67 int vp9_init_search_range(int size); | 67 int vp9_init_search_range(int size); |
68 | 68 |
| 69 int vp9_refining_search_sad(const struct macroblock *x, |
| 70 struct mv *ref_mv, |
| 71 int sad_per_bit, int distance, |
| 72 const struct vp9_variance_vtable *fn_ptr, |
| 73 const struct mv *center_mv); |
| 74 |
69 // Runs sequence of diamond searches in smaller steps for RD | 75 // Runs sequence of diamond searches in smaller steps for RD |
70 int vp9_full_pixel_diamond(const struct VP9_COMP *cpi, MACROBLOCK *x, | 76 int vp9_full_pixel_diamond(const struct VP9_COMP *cpi, MACROBLOCK *x, |
71 MV *mvp_full, int step_param, | 77 MV *mvp_full, int step_param, |
72 int sadpb, int further_steps, int do_refine, | 78 int sadpb, int further_steps, int do_refine, |
73 int *cost_list, | 79 int *cost_list, |
74 const vp9_variance_fn_ptr_t *fn_ptr, | 80 const vp9_variance_fn_ptr_t *fn_ptr, |
75 const MV *ref_mv, MV *dst_mv); | 81 const MV *ref_mv, MV *dst_mv); |
76 | 82 |
77 typedef int (integer_mv_pattern_search_fn) ( | 83 typedef int (integer_mv_pattern_search_fn) ( |
78 const MACROBLOCK *x, | 84 const MACROBLOCK *x, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 int step_param, int error_per_bit, | 150 int step_param, int error_per_bit, |
145 int *cost_list, | 151 int *cost_list, |
146 const MV *ref_mv, MV *tmp_mv, | 152 const MV *ref_mv, MV *tmp_mv, |
147 int var_max, int rd); | 153 int var_max, int rd); |
148 | 154 |
149 #ifdef __cplusplus | 155 #ifdef __cplusplus |
150 } // extern "C" | 156 } // extern "C" |
151 #endif | 157 #endif |
152 | 158 |
153 #endif // VP9_ENCODER_VP9_MCOMP_H_ | 159 #endif // VP9_ENCODER_VP9_MCOMP_H_ |
OLD | NEW |