Merge "Merge superblocks (32x32) experiment." into experimental
authorRonald S. Bultje <rbultje@google.com>
Tue, 8 Jan 2013 21:31:37 +0000 (13:31 -0800)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Tue, 8 Jan 2013 21:31:37 +0000 (13:31 -0800)
1  2 
vp9/common/vp9_findnearmv.c
vp9/common/vp9_rtcd_defs.sh

@@@ -185,18 -185,17 +185,17 @@@ void vp9_find_best_ref_mvs(MACROBLOCKD 
      offset = ref_y_stride * row_offset + col_offset;
      score = 0;
      if (xd->up_available) {
 -      vp9_sub_pixel_variance16x2_c(above_ref + offset, ref_y_stride,
 -                                   SP(this_mv.as_mv.col),
 -                                   SP(this_mv.as_mv.row),
 -                                   above_src, xd->dst.y_stride, &sse);
 +      vp9_sub_pixel_variance16x2(above_ref + offset, ref_y_stride,
 +                                 SP(this_mv.as_mv.col),
 +                                 SP(this_mv.as_mv.row),
 +                                 above_src, xd->dst.y_stride, &sse);
        score += sse;
- #if CONFIG_SUPERBLOCKS
        if (xd->mode_info_context->mbmi.sb_type >= BLOCK_SIZE_SB32X32) {
 -        vp9_sub_pixel_variance16x2_c(above_ref + offset + 16,
 -                                     ref_y_stride,
 -                                     SP(this_mv.as_mv.col),
 -                                     SP(this_mv.as_mv.row),
 -                                     above_src + 16, xd->dst.y_stride, &sse);
 +        vp9_sub_pixel_variance16x2(above_ref + offset + 16,
 +                                   ref_y_stride,
 +                                   SP(this_mv.as_mv.col),
 +                                   SP(this_mv.as_mv.row),
 +                                   above_src + 16, xd->dst.y_stride, &sse);
          score += sse;
        }
  #if CONFIG_SUPERBLOCKS64
Simple merge