| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, | 69 int vp9_refining_search_sad(const struct macroblock *x, |
| 70 struct mv *ref_mv, | 70 struct mv *ref_mv, |
| 71 int sad_per_bit, int distance, | 71 int sad_per_bit, int distance, |
| 72 const struct vp9_variance_vtable *fn_ptr, | 72 const struct vp9_variance_vtable *fn_ptr, |
| 73 const struct mv *center_mv); | 73 const struct mv *center_mv); |
| 74 | 74 |
| 75 // Runs sequence of diamond searches in smaller steps for RD | 75 // Runs sequence of diamond searches in smaller steps for RD. |
| 76 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, |
| 77 MV *mvp_full, int step_param, | 77 MV *mvp_full, int step_param, |
| 78 int sadpb, int further_steps, int do_refine, | 78 int sadpb, int further_steps, int do_refine, |
| 79 int *cost_list, | 79 int *cost_list, |
| 80 const vp9_variance_fn_ptr_t *fn_ptr, | 80 const vp9_variance_fn_ptr_t *fn_ptr, |
| 81 const MV *ref_mv, MV *dst_mv); | 81 const MV *ref_mv, MV *dst_mv); |
| 82 | 82 |
| 83 // Perform integral projection based motion estimation. |
| 84 unsigned int vp9_int_pro_motion_estimation(const struct VP9_COMP *cpi, |
| 85 MACROBLOCK *x, |
| 86 BLOCK_SIZE bsize); |
| 87 |
| 83 typedef int (integer_mv_pattern_search_fn) ( | 88 typedef int (integer_mv_pattern_search_fn) ( |
| 84 const MACROBLOCK *x, | 89 const MACROBLOCK *x, |
| 85 MV *ref_mv, | 90 MV *ref_mv, |
| 86 int search_param, | 91 int search_param, |
| 87 int error_per_bit, | 92 int error_per_bit, |
| 88 int do_init_search, | 93 int do_init_search, |
| 89 int *cost_list, | 94 int *cost_list, |
| 90 const vp9_variance_fn_ptr_t *vf, | 95 const vp9_variance_fn_ptr_t *vf, |
| 91 int use_mvcost, | 96 int use_mvcost, |
| 92 const MV *center_mv, | 97 const MV *center_mv, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 int step_param, int error_per_bit, | 155 int step_param, int error_per_bit, |
| 151 int *cost_list, | 156 int *cost_list, |
| 152 const MV *ref_mv, MV *tmp_mv, | 157 const MV *ref_mv, MV *tmp_mv, |
| 153 int var_max, int rd); | 158 int var_max, int rd); |
| 154 | 159 |
| 155 #ifdef __cplusplus | 160 #ifdef __cplusplus |
| 156 } // extern "C" | 161 } // extern "C" |
| 157 #endif | 162 #endif |
| 158 | 163 |
| 159 #endif // VP9_ENCODER_VP9_MCOMP_H_ | 164 #endif // VP9_ENCODER_VP9_MCOMP_H_ |
| OLD | NEW |