Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: source/libvpx/vp9/encoder/vp9_mcomp.h

Issue 1328593002: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_mbgraph.c ('k') | source/libvpx/vp9/encoder/vp9_mcomp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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.
76 int vp9_full_pixel_diamond(const struct VP9_COMP *cpi, MACROBLOCK *x,
77 MV *mvp_full, int step_param,
78 int sadpb, int further_steps, int do_refine,
79 int *cost_list,
80 const vp9_variance_fn_ptr_t *fn_ptr,
81 const MV *ref_mv, MV *dst_mv);
82
83 // Perform integral projection based motion estimation. 75 // Perform integral projection based motion estimation.
84 unsigned int vp9_int_pro_motion_estimation(const struct VP9_COMP *cpi, 76 unsigned int vp9_int_pro_motion_estimation(const struct VP9_COMP *cpi,
85 MACROBLOCK *x, 77 MACROBLOCK *x,
86 BLOCK_SIZE bsize, 78 BLOCK_SIZE bsize,
87 int mi_row, int mi_col); 79 int mi_row, int mi_col);
88 80
89 typedef int (integer_mv_pattern_search_fn) (
90 const MACROBLOCK *x,
91 MV *ref_mv,
92 int search_param,
93 int error_per_bit,
94 int do_init_search,
95 int *cost_list,
96 const vp9_variance_fn_ptr_t *vf,
97 int use_mvcost,
98 const MV *center_mv,
99 MV *best_mv);
100
101 integer_mv_pattern_search_fn vp9_hex_search;
102 integer_mv_pattern_search_fn vp9_bigdia_search;
103 integer_mv_pattern_search_fn vp9_square_search;
104 integer_mv_pattern_search_fn vp9_fast_hex_search;
105 integer_mv_pattern_search_fn vp9_fast_dia_search;
106
107 typedef int (fractional_mv_step_fp) ( 81 typedef int (fractional_mv_step_fp) (
108 const MACROBLOCK *x, 82 const MACROBLOCK *x,
109 MV *bestmv, const MV *ref_mv, 83 MV *bestmv, const MV *ref_mv,
110 int allow_hp, 84 int allow_hp,
111 int error_per_bit, 85 int error_per_bit,
112 const vp9_variance_fn_ptr_t *vfp, 86 const vp9_variance_fn_ptr_t *vfp,
113 int forced_stop, // 0 - full, 1 - qtr only, 2 - half only 87 int forced_stop, // 0 - full, 1 - qtr only, 2 - half only
114 int iters_per_step, 88 int iters_per_step,
115 int *cost_list, 89 int *cost_list,
116 int *mvjcost, int *mvcost[2], 90 int *mvjcost, int *mvcost[2],
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 int step_param, int error_per_bit, 130 int step_param, int error_per_bit,
157 int *cost_list, 131 int *cost_list,
158 const MV *ref_mv, MV *tmp_mv, 132 const MV *ref_mv, MV *tmp_mv,
159 int var_max, int rd); 133 int var_max, int rd);
160 134
161 #ifdef __cplusplus 135 #ifdef __cplusplus
162 } // extern "C" 136 } // extern "C"
163 #endif 137 #endif
164 138
165 #endif // VP9_ENCODER_VP9_MCOMP_H_ 139 #endif // VP9_ENCODER_VP9_MCOMP_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_mbgraph.c ('k') | source/libvpx/vp9/encoder/vp9_mcomp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698