diff options
Diffstat (limited to 'vp8/encoder/x86/mcomp_x86.h')
-rw-r--r-- | vp8/encoder/x86/mcomp_x86.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vp8/encoder/x86/mcomp_x86.h b/vp8/encoder/x86/mcomp_x86.h new file mode 100644 index 000000000..5661491ad --- /dev/null +++ b/vp8/encoder/x86/mcomp_x86.h @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2010 The VP8 project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license and patent + * grant that can be found in the LICENSE file in the root of the source + * tree. All contributing project authors may be found in the AUTHORS + * file in the root of the source tree. + */ + + +#ifndef MCOMP_X86_H +#define MCOMP_X86_H + +#if HAVE_SSE3 +#if !CONFIG_RUNTIME_CPU_DETECT + +#undef vp8_search_full_search +#define vp8_search_full_search vp8_full_search_sadx3 + +#undef vp8_search_diamond_search +#define vp8_search_diamond_search vp8_diamond_search_sadx4 + +#endif +#endif + +#endif + |