armcpu.h 1.2 KB

123456789101112131415161718192021222324252627282930
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2010 *
  9. * by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function:
  13. last mod: $Id: cpu.h 17344 2010-07-21 01:42:18Z tterribe $
  14. ********************************************************************/
  15. #if !defined(_arm_armcpu_H)
  16. # define _arm_armcpu_H (1)
  17. #include "../internal.h"
  18. /*"Parallel instructions" from ARM v6 and above.*/
  19. #define OC_CPU_ARM_MEDIA (1<<24)
  20. /*Flags chosen to match arch/arm/include/asm/hwcap.h in the Linux kernel.*/
  21. #define OC_CPU_ARM_EDSP (1<<7)
  22. #define OC_CPU_ARM_NEON (1<<12)
  23. ogg_uint32_t oc_cpu_flags_get(void);
  24. #endif