Modify sub-pixel filters to eliminate unnecessary calculations
[libvpx.git] / vp8 / encoder / x86 / quantize_x86.h
blobb5b22c022ec2742c6af19409b7bdbfea9bba024d
1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
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
6 * tree. All contributing project authors may be found in the AUTHORS
7 * file in the root of the source tree.
8 */
10 #ifndef QUANTIZE_X86_H
11 #define QUANTIZE_X86_H
14 /* Note:
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
18 * them in the function pointer initialization code
20 #if HAVE_MMX
22 #endif
25 #if HAVE_SSE2
26 extern prototype_quantize_block(vp8_regular_quantize_b_sse2);
28 #if !CONFIG_RUNTIME_CPU_DETECT
30 /* The sse2 quantizer has not been updated to match the new exact
31 * quantizer introduced in commit e04e2935
32 *#undef vp8_quantize_quantb
33 *#define vp8_quantize_quantb vp8_regular_quantize_b_sse2
36 #endif
38 #endif
41 #endif