Vector Pack Pixel
vec_packpx(arg1,
arg2)
The result is obtained from
the concatenated 32 bytes of arg1 and
arg2, by creating the packed pixels of each
word and moving them, left to right, into the halfwords of
the result.
A packed pixel is a 1/5/5/5-encoded aRGB
halfword. It is formed from a word by taking the LSB of the
high-order byte for the 1-bit alpha field and the 5 LSBs of
each of the 3 remaining bytes to get the R, G and B
fields.
See "PackAndUnpackPixel" in Programming Examples for a
demonstration of the use of this instruction.
Result
|
arg1 and
arg2
|
Maps
To
|
vector
pixel
|
vector unsigned
long
|
vpkpx
|
|