Export (0) Print
Expand All

_mm_avg_epu8

Microsoft Specific

Computes the average of the 16 unsigned 8-bit integers in a and the 16 unsigned 8-bit integers in b and rounds.

__m128i _mm_avg_epu8 (__m128i a, __m128i b);
PAVGB

r0 := (a0 + b0) / 2
r1 := (a1 + b1) / 2
...
r15 := (a15 + b15) / 2

Header: emmintrin.h

END Microsoft Specific

Community Additions

ADD
Show:
© 2015 Microsoft