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

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

Issue 181493009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 MV *best_mv); 68 MV *best_mv);
69 int vp9_square_search(const MACROBLOCK *x, 69 int vp9_square_search(const MACROBLOCK *x,
70 MV *ref_mv, 70 MV *ref_mv,
71 int search_param, 71 int search_param,
72 int error_per_bit, 72 int error_per_bit,
73 int do_init_search, 73 int do_init_search,
74 const vp9_variance_fn_ptr_t *vf, 74 const vp9_variance_fn_ptr_t *vf,
75 int use_mvcost, 75 int use_mvcost,
76 const MV *center_mv, 76 const MV *center_mv,
77 MV *best_mv); 77 MV *best_mv);
78 int vp9_fast_hex_search(const MACROBLOCK *x,
79 MV *ref_mv,
80 int search_param,
81 int sad_per_bit,
82 const vp9_variance_fn_ptr_t *vfp,
83 int use_mvcost,
84 const MV *center_mv,
85 MV *best_mv);
78 86
79 typedef int (fractional_mv_step_fp) ( 87 typedef int (fractional_mv_step_fp) (
80 const MACROBLOCK *x, 88 const MACROBLOCK *x,
81 MV *bestmv, const MV *ref_mv, 89 MV *bestmv, const MV *ref_mv,
82 int allow_hp, 90 int allow_hp,
83 int error_per_bit, 91 int error_per_bit,
84 const vp9_variance_fn_ptr_t *vfp, 92 const vp9_variance_fn_ptr_t *vfp,
85 int forced_stop, // 0 - full, 1 - qtr only, 2 - half only 93 int forced_stop, // 0 - full, 1 - qtr only, 2 - half only
86 int iters_per_step, 94 int iters_per_step,
87 int *mvjcost, 95 int *mvjcost,
(...skipping 16 matching lines...) Expand all
104 const uint8_t *second_pred, 112 const uint8_t *second_pred,
105 int w, int h); 113 int w, int h);
106 114
107 extern fractional_mv_step_comp_fp vp9_find_best_sub_pixel_comp_tree; 115 extern fractional_mv_step_comp_fp vp9_find_best_sub_pixel_comp_tree;
108 116
109 typedef int (*vp9_full_search_fn_t)(const MACROBLOCK *x, 117 typedef int (*vp9_full_search_fn_t)(const MACROBLOCK *x,
110 const MV *ref_mv, int sad_per_bit, 118 const MV *ref_mv, int sad_per_bit,
111 int distance, 119 int distance,
112 const vp9_variance_fn_ptr_t *fn_ptr, 120 const vp9_variance_fn_ptr_t *fn_ptr,
113 int *mvjcost, int *mvcost[2], 121 int *mvjcost, int *mvcost[2],
114 const MV *center_mv, int n); 122 const MV *center_mv, MV *best_mv);
115 123
116 typedef int (*vp9_refining_search_fn_t)(const MACROBLOCK *x, 124 typedef int (*vp9_refining_search_fn_t)(const MACROBLOCK *x,
117 MV *ref_mv, int sad_per_bit, 125 MV *ref_mv, int sad_per_bit,
118 int distance, 126 int distance,
119 const vp9_variance_fn_ptr_t *fn_ptr, 127 const vp9_variance_fn_ptr_t *fn_ptr,
120 int *mvjcost, int *mvcost[2], 128 int *mvjcost, int *mvcost[2],
121 const MV *center_mv); 129 const MV *center_mv);
122 130
123 typedef int (*vp9_diamond_search_fn_t)(const MACROBLOCK *x, 131 typedef int (*vp9_diamond_search_fn_t)(const MACROBLOCK *x,
124 MV *ref_mv, MV *best_mv, 132 MV *ref_mv, MV *best_mv,
125 int search_param, int sad_per_bit, 133 int search_param, int sad_per_bit,
126 int *num00, 134 int *num00,
127 const vp9_variance_fn_ptr_t *fn_ptr, 135 const vp9_variance_fn_ptr_t *fn_ptr,
128 int *mvjcost, int *mvcost[2], 136 int *mvjcost, int *mvcost[2],
129 const MV *center_mv); 137 const MV *center_mv);
130 138
131 int vp9_refining_search_8p_c(const MACROBLOCK *x, 139 int vp9_refining_search_8p_c(const MACROBLOCK *x,
132 MV *ref_mv, int error_per_bit, 140 MV *ref_mv, int error_per_bit,
133 int search_range, 141 int search_range,
134 const vp9_variance_fn_ptr_t *fn_ptr, 142 const vp9_variance_fn_ptr_t *fn_ptr,
135 int *mvjcost, int *mvcost[2], 143 int *mvjcost, int *mvcost[2],
136 const MV *center_mv, const uint8_t *second_pred, 144 const MV *center_mv, const uint8_t *second_pred,
137 int w, int h); 145 int w, int h);
138 #ifdef __cplusplus 146 #ifdef __cplusplus
139 } // extern "C" 147 } // extern "C"
140 #endif 148 #endif
141 149
142 #endif // VP9_ENCODER_VP9_MCOMP_H_ 150 #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