OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 | 11 |
12 #include "vpx_config.h" | 12 #include "vpx_config.h" |
13 #include "vp8_rtcd.h" | 13 #include "vp8_rtcd.h" |
14 #include "vp8/common/blockd.h" | 14 #include "vp8/common/blockd.h" |
15 #include "vpx_mem/vpx_mem.h" | 15 #include "vpx_mem/vpx_mem.h" |
16 | 16 |
17 #if HAVE_NEON | 17 #if HAVE_NEON_ARM |
18 extern void vp8_build_intra_predictors_mby_neon_func( | 18 extern void vp8_build_intra_predictors_mby_neon_func( |
19 unsigned char *y_buffer, | 19 unsigned char *y_buffer, |
20 unsigned char *ypred_ptr, | 20 unsigned char *ypred_ptr, |
21 int y_stride, | 21 int y_stride, |
22 int mode, | 22 int mode, |
23 int Up, | 23 int Up, |
24 int Left); | 24 int Left); |
25 | 25 |
26 void vp8_build_intra_predictors_mby_neon(MACROBLOCKD *x) | 26 void vp8_build_intra_predictors_mby_neon(MACROBLOCKD *x) |
27 { | 27 { |
(...skipping 21 matching lines...) Expand all Loading... |
49 unsigned char *ypred_ptr = x->predictor; | 49 unsigned char *ypred_ptr = x->predictor; |
50 int y_stride = x->dst.y_stride; | 50 int y_stride = x->dst.y_stride; |
51 int mode = x->mode_info_context->mbmi.mode; | 51 int mode = x->mode_info_context->mbmi.mode; |
52 int Up = x->up_available; | 52 int Up = x->up_available; |
53 int Left = x->left_available; | 53 int Left = x->left_available; |
54 | 54 |
55 vp8_build_intra_predictors_mby_s_neon_func(y_buffer, ypred_ptr, y_stride, mo
de, Up, Left); | 55 vp8_build_intra_predictors_mby_s_neon_func(y_buffer, ypred_ptr, y_stride, mo
de, Up, Left); |
56 } | 56 } |
57 | 57 |
58 #endif | 58 #endif |
OLD | NEW |