RE: vDSP FFT on PPC
RE: vDSP FFT on PPC
- Subject: RE: vDSP FFT on PPC
- From: "Richard Furse" <email@hidden>
- Date: Mon, 15 Mar 2010 11:50:21 -0000
I've changed my code to use vDSP_fft_zrip() with the vDSP_ctoz() incantation
and it now crashes reliably in my regression tests on PPC for DFT size = 4.
All my arguments are now 16byte aligned. Thanks for this code sample - I
managed to get it to compile by hacking out all the Java mode stuff and also
tried the different (older?) vDSP sample at
http://developer.apple.com/mac/library/samplecode/vDSPExamples/. In both
cases, the sample code crashes in vDSP_fft_zrip() for DFT size 4 (setting
N=2) so I'm guessing all is not well under the hood...
Anyway, apologies for querying the wrong forum and thanks for the help!
--Richard
> -----Original Message-----
> From: Eric Allamanche [mailto:email@hidden]
> Sent: 15 March 2010 05:57
> To: email@hidden
> Cc: email@hidden
> Subject: Re: vDSP FFT on PPC
>
>[...]
>
> yes, you can do this using the ctoz function:
>
> vDSP_ctoz((DSPComplex*)data, 2, &A, 1, size/2 ); //
> where size is the size of your real input vector
>
> You should look at the FFT code examples at
> http://developer.apple.com/mac/library/documentation/Performan
> ce/Conceptual/vDSP_Programming_Guide/SampleCode/SampleCode.htm
> l#//apple_ref/doc/uid/TP40005147-CH205-CIAEJIGF for more
> detailed explanations.
>
> Eric
>
> [...]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden