media/libvpx/vp9/encoder/x86/vp9_mcomp_x86.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vp9/encoder/x86/vp9_mcomp_x86.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +/*
     1.5 + *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
     1.6 + *
     1.7 + *  Use of this source code is governed by a BSD-style license
     1.8 + *  that can be found in the LICENSE file in the root of the source
     1.9 + *  tree. An additional intellectual property rights grant can be found
    1.10 + *  in the file PATENTS.  All contributing project authors may
    1.11 + *  be found in the AUTHORS file in the root of the source tree.
    1.12 + */
    1.13 +
    1.14 +
    1.15 +#ifndef VP9_ENCODER_X86_VP9_MCOMP_X86_H_
    1.16 +#define VP9_ENCODER_X86_VP9_MCOMP_X86_H_
    1.17 +
    1.18 +#if HAVE_SSE3
    1.19 +#if !CONFIG_RUNTIME_CPU_DETECT
    1.20 +
    1.21 +#undef  vp9_search_full_search
    1.22 +#define vp9_search_full_search vp9_full_search_sadx3
    1.23 +
    1.24 +#undef  vp9_search_refining_search
    1.25 +#define vp9_search_refining_search vp9_refining_search_sadx4
    1.26 +
    1.27 +#undef  vp9_search_diamond_search
    1.28 +#define vp9_search_diamond_search vp9_diamond_search_sadx4
    1.29 +
    1.30 +#endif
    1.31 +#endif
    1.32 +
    1.33 +#if HAVE_SSE4_1
    1.34 +#if !CONFIG_RUNTIME_CPU_DETECT
    1.35 +
    1.36 +#undef  vp9_search_full_search
    1.37 +#define vp9_search_full_search vp9_full_search_sadx8
    1.38 +
    1.39 +#endif
    1.40 +#endif
    1.41 +
    1.42 +#endif
    1.43 +

mercurial