media/libtheora/lib/arm/armcpu.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial