summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_mcomp.c
diff options
context:
space:
mode:
authorAngie Chiang <angiebird@google.com>2018-09-28 14:35:21 -0700
committerAngie Chiang <angiebird@google.com>2018-09-28 16:05:34 -0700
commitebe10bcc33c838b7e062fd3a60b7e3098da94c7b (patch)
tree3b011a379922b8f83a269410109f538ba6f69f86 /vp9/encoder/vp9_mcomp.c
parent33cc4670473d51de0f1a782108ace460e028e23a (diff)
downloadlibvpx-ebe10bcc33c838b7e062fd3a60b7e3098da94c7b.tar
libvpx-ebe10bcc33c838b7e062fd3a60b7e3098da94c7b.tar.gz
libvpx-ebe10bcc33c838b7e062fd3a60b7e3098da94c7b.tar.bz2
libvpx-ebe10bcc33c838b7e062fd3a60b7e3098da94c7b.zip
Change interface of motion_compensated_prediction
Change the interface of vp9_full_pixel_diamond_new Change-Id: Ic9ed6ed61c5178f3f445f40860ebaac7ea17f75d
Diffstat (limited to 'vp9/encoder/vp9_mcomp.c')
-rw-r--r--vp9/encoder/vp9_mcomp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_mcomp.c b/vp9/encoder/vp9_mcomp.c
index 980bf24ba..56e6edf7f 100644
--- a/vp9/encoder/vp9_mcomp.c
+++ b/vp9/encoder/vp9_mcomp.c
@@ -2084,7 +2084,9 @@ double vp9_full_pixel_diamond_new(const VP9_COMP *cpi, MACROBLOCK *x,
MV *mvp_full, int step_param, double lambda,
int further_steps, int do_refine,
const vp9_variance_fn_ptr_t *fn_ptr,
- const int_mv *nb_full_mvs, MV *dst_mv) {
+ const int_mv *nb_full_mvs,
+ TplDepStats *tpl_stats, int rf_idx) {
+ MV *dst_mv = &tpl_stats->mv_arr[rf_idx].as_mv;
MV temp_mv;
int n, num00 = 0;
double thissme;