D | SkSwizzler_opts.h | 497 __m128i planar; in premul_should_swapRB() local 499 planar = _mm_setr_epi8(2,6,10,14, 1,5,9,13, 0,4,8,12, 3,7,11,15); in premul_should_swapRB() 501 planar = _mm_setr_epi8(0,4,8,12, 1,5,9,13, 2,6,10,14, 3,7,11,15); in premul_should_swapRB() 505 *lo = _mm_shuffle_epi8(*lo, planar); // rrrrgggg bbbbaaaa in premul_should_swapRB() 506 *hi = _mm_shuffle_epi8(*hi, planar); // RRRRGGGG BBBBAAAA in premul_should_swapRB() 707 __m128i planar; in inverted_cmyk_to() local 709 planar = _mm_setr_epi8(2,6,10,14, 1,5,9,13, 0,4,8,12, 3,7,11,15); in inverted_cmyk_to() 711 planar = _mm_setr_epi8(0,4,8,12, 1,5,9,13, 2,6,10,14, 3,7,11,15); in inverted_cmyk_to() 715 *lo = _mm_shuffle_epi8(*lo, planar); // ccccmmmm yyyykkkk in inverted_cmyk_to() 716 *hi = _mm_shuffle_epi8(*hi, planar); // CCCCMMMM YYYYKKKK in inverted_cmyk_to()
|