|
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 ********************************************************************/ |
|
16 |
|
17 #if !defined(_arm_armcpu_H) |
|
18 # define _arm_armcpu_H (1) |
|
19 #include "../internal.h" |
|
20 |
|
21 /*"Parallel instructions" from ARM v6 and above.*/ |
|
22 #define OC_CPU_ARM_MEDIA (1<<24) |
|
23 /*Flags chosen to match arch/arm/include/asm/hwcap.h in the Linux kernel.*/ |
|
24 #define OC_CPU_ARM_EDSP (1<<7) |
|
25 #define OC_CPU_ARM_NEON (1<<12) |
|
26 |
|
27 ogg_uint32_t oc_cpu_flags_get(void); |
|
28 |
|
29 #endif |