| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 #include <arm_neon.h> | 11 #include <arm_neon.h> |
| 12 | 12 #include "vpx_ports/mem.h" |
| 13 #ifdef _MSC_VER | |
| 14 #define __builtin_prefetch(x) | |
| 15 #endif | |
| 16 | 13 |
| 17 static const int8_t vp8_sub_pel_filters[8][8] = { | 14 static const int8_t vp8_sub_pel_filters[8][8] = { |
| 18 {0, 0, 128, 0, 0, 0, 0, 0}, /* note that 1/8 pel positionyys are */ | 15 {0, 0, 128, 0, 0, 0, 0, 0}, /* note that 1/8 pel positionyys are */ |
| 19 {0, -6, 123, 12, -1, 0, 0, 0}, /* just as per alpha -0.5 bicubic */ | 16 {0, -6, 123, 12, -1, 0, 0, 0}, /* just as per alpha -0.5 bicubic */ |
| 20 {2, -11, 108, 36, -8, 1, 0, 0}, /* New 1/4 pel 6 tap filter */ | 17 {2, -11, 108, 36, -8, 1, 0, 0}, /* New 1/4 pel 6 tap filter */ |
| 21 {0, -9, 93, 50, -6, 0, 0, 0}, | 18 {0, -9, 93, 50, -6, 0, 0, 0}, |
| 22 {3, -16, 77, 77, -16, 3, 0, 0}, /* New 1/2 pel 6 tap filter */ | 19 {3, -16, 77, 77, -16, 3, 0, 0}, /* New 1/2 pel 6 tap filter */ |
| 23 {0, -6, 50, 93, -9, 0, 0, 0}, | 20 {0, -6, 50, 93, -9, 0, 0, 0}, |
| 24 {1, -8, 36, 108, -11, 2, 0, 0}, /* New 1/4 pel 6 tap filter */ | 21 {1, -8, 36, 108, -11, 2, 0, 0}, /* New 1/4 pel 6 tap filter */ |
| 25 {0, -1, 12, 123, -6, 0, 0, 0}, | 22 {0, -1, 12, 123, -6, 0, 0, 0}, |
| (...skipping 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1748 vst1_u8(dst, d7u8); | 1745 vst1_u8(dst, d7u8); |
| 1749 dst += dst_pitch; | 1746 dst += dst_pitch; |
| 1750 vst1_u8(dst, d8u8); | 1747 vst1_u8(dst, d8u8); |
| 1751 dst += dst_pitch; | 1748 dst += dst_pitch; |
| 1752 vst1_u8(dst, d9u8); | 1749 vst1_u8(dst, d9u8); |
| 1753 dst += dst_pitch; | 1750 dst += dst_pitch; |
| 1754 } | 1751 } |
| 1755 } | 1752 } |
| 1756 return; | 1753 return; |
| 1757 } | 1754 } |
| OLD | NEW |