summaryrefslogtreecommitdiffstats
path: root/media/libtheora/lib/arm/armcpu.h
blob: 18dd95821007d5b8a4051cdab5baedb1412ab955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/********************************************************************
 *                                                                  *
 * 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.       *
 *                                                                  *
 * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2010                *
 * by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
 *                                                                  *
 ********************************************************************
 function:
    last mod: $Id: cpu.h 17344 2010-07-21 01:42:18Z tterribe $

 ********************************************************************/

#if !defined(_arm_armcpu_H)
# define _arm_armcpu_H (1)
#include "../internal.h"

/*"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);

#endif