1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libtheora/lib/arm/armcpu.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +/******************************************************************** 1.5 + * * 1.6 + * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * 1.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 1.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 1.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 1.10 + * * 1.11 + * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2010 * 1.12 + * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * 1.13 + * * 1.14 + ******************************************************************** 1.15 + function: 1.16 + last mod: $Id: cpu.h 17344 2010-07-21 01:42:18Z tterribe $ 1.17 + 1.18 + ********************************************************************/ 1.19 + 1.20 +#if !defined(_arm_armcpu_H) 1.21 +# define _arm_armcpu_H (1) 1.22 +#include "../internal.h" 1.23 + 1.24 +/*"Parallel instructions" from ARM v6 and above.*/ 1.25 +#define OC_CPU_ARM_MEDIA (1<<24) 1.26 +/*Flags chosen to match arch/arm/include/asm/hwcap.h in the Linux kernel.*/ 1.27 +#define OC_CPU_ARM_EDSP (1<<7) 1.28 +#define OC_CPU_ARM_NEON (1<<12) 1.29 + 1.30 +ogg_uint32_t oc_cpu_flags_get(void); 1.31 + 1.32 +#endif