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