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.