• 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_conv very slow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vDSP_conv very slow


  • Subject: Re: vDSP_conv very slow
  • From: Ian Ollmann <email@hidden>
  • Date: Thu, 8 Feb 2007 12:31:17 -0800

vDSP_conv(bufSignal,1,bufIR+ROOMCORRECTION_FILTSIZE-1,-1,bufResult, 1,nSampleFrames,ROOMCORRECTION_FILTSIZE);

The current internal decision path for scalar vs. vector code in vDSP_conv looks like this:


StrideType StrideMask = InputStride^1 | FilterStride^1 | OutputStride^1;
uintptr_t AddressMask = (uintptr_t) Filter & 0xf;


	// If eligible, use high-performance routine.
	if ((StrideMask | AddressMask) == 0)
		//call vector code
	else
		//go to scalar code purgatory


So, it looks like you may need to reverse the order of the data in the coefficients in the filter. Sorry about that. Reversing the order of your filter coefficients seems unreasonable to me. I think we should be at least vectorizing the stride -1 case. Alas, that's the way things are at the moment.


Ian
_______________________________________________
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


  • Follow-Ups:
    • Re: vDSP_conv very slow --> very fast now!
      • From: "Cor Jansen" <email@hidden>
    • Re: vDSP_conv very slow
      • From: Ian Ollmann <email@hidden>
  • Prev by Date: Re: Garageband 3/audio units odd behaviour
  • Next by Date: Re: Garageband 3/audio units odd behaviour
  • Previous by thread: RE: OT: iTunes and MIDI
  • Next by thread: Re: vDSP_conv very slow
  • Index(es):
    • Date
    • Thread