2 * Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license and patent
5 * grant that can be found in the LICENSE file in the root of the source
6 * tree. All contributing project authors may be found in the AUTHORS
7 * file in the root of the source tree.
11 #ifndef VARIANCE_ARM_H
12 #define VARIANCE_ARM_H
15 extern prototype_sad(vp8_sad4x4_neon
);
16 extern prototype_sad(vp8_sad8x8_neon
);
17 extern prototype_sad(vp8_sad8x16_neon
);
18 extern prototype_sad(vp8_sad16x8_neon
);
19 extern prototype_sad(vp8_sad16x16_neon
);
21 //extern prototype_variance(vp8_variance4x4_c);
22 extern prototype_variance(vp8_variance8x8_neon
);
23 extern prototype_variance(vp8_variance8x16_neon
);
24 extern prototype_variance(vp8_variance16x8_neon
);
25 extern prototype_variance(vp8_variance16x16_neon
);
27 //extern prototype_subpixvariance(vp8_sub_pixel_variance4x4_c);
28 extern prototype_subpixvariance(vp8_sub_pixel_variance8x8_neon
);
29 //extern prototype_subpixvariance(vp8_sub_pixel_variance8x16_c);
30 //extern prototype_subpixvariance(vp8_sub_pixel_variance16x8_c);
31 extern prototype_subpixvariance(vp8_sub_pixel_variance16x16_neon
);
33 //extern prototype_getmbss(vp8_get_mb_ss_c);
34 extern prototype_variance(vp8_mse16x16_neon
);
35 extern prototype_sad(vp8_get16x16pred_error_neon
);
36 //extern prototype_variance2(vp8_get8x8var_c);
37 //extern prototype_variance2(vp8_get16x16var_c);
38 extern prototype_sad(vp8_get4x4sse_cs_neon
);
40 #undef vp8_variance_sad4x4
41 #define vp8_variance_sad4x4 vp8_sad4x4_neon
43 #undef vp8_variance_sad8x8
44 #define vp8_variance_sad8x8 vp8_sad8x8_neon
46 #undef vp8_variance_sad8x16
47 #define vp8_variance_sad8x16 vp8_sad8x16_neon
49 #undef vp8_variance_sad16x8
50 #define vp8_variance_sad16x8 vp8_sad16x8_neon
52 #undef vp8_variance_sad16x16
53 #define vp8_variance_sad16x16 vp8_sad16x16_neon
55 //#undef vp8_variance_var4x4
56 //#define vp8_variance_var4x4 vp8_variance4x4_c
58 #undef vp8_variance_var8x8
59 #define vp8_variance_var8x8 vp8_variance8x8_neon
61 #undef vp8_variance_var8x16
62 #define vp8_variance_var8x16 vp8_variance8x16_neon
64 #undef vp8_variance_var16x8
65 #define vp8_variance_var16x8 vp8_variance16x8_neon
67 #undef vp8_variance_var16x16
68 #define vp8_variance_var16x16 vp8_variance16x16_neon
70 //#undef vp8_variance_subpixvar4x4
71 //#define vp8_variance_subpixvar4x4 vp8_sub_pixel_variance4x4_c
73 #undef vp8_variance_subpixvar8x8
74 #define vp8_variance_subpixvar8x8 vp8_sub_pixel_variance8x8_neon
76 //#undef vp8_variance_subpixvar8x16
77 //#define vp8_variance_subpixvar8x16 vp8_sub_pixel_variance8x16_c
79 //#undef vp8_variance_subpixvar16x8
80 //#define vp8_variance_subpixvar16x8 vp8_sub_pixel_variance16x8_c
82 #undef vp8_variance_subpixvar16x16
83 #define vp8_variance_subpixvar16x16 vp8_sub_pixel_variance16x16_neon
85 //#undef vp8_variance_getmbss
86 //#define vp8_variance_getmbss vp8_get_mb_ss_c
88 #undef vp8_variance_mse16x16
89 #define vp8_variance_mse16x16 vp8_mse16x16_neon
91 #undef vp8_variance_get16x16prederror
92 #define vp8_variance_get16x16prederror vp8_get16x16pred_error_neon
94 //#undef vp8_variance_get8x8var
95 //#define vp8_variance_get8x8var vp8_get8x8var_c
97 //#undef vp8_variance_get16x16var
98 //#define vp8_variance_get16x16var vp8_get16x16var_c
100 #undef vp8_variance_get4x4sse_cs
101 #define vp8_variance_get4x4sse_cs vp8_get4x4sse_cs_neon