SIMD/Types/uint8x16

From MozillaWiki
Jump to: navigation, search

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 SAD).
  • In digital audio, some PCM formats store samples as uint8 values. Manipulating audio content stored in such a fashion may benefit from working with uint8x16.