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 16 extern prototype_fdct(vp8_short_walsh4x4_armv6); 17 18 #if !CONFIG_RUNTIME_CPU_DETECT 19 #undef vp8_fdct_walsh_short4x4 20 #define vp8_fdct_walsh_short4x4 vp8_short_walsh4x4_armv6 21 #endif 22 #endif 23 24 #if HAVE_ARMV7 25 extern prototype_fdct(vp8_short_fdct4x4_neon); 26 extern prototype_fdct(vp8_short_fdct8x4_neon); 27 extern prototype_fdct(vp8_fast_fdct4x4_neon); 28 extern prototype_fdct(vp8_fast_fdct8x4_neon); 29 extern prototype_fdct(vp8_short_walsh4x4_neon); 30 31 #if !CONFIG_RUNTIME_CPU_DETECT 32 #undef vp8_fdct_short4x4 33 #define vp8_fdct_short4x4 vp8_short_fdct4x4_neon 34 35 #undef vp8_fdct_short8x4 36 #define vp8_fdct_short8x4 vp8_short_fdct8x4_neon 37 38 #undef vp8_fdct_fast4x4 39 #define vp8_fdct_fast4x4 vp8_fast_fdct4x4_neon 40 41 #undef vp8_fdct_fast8x4 42 #define vp8_fdct_fast8x4 vp8_fast_fdct8x4_neon 43 44 #undef vp8_fdct_walsh_short4x4 45 #define vp8_fdct_walsh_short4x4 vp8_short_walsh4x4_neon 46 #endif 47 48 #endif 49 50 #endif 51