move new neon subpixel function
[libvpx.git] / vp8 / encoder / arm / dct_arm.h
blob41fa5d1928df9bba55dc30c5858f5236baabcd64
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
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
12 #ifndef DCT_ARM_H
13 #define DCT_ARM_H
15 #if HAVE_ARMV6
16 extern prototype_fdct(vp8_short_walsh4x4_armv6);
18 #if !CONFIG_RUNTIME_CPU_DETECT
19 #undef vp8_fdct_walsh_short4x4
20 #define vp8_fdct_walsh_short4x4 vp8_short_walsh4x4_armv6
21 #endif
22 #endif
24 #if HAVE_ARMV7
25 extern prototype_fdct(vp8_short_fdct4x4_neon);
26 extern prototype_fdct(vp8_short_fdct8x4_neon);
27 extern prototype_fdct(vp8_fast_fdct4x4_neon);
28 extern prototype_fdct(vp8_fast_fdct8x4_neon);
29 extern prototype_fdct(vp8_short_walsh4x4_neon);
31 #if !CONFIG_RUNTIME_CPU_DETECT
32 #undef vp8_fdct_short4x4
33 #define vp8_fdct_short4x4 vp8_short_fdct4x4_neon
35 #undef vp8_fdct_short8x4
36 #define vp8_fdct_short8x4 vp8_short_fdct8x4_neon
38 #undef vp8_fdct_fast4x4
39 #define vp8_fdct_fast4x4 vp8_fast_fdct4x4_neon
41 #undef vp8_fdct_fast8x4
42 #define vp8_fdct_fast8x4 vp8_fast_fdct8x4_neon
44 #undef vp8_fdct_walsh_short4x4
45 #define vp8_fdct_walsh_short4x4 vp8_short_walsh4x4_neon
46 #endif
48 #endif
50 #endif