Index: src/opts/SkBlitRow_opts_arm_neon.cpp |
diff --git a/src/opts/SkBlitRow_opts_arm_neon.cpp b/src/opts/SkBlitRow_opts_arm_neon.cpp |
index d9d40a1ecb4484720eadf882b742fc71981debde..672980d0d2631bba3645c35b047b1cf98e86fa4c 100644 |
--- a/src/opts/SkBlitRow_opts_arm_neon.cpp |
+++ b/src/opts/SkBlitRow_opts_arm_neon.cpp |
@@ -31,9 +31,7 @@ void S32_D565_Opaque_neon(uint16_t* SK_RESTRICT dst, |
vsrc = vld4_u8((uint8_t*)src); |
// Convert src to 565 |
- vdst = vshll_n_u8(vsrc.val[NEON_R], 8); |
- vdst = vsriq_n_u16(vdst, vshll_n_u8(vsrc.val[NEON_G], 8), 5); |
- vdst = vsriq_n_u16(vdst, vshll_n_u8(vsrc.val[NEON_B], 8), 5+6); |
+ vdst = SkPixel32ToPixel16_neon8(vsrc); |
// Store |
vst1q_u16(dst, vdst); |