[opus] TI DSP support

Jean-Marc Valin jmvalin at jmvalin.ca
Mon Aug 29 20:43:41 UTC 2016

On 29/08/16 04:34 PM, David Boles wrote:
> I did find it using my browser search. I am not sure where the "Git" is. It looks like many of the macros that use the TI intrinsics are commented-out.

You can get the source code from git using this command:
git clone https://git.xiph.org/opus.git
Alternatively, this is the Git version of that fixed_c6x.h file:

> #if 0
> +#include "dsplib.h"
> +
> +#undef MAX16
> +#define MAX16(a,b) _max(a,b)
> ...

Actually, it seems like that #if 0 doesn't even have a matching #endif

> Once my development has commenced (still in the study phase). I will be trying it.

Let me know if/when it works. At that point it will be worth including
in the normal distribution.



> dave
> -----Original Message-----
> From: Jean-Marc Valin [mailto:jmvalin at jmvalin.ca] 
> Sent: Monday, August 29, 2016 4:31 PM
> To: David Boles; opus at xiph.org
> Subject: Re: [opus] TI DSP support
> On 29/08/16 03:54 PM, David Boles wrote:
>> I see the following in arch.h
>> #elif defined (TI_C6X_ASM)
>> #include "fixed_c6x.h"
>> But there does not seem to be a header file by that name in the 1.1.2 distribution.
> The file's in Git, but it's not included in the distribution right now.
> I don't think it's been tested since CELT version 0.3 or something. Can you see if it actually works?
> Cheers,
> 	Jean-Marc

More information about the opus mailing list