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

Side by Side Diff: source/libvpx/vp8/encoder/x86/quantize_x86.h

Issue 7671004: Update libvpx snapshot to v0.9.7-p1 (Cayuga). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: '' Created 9 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
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 and patent 4 * Use of this source code is governed by a BSD-style license and patent
5 * grant that can be found in the LICENSE file in the root of the source 5 * grant that can be found in the LICENSE file in the root of the source
6 * tree. All contributing project authors may be found in the AUTHORS 6 * tree. All contributing project authors may be found in the AUTHORS
7 * file in the root of the source tree. 7 * file in the root of the source tree.
8 */ 8 */
9 9
10 #ifndef QUANTIZE_X86_H 10 #ifndef QUANTIZE_X86_H
11 #define QUANTIZE_X86_H 11 #define QUANTIZE_X86_H
12 12
13 13
14 /* Note: 14 /* Note:
15 * 15 *
16 * This platform is commonly built for runtime CPU detection. If you modify 16 * This platform is commonly built for runtime CPU detection. If you modify
17 * any of the function mappings present in this file, be sure to also update 17 * any of the function mappings present in this file, be sure to also update
18 * them in the function pointer initialization code 18 * them in the function pointer initialization code
19 */ 19 */
20 #if HAVE_MMX 20 #if HAVE_MMX
21 21
22 #endif 22 #endif /* HAVE_MMX */
23 23
24 24
25 #if HAVE_SSE2 25 #if HAVE_SSE2
26 extern prototype_quantize_block(vp8_regular_quantize_b_sse2); 26 extern prototype_quantize_block(vp8_regular_quantize_b_sse2);
27 extern prototype_quantize_block(vp8_fast_quantize_b_sse2);
27 28
28 #if !CONFIG_RUNTIME_CPU_DETECT 29 #if !CONFIG_RUNTIME_CPU_DETECT
29 30
30 #undef vp8_quantize_quantb 31 #undef vp8_quantize_quantb
31 #define vp8_quantize_quantb vp8_regular_quantize_b_sse2 32 #define vp8_quantize_quantb vp8_regular_quantize_b_sse2
32 33
33 #endif 34 #undef vp8_quantize_fastquantb
35 #define vp8_quantize_fastquantb vp8_fast_quantize_b_sse2
34 36
35 #endif 37 #endif /* !CONFIG_RUNTIME_CPU_DETECT */
38
39 #endif /* HAVE_SSE2 */
36 40
37 41
38 #endif 42 #if HAVE_SSSE3
43 extern prototype_quantize_block(vp8_fast_quantize_b_ssse3);
44
45 #if !CONFIG_RUNTIME_CPU_DETECT
46
47 #undef vp8_quantize_fastquantb
48 #define vp8_quantize_fastquantb vp8_fast_quantize_b_ssse3
49
50 #endif /* !CONFIG_RUNTIME_CPU_DETECT */
51
52 #endif /* HAVE_SSSE3 */
53
54
55 #if HAVE_SSE4_1
56 extern prototype_quantize_block(vp8_regular_quantize_b_sse4);
57
58 #if !CONFIG_RUNTIME_CPU_DETECT
59
60 #undef vp8_quantize_quantb
61 #define vp8_quantize_quantb vp8_regular_quantize_b_sse4
62
63 #endif /* !CONFIG_RUNTIME_CPU_DETECT */
64
65 #endif /* HAVE_SSE4_1 */
66
67 #endif /* QUANTIZE_X86_H */
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/x86/quantize_ssse3.asm ('k') | source/libvpx/vp8/encoder/x86/sad_sse2.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698