/media/libvpx/vp8/encoder/arm/dct_arm.h

http://github.com/zpao/v8monkey · C Header · 59 lines · 35 code · 15 blank · 9 comment · 0 complexity · 48e09b6f2b462e8f6815e03a0f607f61 MD5 · raw file

  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. #ifndef DCT_ARM_H
  11. #define DCT_ARM_H
  12. #if HAVE_ARMV6
  13. extern prototype_fdct(vp8_short_walsh4x4_armv6);
  14. extern prototype_fdct(vp8_fast_fdct4x4_armv6);
  15. extern prototype_fdct(vp8_fast_fdct8x4_armv6);
  16. #if !CONFIG_RUNTIME_CPU_DETECT
  17. #undef vp8_fdct_walsh_short4x4
  18. #define vp8_fdct_walsh_short4x4 vp8_short_walsh4x4_armv6
  19. #undef vp8_fdct_fast4x4
  20. #define vp8_fdct_fast4x4 vp8_fast_fdct4x4_armv6
  21. #undef vp8_fdct_fast8x4
  22. #define vp8_fdct_fast8x4 vp8_fast_fdct8x4_armv6
  23. #endif
  24. #endif /* HAVE_ARMV6 */
  25. #if HAVE_ARMV7
  26. extern prototype_fdct(vp8_short_fdct4x4_neon);
  27. extern prototype_fdct(vp8_short_fdct8x4_neon);
  28. extern prototype_fdct(vp8_fast_fdct4x4_neon);
  29. extern prototype_fdct(vp8_fast_fdct8x4_neon);
  30. extern prototype_fdct(vp8_short_walsh4x4_neon);
  31. #if !CONFIG_RUNTIME_CPU_DETECT
  32. #undef vp8_fdct_short4x4
  33. #define vp8_fdct_short4x4 vp8_short_fdct4x4_neon
  34. #undef vp8_fdct_short8x4
  35. #define vp8_fdct_short8x4 vp8_short_fdct8x4_neon
  36. #undef vp8_fdct_fast4x4
  37. #define vp8_fdct_fast4x4 vp8_fast_fdct4x4_neon
  38. #undef vp8_fdct_fast8x4
  39. #define vp8_fdct_fast8x4 vp8_fast_fdct8x4_neon
  40. #undef vp8_fdct_walsh_short4x4
  41. #define vp8_fdct_walsh_short4x4 vp8_short_walsh4x4_neon
  42. #endif
  43. #endif
  44. #endif