diff options
author | John Koleszar <jkoleszar@google.com> | 2012-01-12 16:55:44 -0800 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2012-01-30 12:10:47 -0800 |
commit | 0b0bc8d098a6c009b27357a68275ec25af18e7a4 (patch) | |
tree | 52d6cf47bde185540a56b25b869169e6fa4c7a09 /vp8/encoder/x86 | |
parent | be8af188d025eb24426757952ca8756a9b6353ea (diff) | |
download | libvpx-0b0bc8d098a6c009b27357a68275ec25af18e7a4.tar libvpx-0b0bc8d098a6c009b27357a68275ec25af18e7a4.tar.gz libvpx-0b0bc8d098a6c009b27357a68275ec25af18e7a4.tar.bz2 libvpx-0b0bc8d098a6c009b27357a68275ec25af18e7a4.zip |
RTCD: add motion search functions
This commit continues the process of converting to the new RTCD
system.
Change-Id: Ia5828b7ecc80db55b21916704aa3d54cbb98f625
Diffstat (limited to 'vp8/encoder/x86')
-rw-r--r-- | vp8/encoder/x86/mcomp_x86.h | 40 | ||||
-rw-r--r-- | vp8/encoder/x86/x86_csystemdependent.c | 16 |
2 files changed, 0 insertions, 56 deletions
diff --git a/vp8/encoder/x86/mcomp_x86.h b/vp8/encoder/x86/mcomp_x86.h deleted file mode 100644 index efe7241f2..000000000 --- a/vp8/encoder/x86/mcomp_x86.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2010 The WebM project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. 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_refining_search -#define vp8_search_refining_search vp8_refining_search_sadx4 - -#undef vp8_search_diamond_search -#define vp8_search_diamond_search vp8_diamond_search_sadx4 - -#endif -#endif - -#if HAVE_SSE4_1 -#if !CONFIG_RUNTIME_CPU_DETECT - -#undef vp8_search_full_search -#define vp8_search_full_search vp8_full_search_sadx8 - -#endif -#endif - -#endif - diff --git a/vp8/encoder/x86/x86_csystemdependent.c b/vp8/encoder/x86/x86_csystemdependent.c index fa628fa81..4d27d5cf7 100644 --- a/vp8/encoder/x86/x86_csystemdependent.c +++ b/vp8/encoder/x86/x86_csystemdependent.c @@ -135,21 +135,5 @@ void vp8_arch_x86_encoder_init(VP8_COMP *cpi) } #endif -#if HAVE_SSE3 - if (flags & HAS_SSE3) - { - cpi->rtcd.search.full_search = vp8_full_search_sadx3; - cpi->rtcd.search.diamond_search = vp8_diamond_search_sadx4; - cpi->rtcd.search.refining_search = vp8_refining_search_sadx4; - } -#endif - -#if HAVE_SSE4_1 - if (flags & HAS_SSE4_1) - { - cpi->rtcd.search.full_search = vp8_full_search_sadx8; - } -#endif - #endif } |