1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vpx_ports/arm.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +/* 1.5 + * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license 1.8 + * that can be found in the LICENSE file in the root of the source 1.9 + * tree. An additional intellectual property rights grant can be found 1.10 + * in the file PATENTS. All contributing project authors may 1.11 + * be found in the AUTHORS file in the root of the source tree. 1.12 + */ 1.13 + 1.14 + 1.15 +#ifndef VPX_PORTS_ARM_H 1.16 +#define VPX_PORTS_ARM_H 1.17 +#include <stdlib.h> 1.18 +#include "vpx_config.h" 1.19 + 1.20 +/*ARMv5TE "Enhanced DSP" instructions.*/ 1.21 +#define HAS_EDSP 0x01 1.22 +/*ARMv6 "Parallel" or "Media" instructions.*/ 1.23 +#define HAS_MEDIA 0x02 1.24 +/*ARMv7 optional NEON instructions.*/ 1.25 +#define HAS_NEON 0x04 1.26 + 1.27 +int arm_cpu_caps(void); 1.28 + 1.29 +#endif 1.30 +