1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vp8/common/arm/reconintra_arm.c Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,58 @@ 1.4 +/* 1.5 + * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license 1.8 + * that can be found in the LICENSE file in the root of the source 1.9 + * tree. An additional intellectual property rights grant can be found 1.10 + * in the file PATENTS. All contributing project authors may 1.11 + * be found in the AUTHORS file in the root of the source tree. 1.12 + */ 1.13 + 1.14 + 1.15 +#include "vpx_config.h" 1.16 +#include "vp8_rtcd.h" 1.17 +#include "vp8/common/blockd.h" 1.18 +#include "vpx_mem/vpx_mem.h" 1.19 + 1.20 +#if HAVE_NEON 1.21 +extern void vp8_build_intra_predictors_mby_neon_func( 1.22 + unsigned char *y_buffer, 1.23 + unsigned char *ypred_ptr, 1.24 + int y_stride, 1.25 + int mode, 1.26 + int Up, 1.27 + int Left); 1.28 + 1.29 +void vp8_build_intra_predictors_mby_neon(MACROBLOCKD *x) 1.30 +{ 1.31 + unsigned char *y_buffer = x->dst.y_buffer; 1.32 + unsigned char *ypred_ptr = x->predictor; 1.33 + int y_stride = x->dst.y_stride; 1.34 + int mode = x->mode_info_context->mbmi.mode; 1.35 + int Up = x->up_available; 1.36 + int Left = x->left_available; 1.37 + 1.38 + vp8_build_intra_predictors_mby_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); 1.39 +} 1.40 + 1.41 +extern void vp8_build_intra_predictors_mby_s_neon_func( 1.42 + unsigned char *y_buffer, 1.43 + unsigned char *ypred_ptr, 1.44 + int y_stride, 1.45 + int mode, 1.46 + int Up, 1.47 + int Left); 1.48 + 1.49 +void vp8_build_intra_predictors_mby_s_neon(MACROBLOCKD *x) 1.50 +{ 1.51 + unsigned char *y_buffer = x->dst.y_buffer; 1.52 + unsigned char *ypred_ptr = x->predictor; 1.53 + int y_stride = x->dst.y_stride; 1.54 + int mode = x->mode_info_context->mbmi.mode; 1.55 + int Up = x->up_available; 1.56 + int Left = x->left_available; 1.57 + 1.58 + vp8_build_intra_predictors_mby_s_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); 1.59 +} 1.60 + 1.61 +#endif