D | SkSwizzler_opts.h | 511 __m128i planar; in premul_should_swapRB() local 513 planar = _mm_setr_epi8(2,6,10,14, 1,5,9,13, 0,4,8,12, 3,7,11,15); in premul_should_swapRB() 515 planar = _mm_setr_epi8(0,4,8,12, 1,5,9,13, 2,6,10,14, 3,7,11,15); in premul_should_swapRB() 519 *lo = _mm_shuffle_epi8(*lo, planar); // rrrrgggg bbbbaaaa in premul_should_swapRB() 520 *hi = _mm_shuffle_epi8(*hi, planar); // RRRRGGGG BBBBAAAA in premul_should_swapRB() 730 __m128i planar; in inverted_cmyk_to() local 732 planar = _mm_setr_epi8(2,6,10,14, 1,5,9,13, 0,4,8,12, 3,7,11,15); in inverted_cmyk_to() 734 planar = _mm_setr_epi8(0,4,8,12, 1,5,9,13, 2,6,10,14, 3,7,11,15); in inverted_cmyk_to() 738 *lo = _mm_shuffle_epi8(*lo, planar); // ccccmmmm yyyykkkk in inverted_cmyk_to() 739 *hi = _mm_shuffle_epi8(*hi, planar); // CCCCMMMM YYYYKKKK in inverted_cmyk_to()
|