1/*
2 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 *
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 */
10
11
12#ifndef DCT_ARM_H
13#define DCT_ARM_H
14
15#if HAVE_ARMV6
16extern prototype_fdct(vp8_short_walsh4x4_armv6);
17extern prototype_fdct(vp8_fast_fdct4x4_armv6);
18extern prototype_fdct(vp8_fast_fdct8x4_armv6);
19
20#if !CONFIG_RUNTIME_CPU_DETECT
21#undef  vp8_fdct_walsh_short4x4
22#define vp8_fdct_walsh_short4x4 vp8_short_walsh4x4_armv6
23
24#undef  vp8_fdct_fast4x4
25#define vp8_fdct_fast4x4 vp8_fast_fdct4x4_armv6
26
27#undef  vp8_fdct_fast8x4
28#define vp8_fdct_fast8x4 vp8_fast_fdct8x4_armv6
29#endif
30
31#endif /* HAVE_ARMV6 */
32
33#if HAVE_ARMV7
34extern prototype_fdct(vp8_short_fdct4x4_neon);
35extern prototype_fdct(vp8_short_fdct8x4_neon);
36extern prototype_fdct(vp8_fast_fdct4x4_neon);
37extern prototype_fdct(vp8_fast_fdct8x4_neon);
38extern prototype_fdct(vp8_short_walsh4x4_neon);
39
40#if !CONFIG_RUNTIME_CPU_DETECT
41#undef  vp8_fdct_short4x4
42#define vp8_fdct_short4x4 vp8_short_fdct4x4_neon
43
44#undef  vp8_fdct_short8x4
45#define vp8_fdct_short8x4 vp8_short_fdct8x4_neon
46
47#undef  vp8_fdct_fast4x4
48#define vp8_fdct_fast4x4 vp8_fast_fdct4x4_neon
49
50#undef  vp8_fdct_fast8x4
51#define vp8_fdct_fast8x4 vp8_fast_fdct8x4_neon
52
53#undef  vp8_fdct_walsh_short4x4
54#define vp8_fdct_walsh_short4x4 vp8_short_walsh4x4_neon
55#endif
56
57#endif
58
59#endif
60