Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(618)

Side by Side Diff: source/libvpx/vp9/encoder/x86/vp9_dct_sse2.c

Issue 484923003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_svc_layercontext.c ('k') | source/libvpx/vp9/vp9_cx_iface.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_svc_layercontext.c ('k') | source/libvpx/vp9/vp9_cx_iface.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698