Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Pixel vector data type & altivec

Pixel vector data type & altivec
Thread Tools
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status: Offline
Reply With Quote
May 16, 2001, 06:23 PM
 
I'm interested in using altivec to speed up some image rendering that I am doing. I was wondering if anyone knew anything about the vector pixel data type. There doesn't seem to be a description for it. Is it kind of like 3 or 4 u_int8_t's per pixel or what?

Since I haven't seen it mentioned anywhere either, I was wondering if anyone knew how to convert a vector of floats into a vector of ints. Can I just set them equal using the equals operator?

Also, is the only way to access an individual element of a vector by dotting it with a component vector?

If anyone has a clue about any of this I'd be glad to hear from you. The documentation is sparse and cryptic.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:36 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2