michael@0: /* michael@0: * Copyright (c) 2010 The WebM project authors. All Rights Reserved. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license michael@0: * that can be found in the LICENSE file in the root of the source michael@0: * tree. An additional intellectual property rights grant can be found michael@0: * in the file PATENTS. All contributing project authors may michael@0: * be found in the AUTHORS file in the root of the source tree. michael@0: */ michael@0: michael@0: michael@0: #include "vpx_config.h" michael@0: #include "vp8_rtcd.h" michael@0: #include "vp8/common/blockd.h" michael@0: #include "vpx_mem/vpx_mem.h" michael@0: michael@0: #if HAVE_NEON michael@0: extern void vp8_build_intra_predictors_mby_neon_func( michael@0: unsigned char *y_buffer, michael@0: unsigned char *ypred_ptr, michael@0: int y_stride, michael@0: int mode, michael@0: int Up, michael@0: int Left); michael@0: michael@0: void vp8_build_intra_predictors_mby_neon(MACROBLOCKD *x) michael@0: { michael@0: unsigned char *y_buffer = x->dst.y_buffer; michael@0: unsigned char *ypred_ptr = x->predictor; michael@0: int y_stride = x->dst.y_stride; michael@0: int mode = x->mode_info_context->mbmi.mode; michael@0: int Up = x->up_available; michael@0: int Left = x->left_available; michael@0: michael@0: vp8_build_intra_predictors_mby_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); michael@0: } michael@0: michael@0: extern void vp8_build_intra_predictors_mby_s_neon_func( michael@0: unsigned char *y_buffer, michael@0: unsigned char *ypred_ptr, michael@0: int y_stride, michael@0: int mode, michael@0: int Up, michael@0: int Left); michael@0: michael@0: void vp8_build_intra_predictors_mby_s_neon(MACROBLOCKD *x) michael@0: { michael@0: unsigned char *y_buffer = x->dst.y_buffer; michael@0: unsigned char *ypred_ptr = x->predictor; michael@0: int y_stride = x->dst.y_stride; michael@0: int mode = x->mode_info_context->mbmi.mode; michael@0: int Up = x->up_available; michael@0: int Left = x->left_available; michael@0: michael@0: vp8_build_intra_predictors_mby_s_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); michael@0: } michael@0: michael@0: #endif