summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/celt/cpu_support.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2013-12-11 22:59:14 +0100
committerNils Wallménius <nils@rockbox.org>2013-12-16 21:13:23 +0100
commite3c2ed7a71f65dc721c7210f120259ecd4ff65cb (patch)
treede593c1e927dcc036f1b6656f1f881995491b3b9 /lib/rbcodec/codecs/libopus/celt/cpu_support.h
parentd0918b98fa0cfba21208a4fb5ed153687b8f02c3 (diff)
downloadrockbox-e3c2ed7a71f65dc721c7210f120259ecd4ff65cb.tar.gz
rockbox-e3c2ed7a71f65dc721c7210f120259ecd4ff65cb.zip
Sync libopus to upstream release 1.1
Change-Id: I9fea7460fc33f60faff961b3389dd97b5191463c
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/cpu_support.h')
-rw-r--r--lib/rbcodec/codecs/libopus/celt/cpu_support.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/cpu_support.h b/lib/rbcodec/codecs/libopus/celt/cpu_support.h
index 41481feb9c..d68dbe62c5 100644
--- a/lib/rbcodec/codecs/libopus/celt/cpu_support.h
+++ b/lib/rbcodec/codecs/libopus/celt/cpu_support.h
@@ -28,7 +28,10 @@
28#ifndef CPU_SUPPORT_H 28#ifndef CPU_SUPPORT_H
29#define CPU_SUPPORT_H 29#define CPU_SUPPORT_H
30 30
31#if defined(OPUS_HAVE_RTCD) && defined(ARMv4_ASM) 31#include "opus_types.h"
32#include "opus_defines.h"
33
34#if defined(OPUS_HAVE_RTCD) && defined(OPUS_ARM_ASM)
32#include "arm/armcpu.h" 35#include "arm/armcpu.h"
33 36
34/* We currently support 4 ARM variants: 37/* We currently support 4 ARM variants:
@@ -42,7 +45,7 @@
42#else 45#else
43#define OPUS_ARCHMASK 0 46#define OPUS_ARCHMASK 0
44 47
45static inline int opus_select_arch(void) 48static OPUS_INLINE int opus_select_arch(void)
46{ 49{
47 return 0; 50 return 0;
48} 51}