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

     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 $
    15  ********************************************************************/
    17 #if !defined(_arm_armcpu_H)
    18 # define _arm_armcpu_H (1)
    19 #include "../internal.h"
    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)
    27 ogg_uint32_t oc_cpu_flags_get(void);
    29 #endif

mercurial