Home | History | Annotate | Download | only in intel

Lines Matching defs:avg

28  * The Sub filter predicts d=a, Avg d=(a+b)/2, and Paeth predicts d to be
118 /* The Avg filter predicts each pixel as the (truncated) average of a and b.
134 __m128i avg = _mm_avg_epu8(a,b);
136 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b),
138 d = _mm_add_epi8(d, avg);
150 __m128i avg = _mm_avg_epu8(a,b);
152 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b),
155 d = _mm_add_epi8(d, avg);
167 /* The Avg filter predicts each pixel as the (truncated) average of a and b.
183 __m128i avg = _mm_avg_epu8(a,b);
185 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b),
188 d = _mm_add_epi8(d, avg);