| 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 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 var = vp8_variance16x16_armv6(second_pass, 16, dst_ptr, | 89 var = vp8_variance16x16_armv6(second_pass, 16, dst_ptr, |
| 90 dst_pixels_per_line, sse); | 90 dst_pixels_per_line, sse); |
| 91 } | 91 } |
| 92 return var; | 92 return var; |
| 93 } | 93 } |
| 94 | 94 |
| 95 #endif /* HAVE_MEDIA */ | 95 #endif /* HAVE_MEDIA */ |
| 96 | 96 |
| 97 | 97 |
| 98 #if HAVE_NEON | 98 #if HAVE_NEON_ASM |
| 99 | 99 |
| 100 extern unsigned int vp8_sub_pixel_variance16x16_neon_func | 100 extern unsigned int vp8_sub_pixel_variance16x16_neon_func |
| 101 ( | 101 ( |
| 102 const unsigned char *src_ptr, | 102 const unsigned char *src_ptr, |
| 103 int src_pixels_per_line, | 103 int src_pixels_per_line, |
| 104 int xoffset, | 104 int xoffset, |
| 105 int yoffset, | 105 int yoffset, |
| 106 const unsigned char *dst_ptr, | 106 const unsigned char *dst_ptr, |
| 107 int dst_pixels_per_line, | 107 int dst_pixels_per_line, |
| 108 unsigned int *sse | 108 unsigned int *sse |
| (...skipping 14 matching lines...) Expand all Loading... |
| 123 return vp8_variance_halfpixvar16x16_h_neon(src_ptr, src_pixels_per_line, dst
_ptr, dst_pixels_per_line, sse); | 123 return vp8_variance_halfpixvar16x16_h_neon(src_ptr, src_pixels_per_line, dst
_ptr, dst_pixels_per_line, sse); |
| 124 else if (xoffset == 0 && yoffset == 4) | 124 else if (xoffset == 0 && yoffset == 4) |
| 125 return vp8_variance_halfpixvar16x16_v_neon(src_ptr, src_pixels_per_line, dst
_ptr, dst_pixels_per_line, sse); | 125 return vp8_variance_halfpixvar16x16_v_neon(src_ptr, src_pixels_per_line, dst
_ptr, dst_pixels_per_line, sse); |
| 126 else if (xoffset == 4 && yoffset == 4) | 126 else if (xoffset == 4 && yoffset == 4) |
| 127 return vp8_variance_halfpixvar16x16_hv_neon(src_ptr, src_pixels_per_line, ds
t_ptr, dst_pixels_per_line, sse); | 127 return vp8_variance_halfpixvar16x16_hv_neon(src_ptr, src_pixels_per_line, ds
t_ptr, dst_pixels_per_line, sse); |
| 128 else | 128 else |
| 129 return vp8_sub_pixel_variance16x16_neon_func(src_ptr, src_pixels_per_line, x
offset, yoffset, dst_ptr, dst_pixels_per_line, sse); | 129 return vp8_sub_pixel_variance16x16_neon_func(src_ptr, src_pixels_per_line, x
offset, yoffset, dst_ptr, dst_pixels_per_line, sse); |
| 130 } | 130 } |
| 131 | 131 |
| 132 #endif | 132 #endif |
| OLD | NEW |