Lines Matching defs:swizzle
268 * so calculate 'swizzle' just once per row.
272 uint32_t swizzle = ((yo >> 3) ^ (yo >> 4)) & swizzle_bit;
274 mem_copy(dst + ((x0 + yo) ^ swizzle), src + x0, x1 - x0);
277 mem_copy_align16(dst + ((xo + yo) ^ swizzle), src + xo, xtile_span);
280 mem_copy_align16(dst + ((xo + yo) ^ swizzle), src + x2, x3 - x2);
320 * so swizzle can be calculated in advance for these X positions.
333 uint32_t swizzle = swizzle1;
337 /* Step by spans/columns. As it happens, the swizzle bit flips
341 mem_copy_align16(dst + ((xo + yo) ^ swizzle), src + x, ytile_span);
343 swizzle ^= swizzle_bit;
346 mem_copy_align16(dst + ((xo + yo) ^ swizzle), src + x2, x3 - x2);
354 uint32_t swizzle = swizzle1;
363 /* Step by spans/columns. As it happens, the swizzle bit flips
367 mem_copy_align16(dst + ((xo + yo + 0 * column_width) ^ swizzle), src + x + 0 * src_pitch, ytile_span);
368 mem_copy_align16(dst + ((xo + yo + 1 * column_width) ^ swizzle), src + x + 1 * src_pitch, ytile_span);
369 mem_copy_align16(dst + ((xo + yo + 2 * column_width) ^ swizzle), src + x + 2 * src_pitch, ytile_span);
370 mem_copy_align16(dst + ((xo + yo + 3 * column_width) ^ swizzle), src + x + 3 * src_pitch, ytile_span);
372 swizzle ^= swizzle_bit;
376 mem_copy_align16(dst + ((xo + yo + 0 * column_width) ^ swizzle), src + x2 + 0 * src_pitch, x3 - x2);
377 mem_copy_align16(dst + ((xo + yo + 1 * column_width) ^ swizzle), src + x2 + 1 * src_pitch, x3 - x2);
378 mem_copy_align16(dst + ((xo + yo + 2 * column_width) ^ swizzle), src + x2 + 2 * src_pitch, x3 - x2);
379 mem_copy_align16(dst + ((xo + yo + 3 * column_width) ^ swizzle), src + x2 + 3 * src_pitch, x3 - x2);
388 uint32_t swizzle = swizzle1;
392 /* Step by spans/columns. As it happens, the swizzle bit flips
396 mem_copy_align16(dst + ((xo + yo) ^ swizzle), src + x, ytile_span);
398 swizzle ^= swizzle_bit;
401 mem_copy_align16(dst + ((xo + yo) ^ swizzle), src + x2, x3 - x2);
432 * so calculate 'swizzle' just once per row.
436 uint32_t swizzle = ((yo >> 3) ^ (yo >> 4)) & swizzle_bit;
438 mem_copy(dst + x0, src + ((x0 + yo) ^ swizzle), x1 - x0);
441 mem_copy_align16(dst + xo, src + ((xo + yo) ^ swizzle), xtile_span);
444 mem_copy_align16(dst + x2, src + ((xo + yo) ^ swizzle), x3 - x2);
484 * so swizzle can be calculated in advance for these X positions.
497 uint32_t swizzle = swizzle1;
501 /* Step by spans/columns. As it happens, the swizzle bit flips
505 mem_copy_align16(dst + x, src + ((xo + yo) ^ swizzle), ytile_span);
507 swizzle ^= swizzle_bit;
510 mem_copy_align16(dst + x2, src + ((xo + yo) ^ swizzle), x3 - x2);
518 uint32_t swizzle = swizzle1;
527 /* Step by spans/columns. As it happens, the swizzle bit flips
531 mem_copy_align16(dst + x + 0 * dst_pitch, src + ((xo + yo + 0 * column_width) ^ swizzle), ytile_span);
532 mem_copy_align16(dst + x + 1 * dst_pitch, src + ((xo + yo + 1 * column_width) ^ swizzle), ytile_span);
533 mem_copy_align16(dst + x + 2 * dst_pitch, src + ((xo + yo + 2 * column_width) ^ swizzle), ytile_span);
534 mem_copy_align16(dst + x + 3 * dst_pitch, src + ((xo + yo + 3 * column_width) ^ swizzle), ytile_span);
536 swizzle ^= swizzle_bit;
540 mem_copy_align16(dst + x2 + 0 * dst_pitch, src + ((xo + yo + 0 * column_width) ^ swizzle), x3 - x2);
541 mem_copy_align16(dst + x2 + 1 * dst_pitch, src + ((xo + yo + 1 * column_width) ^ swizzle), x3 - x2);
542 mem_copy_align16(dst + x2 + 2 * dst_pitch, src + ((xo + yo + 2 * column_width) ^ swizzle), x3 - x2);
543 mem_copy_align16(dst + x2 + 3 * dst_pitch, src + ((xo + yo + 3 * column_width) ^ swizzle), x3 - x2);
552 uint32_t swizzle = swizzle1;
556 /* Step by spans/columns. As it happens, the swizzle bit flips
560 mem_copy_align16(dst + x, src + ((xo + yo) ^ swizzle), ytile_span);
562 swizzle ^= swizzle_bit;
565 mem_copy_align16(dst + x2, src + ((xo + yo) ^ swizzle), x3 - x2);