Home | History | Annotate | Download | only in neon
      1 /*
      2  *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
      3  *
      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
      6  *  tree. An additional intellectual property rights grant can be found
      7  *  in the file PATENTS.  All contributing project authors may
      8  *  be found in the AUTHORS file in the root of the source tree.
      9  */
     10 
     11 
     12 #include "vpx_ports/config.h"
     13 #include "vp8/common/recon.h"
     14 #include "vp8/common/blockd.h"
     15 
     16 extern void vp8_recon16x16mb_neon(unsigned char *pred_ptr, short *diff_ptr, unsigned char *dst_ptr, int ystride, unsigned char *udst_ptr, unsigned char *vdst_ptr);
     17 
     18 void vp8_recon_mb_neon(const vp8_recon_rtcd_vtable_t *rtcd, MACROBLOCKD *x)
     19 {
     20     unsigned char *pred_ptr = &x->predictor[0];
     21     short *diff_ptr = &x->diff[0];
     22     unsigned char *dst_ptr = x->dst.y_buffer;
     23     unsigned char *udst_ptr = x->dst.u_buffer;
     24     unsigned char *vdst_ptr = x->dst.v_buffer;
     25     int ystride = x->dst.y_stride;
     26     /*int uv_stride = x->dst.uv_stride;*/
     27 
     28     vp8_recon16x16mb_neon(pred_ptr, diff_ptr, dst_ptr, ystride, udst_ptr, vdst_ptr);
     29 }
     30