SIMD/Types/uint8x16: Difference between revisions

Uses for uint8x16
(Preliminary definition for uint8x16)
 
(Uses for uint8x16)
 
Line 1: Line 1:
The data type uint8x16 represents 16 unsigned 8-bit integers, packed into one 128 bit SIMD register.
The data type uint8x16 represents 16 unsigned 8-bit integers, packed into one 128 bit SIMD register.
== Uses for uint8x16 ==
* In computer graphics, pixel values for each color channel are often represented as uint8. Thus uint8x16 can be very useful when operating on pixel values (for instance, for [[SIMD/Uses/SAD |SAD]]).
* In digital audio, some [http://en.wikipedia.org/wiki/Pcm PCM] formats store samples as uint8 values. Manipulating audio content stored in such a fashion may benefit from working with uint8x16.
51

edits