vp9_dct_arm.h 1.76 KB
Newer Older
John Koleszar's avatar
John Koleszar committed
1
/*
2
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
John Koleszar's avatar
John Koleszar committed
3
 *
4
 *  Use of this source code is governed by a BSD-style license
5
6
 *  that can be found in the LICENSE file in the root of the source
 *  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.
John Koleszar's avatar
John Koleszar committed
9
10
11
 */


12
13
#ifndef VP9_ENCODER_ARM_VP9_DCT_ARM_H_
#define VP9_ENCODER_ARM_VP9_DCT_ARM_H_
John Koleszar's avatar
John Koleszar committed
14
15

#if HAVE_ARMV6
16
17
18
extern prototype_fdct(vp9_short_walsh4x4_armv6);
extern prototype_fdct(vp9_short_fdct4x4_armv6);
extern prototype_fdct(vp9_short_fdct8x4_armv6);
John Koleszar's avatar
John Koleszar committed
19

20
#if !CONFIG_RUNTIME_CPU_DETECT
John Koleszar's avatar
John Koleszar committed
21
#undef  vp8_fdct_walsh_short4x4
22
#define vp8_fdct_walsh_short4x4 vp9_short_walsh4x4_armv6
Tero Rintaluoma's avatar
Tero Rintaluoma committed
23

24
#undef  vp8_fdct_short4x4
25
#define vp8_fdct_short4x4 vp9_short_fdct4x4_armv6
26
27

#undef  vp8_fdct_short8x4
28
#define vp8_fdct_short8x4 vp9_short_fdct8x4_armv6
29

Tero Rintaluoma's avatar
Tero Rintaluoma committed
30
#undef  vp8_fdct_fast4x4
31
#define vp8_fdct_fast4x4 vp9_short_fdct4x4_armv6
Tero Rintaluoma's avatar
Tero Rintaluoma committed
32
33

#undef  vp8_fdct_fast8x4
34
#define vp8_fdct_fast8x4 vp9_short_fdct8x4_armv6
John Koleszar's avatar
John Koleszar committed
35
#endif
Tero Rintaluoma's avatar
Tero Rintaluoma committed
36
37

#endif /* HAVE_ARMV6 */
John Koleszar's avatar
John Koleszar committed
38
39

#if HAVE_ARMV7
40
41
extern prototype_fdct(vp9_short_fdct4x4_neon);
extern prototype_fdct(vp9_short_fdct8x4_neon);
John Koleszar's avatar
John Koleszar committed
42
43
extern prototype_fdct(vp8_fast_fdct4x4_neon);
extern prototype_fdct(vp8_fast_fdct8x4_neon);
44
extern prototype_fdct(vp9_short_walsh4x4_neon);
John Koleszar's avatar
John Koleszar committed
45

46
#if !CONFIG_RUNTIME_CPU_DETECT
John Koleszar's avatar
John Koleszar committed
47
#undef  vp8_fdct_short4x4
48
#define vp8_fdct_short4x4 vp9_short_fdct4x4_neon
John Koleszar's avatar
John Koleszar committed
49
50

#undef  vp8_fdct_short8x4
51
#define vp8_fdct_short8x4 vp9_short_fdct8x4_neon
John Koleszar's avatar
John Koleszar committed
52
53

#undef  vp8_fdct_fast4x4
54
#define vp8_fdct_fast4x4 vp9_short_fdct4x4_neon
John Koleszar's avatar
John Koleszar committed
55
56

#undef  vp8_fdct_fast8x4
57
#define vp8_fdct_fast8x4 vp9_short_fdct8x4_neon
John Koleszar's avatar
John Koleszar committed
58
59

#undef  vp8_fdct_walsh_short4x4
60
#define vp8_fdct_walsh_short4x4 vp9_short_walsh4x4_neon
61
#endif
John Koleszar's avatar
John Koleszar committed
62
63
64
65

#endif

#endif