Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interleave / Deinterleave Arrays



Do you mean the conversion of:
{a0, a1, a2, a3...}
{b0, b1, b2, b3...}
into the {a0, b0, a1, b1,...} and back, then you probably should check pack/unpack/merge operations


http://developer.apple.com/hardware/ve/instructions/vec_unpackh.html
http://developer.apple.com/hardware/ve/instructions/vec_unpackl.html
http://developer.apple.com/hardware/ve/instructions/vec_mergeh.html
http://developer.apple.com/hardware/ve/instructions/vec_mergel.html

--
Sincerely,
	Rustam Muginov

On Nov 2, 2005, at 4:28 PM, Olivier Tristan wrote:

Hi Guys,

I got some floats stored in some c++ vector (std::vector), and I would like to
have the possiblity to deinterleave and interleave those arrays. (arbitrary amount of interleaved element and/or 2).


I didn't found so far nice functions to do this in vDSP so I would like to know the more efficient way to do this.

Any advice ?

Thanks,

Regards,

-- Olivier Tristan
Ultimate Sound Bank


_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/perfoptimization-dev/ email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. PerfOptimization-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden

This email sent to email@hidden
References: 
 >Interleave / Deinterleave Arrays (From: Olivier Tristan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.