OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The VP8 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 "encodemb.h" | 12 #include "encodemb.h" |
13 #include "reconinter.h" | 13 #include "reconinter.h" |
14 #include "quantize.h" | 14 #include "quantize.h" |
15 #include "invtrans.h" | 15 #include "invtrans.h" |
16 #include "recon.h" | 16 #include "recon.h" |
17 #include "reconintra.h" | 17 #include "reconintra.h" |
18 #include "dct.h" | 18 #include "dct.h" |
19 #include "vpx_mem/vpx_mem.h" | 19 #include "vpx_mem/vpx_mem.h" |
20 | 20 |
21 extern void vp8_subtract_b_neon_func(short *diff, unsigned char *src, unsigned c
har *pred, int stride, int pitch); | 21 extern void vp8_subtract_b_neon_func(short *diff, unsigned char *src, unsigned c
har *pred, int stride, int pitch); |
22 | 22 |
23 void vp8_subtract_b_neon(BLOCK *be, BLOCKD *bd, int pitch) | 23 void vp8_subtract_b_neon(BLOCK *be, BLOCKD *bd, int pitch) |
24 { | 24 { |
25 unsigned char *src_ptr = (*(be->base_src) + be->src); | 25 unsigned char *src_ptr = (*(be->base_src) + be->src); |
26 short *diff_ptr = be->src_diff; | 26 short *diff_ptr = be->src_diff; |
27 unsigned char *pred_ptr = bd->predictor; | 27 unsigned char *pred_ptr = bd->predictor; |
28 int src_stride = be->src_stride; | 28 int src_stride = be->src_stride; |
29 | 29 |
30 vp8_subtract_b_neon_func(diff_ptr, src_ptr, pred_ptr, src_stride, pitch); | 30 vp8_subtract_b_neon_func(diff_ptr, src_ptr, pred_ptr, src_stride, pitch); |
31 } | 31 } |
OLD | NEW |