]> granicus.if.org Git - libvpx/blob - vp8/encoder/arm/encodemb_arm.h
Merge commit 'refs/changes/09/809/1' of https://review.webmproject.org/p/libvpx
[libvpx] / vp8 / encoder / arm / encodemb_arm.h
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 ENCODEMB_ARM_H
13 #define ENCODEMB_ARM_H
14
15 #if HAVE_ARMV7
16 //extern prototype_berr(vp8_block_error_c);
17 //extern prototype_mberr(vp8_mbblock_error_c);
18 //extern prototype_mbuverr(vp8_mbuverror_c);
19
20 extern prototype_subb(vp8_subtract_b_neon);
21 extern prototype_submby(vp8_subtract_mby_neon);
22 extern prototype_submbuv(vp8_subtract_mbuv_neon);
23
24 //#undef  vp8_encodemb_berr
25 //#define vp8_encodemb_berr vp8_block_error_c
26
27 //#undef  vp8_encodemb_mberr
28 //#define vp8_encodemb_mberr vp8_mbblock_error_c
29
30 //#undef  vp8_encodemb_mbuverr
31 //#define vp8_encodemb_mbuverr vp8_mbuverror_c
32
33 #if !CONFIG_RUNTIME_CPU_DETECT
34 #undef  vp8_encodemb_subb
35 #define vp8_encodemb_subb vp8_subtract_b_neon
36
37 #undef  vp8_encodemb_submby
38 #define vp8_encodemb_submby vp8_subtract_mby_neon
39
40 #undef  vp8_encodemb_submbuv
41 #define vp8_encodemb_submbuv vp8_subtract_mbuv_neon
42 #endif
43
44 #endif
45
46 #endif