OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 2873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2884 in0 = _mm_srli_si128(sum, 8); | 2884 in0 = _mm_srli_si128(sum, 8); |
2885 | 2885 |
2886 in1 = _mm_add_epi32(sum, in0); | 2886 in1 = _mm_add_epi32(sum, in0); |
2887 in1 = _mm_srai_epi32(in1, 3); | 2887 in1 = _mm_srai_epi32(in1, 3); |
2888 _mm_store_si128((__m128i *)(output), in1); | 2888 _mm_store_si128((__m128i *)(output), in1); |
2889 } | 2889 } |
2890 | 2890 |
2891 #define FDCT32x32_2D vp9_fdct32x32_rd_sse2 | 2891 #define FDCT32x32_2D vp9_fdct32x32_rd_sse2 |
2892 #define FDCT32x32_HIGH_PRECISION 0 | 2892 #define FDCT32x32_HIGH_PRECISION 0 |
2893 #include "vp9/encoder/x86/vp9_dct32x32_sse2.c" | 2893 #include "vp9/encoder/x86/vp9_dct32x32_sse2.c" |
| 2894 #undef FDCT32x32_HIGH_PRECISION |
2894 #undef FDCT32x32_2D | 2895 #undef FDCT32x32_2D |
2895 #undef FDCT32x32_HIGH_PRECISION | |
2896 | 2896 |
2897 #define FDCT32x32_2D vp9_fdct32x32_sse2 | 2897 #define FDCT32x32_2D vp9_fdct32x32_sse2 |
2898 #define FDCT32x32_HIGH_PRECISION 1 | 2898 #define FDCT32x32_HIGH_PRECISION 1 |
2899 #include "vp9/encoder/x86/vp9_dct32x32_sse2.c" // NOLINT | 2899 #include "vp9/encoder/x86/vp9_dct32x32_sse2.c" // NOLINT |
| 2900 #undef FDCT32x32_HIGH_PRECISION |
2900 #undef FDCT32x32_2D | 2901 #undef FDCT32x32_2D |
2901 #undef FDCT32x32_HIGH_PRECISION | |
OLD | NEW |