/media/libvpx/vpx_ports/arm.h

http://github.com/zpao/v8monkey · C Header · 27 lines · 9 code · 6 blank · 12 comment · 0 complexity · 0b6d20ae22cc0b360d852d8d0029737b MD5 · raw file

  1. /*
  2. * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #ifndef VPX_PORTS_ARM_H
  11. #define VPX_PORTS_ARM_H
  12. #include <stdlib.h>
  13. #include "config.h"
  14. /*ARMv5TE "Enhanced DSP" instructions.*/
  15. #define HAS_EDSP 0x01
  16. /*ARMv6 "Parallel" or "Media" instructions.*/
  17. #define HAS_MEDIA 0x02
  18. /*ARMv7 optional NEON instructions.*/
  19. #define HAS_NEON 0x04
  20. int arm_cpu_caps(void);
  21. #endif