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/blockd.h" 14 #include "vp8/common/reconintra.h" 15 #include "vpx_mem/vpx_mem.h" 16 #include "vp8/common/recon.h" 17 18 #if HAVE_ARMV7 19 extern void vp8_build_intra_predictors_mby_neon_func( 20 unsigned char *y_buffer, 21 unsigned char *ypred_ptr, 22 int y_stride, 23 int mode, 24 int Up, 25 int Left); 26 27 void vp8_build_intra_predictors_mby_neon(MACROBLOCKD *x) 28 { 29 unsigned char *y_buffer = x->dst.y_buffer; 30 unsigned char *ypred_ptr = x->predictor; 31 int y_stride = x->dst.y_stride; 32 int mode = x->mode_info_context->mbmi.mode; 33 int Up = x->up_available; 34 int Left = x->left_available; 35 36 vp8_build_intra_predictors_mby_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); 37 } 38 #endif 39 40 41 #if HAVE_ARMV7 42 extern void vp8_build_intra_predictors_mby_s_neon_func( 43 unsigned char *y_buffer, 44 unsigned char *ypred_ptr, 45 int y_stride, 46 int mode, 47 int Up, 48 int Left); 49 50 void vp8_build_intra_predictors_mby_s_neon(MACROBLOCKD *x) 51 { 52 unsigned char *y_buffer = x->dst.y_buffer; 53 unsigned char *ypred_ptr = x->predictor; 54 int y_stride = x->dst.y_stride; 55 int mode = x->mode_info_context->mbmi.mode; 56 int Up = x->up_available; 57 int Left = x->left_available; 58 59 vp8_build_intra_predictors_mby_s_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); 60 } 61 62 #endif 63