• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: vDSP FFT on PPC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: vDSP FFT on PPC (From: Eric Allamanche <email@hidden>)

  • Prev by Date: Re: Trimming heads and tails for audio
  • Next by Date: Re: Issue converting audio files to Apple Lossless
  • Previous by thread: Re: vDSP FFT on PPC
  • Next by thread: Trimming heads and tails for audio
  • Index(es):
    • Date
    • Thread