vp9_recon_arm.h 2.56 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_COMMON_ARM_VP9_RECON_ARM_H_
#define VP9_COMMON_ARM_VP9_RECON_ARM_H_
John Koleszar's avatar
John Koleszar committed
14
15

#if HAVE_ARMV6
16
17
18
extern prototype_recon_block(vp9_recon_b_armv6);
extern prototype_recon_block(vp9_recon2b_armv6);
extern prototype_recon_block(vp9_recon4b_armv6);
John Koleszar's avatar
John Koleszar committed
19

20
21
22
extern prototype_copy_block(vp9_copy_mem8x8_v6);
extern prototype_copy_block(vp9_copy_mem8x4_v6);
extern prototype_copy_block(vp9_copy_mem16x16_v6);
John Koleszar's avatar
John Koleszar committed
23

24
#if !CONFIG_RUNTIME_CPU_DETECT
John Koleszar's avatar
John Koleszar committed
25
#undef  vp8_recon_recon
26
#define vp8_recon_recon vp9_recon_b_armv6
John Koleszar's avatar
John Koleszar committed
27
28

#undef  vp8_recon_recon2
29
#define vp8_recon_recon2 vp9_recon2b_armv6
John Koleszar's avatar
John Koleszar committed
30
31

#undef  vp8_recon_recon4
32
#define vp8_recon_recon4 vp9_recon4b_armv6
John Koleszar's avatar
John Koleszar committed
33
34

#undef  vp8_recon_copy8x8
35
#define vp8_recon_copy8x8 vp9_copy_mem8x8_v6
John Koleszar's avatar
John Koleszar committed
36
37

#undef  vp8_recon_copy8x4
38
#define vp8_recon_copy8x4 vp9_copy_mem8x4_v6
John Koleszar's avatar
John Koleszar committed
39
40

#undef  vp8_recon_copy16x16
41
#define vp8_recon_copy16x16 vp9_copy_mem16x16_v6
John Koleszar's avatar
John Koleszar committed
42
#endif
43
#endif
John Koleszar's avatar
John Koleszar committed
44
45

#if HAVE_ARMV7
46
47
48
extern prototype_recon_block(vp9_recon_b_neon);
extern prototype_recon_block(vp9_recon2b_neon);
extern prototype_recon_block(vp9_recon4b_neon);
John Koleszar's avatar
John Koleszar committed
49

50
51
52
extern prototype_copy_block(vp9_copy_mem8x8_neon);
extern prototype_copy_block(vp9_copy_mem8x4_neon);
extern prototype_copy_block(vp9_copy_mem16x16_neon);
John Koleszar's avatar
John Koleszar committed
53

54
extern prototype_recon_macroblock(vp9_recon_mb_neon);
55

56
57
extern prototype_build_intra_predictors(vp9_build_intra_predictors_mby_neon);
extern prototype_build_intra_predictors(vp9_build_intra_predictors_mby_s_neon);
58

59
#if !CONFIG_RUNTIME_CPU_DETECT
John Koleszar's avatar
John Koleszar committed
60
#undef  vp8_recon_recon
61
#define vp8_recon_recon vp9_recon_b_neon
John Koleszar's avatar
John Koleszar committed
62
63

#undef  vp8_recon_recon2
64
#define vp8_recon_recon2 vp9_recon2b_neon
John Koleszar's avatar
John Koleszar committed
65
66

#undef  vp8_recon_recon4
67
#define vp8_recon_recon4 vp9_recon4b_neon
John Koleszar's avatar
John Koleszar committed
68
69

#undef  vp8_recon_copy8x8
70
#define vp8_recon_copy8x8 vp9_copy_mem8x8_neon
John Koleszar's avatar
John Koleszar committed
71
72

#undef  vp8_recon_copy8x4
73
#define vp8_recon_copy8x4 vp9_copy_mem8x4_neon
John Koleszar's avatar
John Koleszar committed
74
75

#undef  vp8_recon_copy16x16
76
#define vp8_recon_copy16x16 vp9_copy_mem16x16_neon
77
78

#undef  vp8_recon_recon_mb
79
#define vp8_recon_recon_mb vp9_recon_mb_neon
80

81
82
#undef  vp9_recon_build_intra_predictors_mby
#define vp9_recon_build_intra_predictors_mby vp9_build_intra_predictors_mby_neon
83

84
85
#undef  vp9_recon_build_intra_predictors_mby_s
#define vp9_recon_build_intra_predictors_mby_s vp9_build_intra_predictors_mby_s_neon
86

John Koleszar's avatar
John Koleszar committed
87
#endif
88
#endif
John Koleszar's avatar
John Koleszar committed
89
90

#endif