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

Side by Side Diff: source/libvpx/vp9/common/x86/vp9_subpixel_x86.h

Issue 11974002: libvpx: Pull from upstream (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 11 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
OLDNEW
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
11 11
12 #ifndef VP9_COMMON_X86_VP9_SUBPIXEL_X86_H_ 12 #ifndef VP9_COMMON_X86_VP9_SUBPIXEL_X86_H_
13 #define VP9_COMMON_X86_VP9_SUBPIXEL_X86_H_ 13 #define VP9_COMMON_X86_VP9_SUBPIXEL_X86_H_
14 14
15 /* Note: 15 /* Note:
16 * 16 *
17 * This platform is commonly built for runtime CPU detection. If you modify 17 * This platform is commonly built for runtime CPU detection. If you modify
18 * any of the function mappings present in this file, be sure to also update 18 * any of the function mappings present in this file, be sure to also update
19 * them in the function pointer initialization code 19 * them in the function pointer initialization code
20 */ 20 */
21 21
22 #if HAVE_MMX 22 #if HAVE_MMX
23 extern prototype_subpixel_predict(vp9_sixtap_predict16x16_mmx); 23 extern prototype_subpixel_predict(vp9_sixtap_predict16x16_mmx);
24 extern prototype_subpixel_predict(vp9_sixtap_predict8x8_mmx); 24 extern prototype_subpixel_predict(vp9_sixtap_predict8x8_mmx);
25 extern prototype_subpixel_predict(vp9_sixtap_predict8x4_mmx); 25 extern prototype_subpixel_predict(vp9_sixtap_predict8x4_mmx);
26 extern prototype_subpixel_predict(vp9_sixtap_predict4x4_mmx); 26 extern prototype_subpixel_predict(vp9_sixtap_predict4x4_mmx);
27 extern prototype_subpixel_predict(vp9_bilinear_predict16x16_mmx); 27 extern prototype_subpixel_predict(vp9_bilinear_predict16x16_mmx);
28 extern prototype_subpixel_predict(vp9_bilinear_predict8x8_mmx);
29 extern prototype_subpixel_predict(vp9_bilinear_predict8x4_mmx);
30 extern prototype_subpixel_predict(vp9_bilinear_predict4x4_mmx);
31
32 28
33 #if !CONFIG_RUNTIME_CPU_DETECT 29 #if !CONFIG_RUNTIME_CPU_DETECT
34 #undef vp9_subpix_sixtap16x16 30 #undef vp9_subpix_sixtap16x16
35 #define vp9_subpix_sixtap16x16 vp9_sixtap_predict16x16_mmx 31 #define vp9_subpix_sixtap16x16 vp9_sixtap_predict16x16_mmx
36 32
37 #undef vp9_subpix_sixtap8x8 33 #undef vp9_subpix_sixtap8x8
38 #define vp9_subpix_sixtap8x8 vp9_sixtap_predict8x8_mmx 34 #define vp9_subpix_sixtap8x8 vp9_sixtap_predict8x8_mmx
39 35
40 #undef vp9_subpix_sixtap8x4 36 #undef vp9_subpix_sixtap8x4
41 #define vp9_subpix_sixtap8x4 vp9_sixtap_predict8x4_mmx 37 #define vp9_subpix_sixtap8x4 vp9_sixtap_predict8x4_mmx
42 38
43 #undef vp9_subpix_sixtap4x4 39 #undef vp9_subpix_sixtap4x4
44 #define vp9_subpix_sixtap4x4 vp9_sixtap_predict4x4_mmx 40 #define vp9_subpix_sixtap4x4 vp9_sixtap_predict4x4_mmx
45 41
46 #undef vp9_subpix_bilinear16x16 42 #undef vp9_subpix_bilinear16x16
47 #define vp9_subpix_bilinear16x16 vp9_bilinear_predict16x16_mmx 43 #define vp9_subpix_bilinear16x16 vp9_bilinear_predict16x16_mmx
48 44
49 #undef vp9_subpix_bilinear8x8
50 #define vp9_subpix_bilinear8x8 vp9_bilinear_predict8x8_mmx
51
52 #undef vp9_subpix_bilinear8x4
53 #define vp9_subpix_bilinear8x4 vp9_bilinear_predict8x4_mmx
54
55 #undef vp9_subpix_bilinear4x4
56 #define vp9_subpix_bilinear4x4 vp9_bilinear_predict4x4_mmx
57
58 #endif 45 #endif
59 #endif 46 #endif
60 47
61 48
62 #if HAVE_SSE2 49 #if HAVE_SSE2
63 extern prototype_subpixel_predict(vp9_sixtap_predict16x16_sse2); 50 extern prototype_subpixel_predict(vp9_sixtap_predict16x16_sse2);
64 extern prototype_subpixel_predict(vp9_sixtap_predict8x8_sse2); 51 extern prototype_subpixel_predict(vp9_sixtap_predict8x8_sse2);
65 extern prototype_subpixel_predict(vp9_sixtap_predict8x4_sse2); 52 extern prototype_subpixel_predict(vp9_sixtap_predict8x4_sse2);
66 extern prototype_subpixel_predict(vp9_bilinear_predict16x16_sse2); 53 extern prototype_subpixel_predict(vp9_bilinear_predict16x16_sse2);
67 extern prototype_subpixel_predict(vp9_bilinear_predict8x8_sse2); 54 extern prototype_subpixel_predict(vp9_bilinear_predict8x8_sse2);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 100
114 #undef vp9_subpix_bilinear8x8 101 #undef vp9_subpix_bilinear8x8
115 #define vp9_subpix_bilinear8x8 vp9_bilinear_predict8x8_ssse3 102 #define vp9_subpix_bilinear8x8 vp9_bilinear_predict8x8_ssse3
116 103
117 #endif 104 #endif
118 #endif 105 #endif
119 106
120 107
121 108
122 #endif 109 #endif
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/x86/vp9_subpixel_variance_sse2.c ('k') | source/libvpx/vp9/decoder/vp9_dboolhuff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698