Lines Matching refs:pixels
44 // Load 4 pixels each of src and dest.
96 // Load 4 pixels
156 // Load 16 source pixels.
166 // All 16 source pixels are fully transparent. There's nothing to do!
172 // All 16 source pixels are fully opaque. There's no need to read dst or blend it.
179 // The general slow case: do the blend for all 16 pixels.
186 // Wrap up the last <= 15 pixels.
216 // Load 4 pixels each of src and dest.
246 // Check if we have enough pixels to run SIMD
256 // Align dst to an even 16 byte address (0-7 pixels)
265 // Load eight RGB565 pixels
266 __m128i pixels = _mm_load_si128(dst_wide);
268 // Mask out sub-pixels
269 __m128i pixel_R = _mm_srli_epi16(pixels, SK_R16_SHIFT);
270 __m128i pixel_G = _mm_slli_epi16(pixels, SK_R16_BITS);
272 __m128i pixel_B = _mm_and_si128(pixels, mask_blue);
289 pixels = _mm_or_si128(pixel_R, pixel_G);
290 pixels = _mm_or_si128(pixels, pixel_B);
291 _mm_store_si128(dst_wide, pixels);
299 // Small loop to handle remaining pixels.
342 // by an R, G, B, or A suffix. Components of one of the four pixels that
369 // Pack the 4 16bit mask pixels into 4 32bit pixels, (p0, p1, p2, p3)
414 // Add two pixels into result.
419 // Pack into 4 32bit dst pixels.
420 pixels) each.
421 // Merge into one SSE regsiter with sixteen 8-bit values (four pixels),
430 // by an R, G, B, or A suffix. Components of one of the four pixels that
455 // Pack the 4 16bit mask pixels into 4 32bit pixels, (p0, p1, p2, p3)
492 // Add two pixels into result.
497 // Pack into 4 32bit dst pixels and force opaque.
498 // resultLo and resultHi contain eight 16-bit components (two pixels) each.
499 // Merge into one SSE regsiter with sixteen 8-bit values (four pixels),
536 // Load four destination pixels into dst_sse.
548 // if mask pixels are not all zero, we will blend the dst pixels
550 // Unpack 4 16bit mask pixels to
556 // Process 4 32bit dst pixels
604 // Load four destination pixels into dst_sse.
616 // if mask pixels are not all zero, we will blend the dst pixels
618 // Unpack 4 16bit mask pixels to
624 // Process 4 32bit dst pixels
671 // Load 8 pixels of src.
723 // Load 8 pixels of src.
727 // Check whether src pixels are equal to 0 and get the highest bit
728 // of each byte of result, if src pixels are all zero, src_cmp1 and
740 // Load 8 pixels of dst.
860 // Load 8 pixels of src.
997 // Load 8 pixels of src and dst.