Lines Matching refs:v16i8

78     v16i8 zero_m = {0};                                                        \
80 vec0_m = (v8i16)__msa_ilvr_b((v16i8)in_y, (v16i8)in_y); \
81 vec1_m = (v8i16)__msa_ilvr_b((v16i8)zero_m, (v16i8)in_uv); \
128 vec0_m = (v8i16)__msa_ilvev_b((v16i8)in1, (v16i8)in0); \
129 vec1_m = (v8i16)__msa_ilvev_b((v16i8)in3, (v16i8)in2); \
154 y_out = (v16u8)__msa_pckev_b((v16i8)reg1_m, (v16i8)reg0_m); \
166 src0_m = (v16u8)__msa_ld_b((v16i8*)s, 0); \
167 src1_m = (v16u8)__msa_ld_b((v16i8*)s, 16); \
168 src2_m = (v16u8)__msa_ld_b((v16i8*)s, 32); \
169 src3_m = (v16u8)__msa_ld_b((v16i8*)s, 48); \
170 src4_m = (v16u8)__msa_ld_b((v16i8*)t, 0); \
171 src5_m = (v16u8)__msa_ld_b((v16i8*)t, 16); \
172 src6_m = (v16u8)__msa_ld_b((v16i8*)t, 32); \
173 src7_m = (v16u8)__msa_ld_b((v16i8*)t, 48); \
174 vec0_m = (v16u8)__msa_ilvr_b((v16i8)src0_m, (v16i8)src4_m); \
175 vec1_m = (v16u8)__msa_ilvr_b((v16i8)src1_m, (v16i8)src5_m); \
176 vec2_m = (v16u8)__msa_ilvr_b((v16i8)src2_m, (v16i8)src6_m); \
177 vec3_m = (v16u8)__msa_ilvr_b((v16i8)src3_m, (v16i8)src7_m); \
178 vec4_m = (v16u8)__msa_ilvl_b((v16i8)src0_m, (v16i8)src4_m); \
179 vec5_m = (v16u8)__msa_ilvl_b((v16i8)src1_m, (v16i8)src5_m); \
180 vec6_m = (v16u8)__msa_ilvl_b((v16i8)src2_m, (v16i8)src6_m); \
181 vec7_m = (v16u8)__msa_ilvl_b((v16i8)src3_m, (v16i8)src7_m); \
202 argb0 = (v16u8)__msa_pckev_b((v16i8)reg9_m, (v16i8)reg8_m); \
203 argb1 = (v16u8)__msa_pckev_b((v16i8)reg1_m, (v16i8)reg0_m); \
204 src0_m = (v16u8)__msa_ld_b((v16i8*)s, 64); \
205 src1_m = (v16u8)__msa_ld_b((v16i8*)s, 80); \
206 src2_m = (v16u8)__msa_ld_b((v16i8*)s, 96); \
207 src3_m = (v16u8)__msa_ld_b((v16i8*)s, 112); \
208 src4_m = (v16u8)__msa_ld_b((v16i8*)t, 64); \
209 src5_m = (v16u8)__msa_ld_b((v16i8*)t, 80); \
210 src6_m = (v16u8)__msa_ld_b((v16i8*)t, 96); \
211 src7_m = (v16u8)__msa_ld_b((v16i8*)t, 112); \
212 vec2_m = (v16u8)__msa_ilvr_b((v16i8)src0_m, (v16i8)src4_m); \
213 vec3_m = (v16u8)__msa_ilvr_b((v16i8)src1_m, (v16i8)src5_m); \
214 vec4_m = (v16u8)__msa_ilvr_b((v16i8)src2_m, (v16i8)src6_m); \
215 vec5_m = (v16u8)__msa_ilvr_b((v16i8)src3_m, (v16i8)src7_m); \
216 vec6_m = (v16u8)__msa_ilvl_b((v16i8)src0_m, (v16i8)src4_m); \
217 vec7_m = (v16u8)__msa_ilvl_b((v16i8)src1_m, (v16i8)src5_m); \
218 vec8_m = (v16u8)__msa_ilvl_b((v16i8)src2_m, (v16i8)src6_m); \
219 vec9_m = (v16u8)__msa_ilvl_b((v16i8)src3_m, (v16i8)src7_m); \
240 argb2 = (v16u8)__msa_pckev_b((v16i8)reg9_m, (v16i8)reg8_m); \
241 argb3 = (v16u8)__msa_pckev_b((v16i8)reg1_m, (v16i8)reg0_m); \
251 vec0_m = (v16u8)__msa_vshf_b(shf0, (v16i8)argb1, (v16i8)argb0); \
252 vec1_m = (v16u8)__msa_vshf_b(shf0, (v16i8)argb3, (v16i8)argb2); \
253 vec2_m = (v16u8)__msa_vshf_b(shf1, (v16i8)argb1, (v16i8)argb0); \
254 vec3_m = (v16u8)__msa_vshf_b(shf1, (v16i8)argb3, (v16i8)argb2); \
255 vec4_m = (v16u8)__msa_vshf_b(shf2, (v16i8)argb1, (v16i8)argb0); \
256 vec5_m = (v16u8)__msa_vshf_b(shf2, (v16i8)argb3, (v16i8)argb2); \
257 vec6_m = (v16u8)__msa_vshf_b(shf3, (v16i8)argb1, (v16i8)argb0); \
258 vec7_m = (v16u8)__msa_vshf_b(shf3, (v16i8)argb3, (v16i8)argb2); \
271 v_out = (v16u8)__msa_pckod_b((v16i8)reg1_m, (v16i8)reg0_m); \
272 u_out = (v16u8)__msa_pckod_b((v16i8)reg3_m, (v16i8)reg2_m); \
292 v16i8 shuffler = {15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0}; in MirrorRow_MSA()
309 v16i8 shuffler = {12, 13, 14, 15, 8, 9, 10, 11, 4, 5, 6, 7, 0, 1, 2, 3}; in ARGBMirrorRow_MSA()
390 src1 = (v16u8)__msa_ilvr_b((v16i8)src2, (v16i8)src1); in I422ToARGBRow_MSA()
421 src1 = (v16u8)__msa_ilvr_b((v16i8)src2, (v16i8)src1); in I422ToRGBARow_MSA()
455 src1 = (v16u8)__msa_ilvr_b((v16i8)src2, (v16i8)src1); in I422AlphaToARGBRow_MSA()
459 src3 = (v16u8)__msa_ilvr_b((v16i8)src3, (v16i8)src3); in I422AlphaToARGBRow_MSA()
483 v16i8 shuffler0 = {0, 1, 16, 2, 3, 17, 4, 5, 18, 6, 7, 19, 8, 9, 20, 10}; in I422ToRGB24Row_MSA()
484 v16i8 shuffler1 = {0, 21, 1, 2, 22, 3, 4, 23, 5, 6, 24, 7, 8, 25, 9, 10}; in I422ToRGB24Row_MSA()
485 v16i8 shuffler2 = {26, 6, 7, 27, 8, 9, 28, 10, in I422ToRGB24Row_MSA()
499 src1 = (v16u8)__msa_ilvr_b((v16i8)src2, (v16i8)src1); in I422ToRGB24Row_MSA()
500 src3 = (v16u8)__msa_sldi_b((v16i8)src0, (v16i8)src0, 8); in I422ToRGB24Row_MSA()
501 src4 = (v16u8)__msa_sldi_b((v16i8)src1, (v16i8)src1, 8); in I422ToRGB24Row_MSA()
506 reg0 = (v16u8)__msa_ilvev_b((v16i8)vec1, (v16i8)vec0); in I422ToRGB24Row_MSA()
507 reg2 = (v16u8)__msa_ilvev_b((v16i8)vec4, (v16i8)vec3); in I422ToRGB24Row_MSA()
508 reg3 = (v16u8)__msa_pckev_b((v16i8)vec5, (v16i8)vec2); in I422ToRGB24Row_MSA()
509 reg1 = (v16u8)__msa_sldi_b((v16i8)reg2, (v16i8)reg0, 11); in I422ToRGB24Row_MSA()
510 dst0 = (v16u8)__msa_vshf_b(shuffler0, (v16i8)reg3, (v16i8)reg0); in I422ToRGB24Row_MSA()
511 dst1 = (v16u8)__msa_vshf_b(shuffler1, (v16i8)reg3, (v16i8)reg1); in I422ToRGB24Row_MSA()
512 dst2 = (v16u8)__msa_vshf_b(shuffler2, (v16i8)reg3, (v16i8)reg2); in I422ToRGB24Row_MSA()
542 src1 = (v16u8)__msa_ilvr_b((v16i8)src2, (v16i8)src1); in I422ToRGB565Row_MSA()
582 src1 = (v16u8)__msa_ilvr_b((v16i8)src2, (v16i8)src1); in I422ToARGB4444Row_MSA()
622 src1 = (v16u8)__msa_ilvr_b((v16i8)src2, (v16i8)src1); in I422ToARGB1555Row_MSA()
647 dst0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in YUY2ToYRow_MSA()
648 dst1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in YUY2ToYRow_MSA()
668 src0 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in YUY2ToUVRow_MSA()
669 src1 = (v16u8)__msa_pckod_b((v16i8)src3, (v16i8)src2); in YUY2ToUVRow_MSA()
670 src2 = (v16u8)__msa_pckod_b((v16i8)src5, (v16i8)src4); in YUY2ToUVRow_MSA()
671 src3 = (v16u8)__msa_pckod_b((v16i8)src7, (v16i8)src6); in YUY2ToUVRow_MSA()
674 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in YUY2ToUVRow_MSA()
675 dst1 = (v16u8)__msa_pckod_b((v16i8)vec1, (v16i8)vec0); in YUY2ToUVRow_MSA()
694 src0 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in YUY2ToUV422Row_MSA()
695 src1 = (v16u8)__msa_pckod_b((v16i8)src3, (v16i8)src2); in YUY2ToUV422Row_MSA()
696 dst0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in YUY2ToUV422Row_MSA()
697 dst1 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in YUY2ToUV422Row_MSA()
712 dst0 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in UYVYToYRow_MSA()
713 dst1 = (v16u8)__msa_pckod_b((v16i8)src3, (v16i8)src2); in UYVYToYRow_MSA()
733 src0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in UYVYToUVRow_MSA()
734 src1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in UYVYToUVRow_MSA()
735 src2 = (v16u8)__msa_pckev_b((v16i8)src5, (v16i8)src4); in UYVYToUVRow_MSA()
736 src3 = (v16u8)__msa_pckev_b((v16i8)src7, (v16i8)src6); in UYVYToUVRow_MSA()
739 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in UYVYToUVRow_MSA()
740 dst1 = (v16u8)__msa_pckod_b((v16i8)vec1, (v16i8)vec0); in UYVYToUVRow_MSA()
759 src0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in UYVYToUV422Row_MSA()
760 src1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in UYVYToUV422Row_MSA()
761 dst0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in UYVYToUV422Row_MSA()
762 dst1 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in UYVYToUV422Row_MSA()
775 v16i8 zero = {0}; in ARGBToYRow_MSA()
786 vec0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in ARGBToYRow_MSA()
787 vec1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in ARGBToYRow_MSA()
788 vec2 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in ARGBToYRow_MSA()
789 vec3 = (v16u8)__msa_pckod_b((v16i8)src3, (v16i8)src2); in ARGBToYRow_MSA()
790 reg0 = (v8u16)__msa_ilvev_b(zero, (v16i8)vec0); in ARGBToYRow_MSA()
791 reg1 = (v8u16)__msa_ilvev_b(zero, (v16i8)vec1); in ARGBToYRow_MSA()
792 reg2 = (v8u16)__msa_ilvev_b(zero, (v16i8)vec2); in ARGBToYRow_MSA()
793 reg3 = (v8u16)__msa_ilvev_b(zero, (v16i8)vec3); in ARGBToYRow_MSA()
794 reg4 = (v8u16)__msa_ilvod_b(zero, (v16i8)vec0); in ARGBToYRow_MSA()
795 reg5 = (v8u16)__msa_ilvod_b(zero, (v16i8)vec1); in ARGBToYRow_MSA()
810 dst0 = (v16u8)__msa_pckev_b((v16i8)reg1, (v16i8)reg0); in ARGBToYRow_MSA()
844 vec0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in ARGBToUVRow_MSA()
845 vec1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in ARGBToUVRow_MSA()
846 vec2 = (v16u8)__msa_pckev_b((v16i8)src5, (v16i8)src4); in ARGBToUVRow_MSA()
847 vec3 = (v16u8)__msa_pckev_b((v16i8)src7, (v16i8)src6); in ARGBToUVRow_MSA()
848 vec4 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in ARGBToUVRow_MSA()
849 vec5 = (v16u8)__msa_pckod_b((v16i8)src3, (v16i8)src2); in ARGBToUVRow_MSA()
850 vec6 = (v16u8)__msa_pckod_b((v16i8)src5, (v16i8)src4); in ARGBToUVRow_MSA()
851 vec7 = (v16u8)__msa_pckod_b((v16i8)src7, (v16i8)src6); in ARGBToUVRow_MSA()
852 vec8 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBToUVRow_MSA()
853 vec9 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGBToUVRow_MSA()
854 vec4 = (v16u8)__msa_pckev_b((v16i8)vec5, (v16i8)vec4); in ARGBToUVRow_MSA()
855 vec5 = (v16u8)__msa_pckev_b((v16i8)vec7, (v16i8)vec6); in ARGBToUVRow_MSA()
856 vec0 = (v16u8)__msa_pckod_b((v16i8)vec1, (v16i8)vec0); in ARGBToUVRow_MSA()
857 vec1 = (v16u8)__msa_pckod_b((v16i8)vec3, (v16i8)vec2); in ARGBToUVRow_MSA()
872 vec0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in ARGBToUVRow_MSA()
873 vec1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in ARGBToUVRow_MSA()
874 vec2 = (v16u8)__msa_pckev_b((v16i8)src5, (v16i8)src4); in ARGBToUVRow_MSA()
875 vec3 = (v16u8)__msa_pckev_b((v16i8)src7, (v16i8)src6); in ARGBToUVRow_MSA()
876 vec4 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in ARGBToUVRow_MSA()
877 vec5 = (v16u8)__msa_pckod_b((v16i8)src3, (v16i8)src2); in ARGBToUVRow_MSA()
878 vec6 = (v16u8)__msa_pckod_b((v16i8)src5, (v16i8)src4); in ARGBToUVRow_MSA()
879 vec7 = (v16u8)__msa_pckod_b((v16i8)src7, (v16i8)src6); in ARGBToUVRow_MSA()
880 vec8 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBToUVRow_MSA()
881 vec9 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGBToUVRow_MSA()
882 vec4 = (v16u8)__msa_pckev_b((v16i8)vec5, (v16i8)vec4); in ARGBToUVRow_MSA()
883 vec5 = (v16u8)__msa_pckev_b((v16i8)vec7, (v16i8)vec6); in ARGBToUVRow_MSA()
884 vec0 = (v16u8)__msa_pckod_b((v16i8)vec1, (v16i8)vec0); in ARGBToUVRow_MSA()
885 vec1 = (v16u8)__msa_pckod_b((v16i8)vec3, (v16i8)vec2); in ARGBToUVRow_MSA()
924 dst0 = (v16u8)__msa_pckev_b((v16i8)reg7, (v16i8)reg6); in ARGBToUVRow_MSA()
925 dst1 = (v16u8)__msa_pckev_b((v16i8)reg5, (v16i8)reg4); in ARGBToUVRow_MSA()
938 v16i8 shuffler0 = {0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 14, 16, 17, 18, 20}; in ARGBToRGB24Row_MSA()
939 v16i8 shuffler1 = {5, 6, 8, 9, 10, 12, 13, 14, in ARGBToRGB24Row_MSA()
941 v16i8 shuffler2 = {10, 12, 13, 14, 16, 17, 18, 20, in ARGBToRGB24Row_MSA()
945 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0); in ARGBToRGB24Row_MSA()
946 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16); in ARGBToRGB24Row_MSA()
947 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb, 32); in ARGBToRGB24Row_MSA()
948 src3 = (v16u8)__msa_ld_b((v16i8*)src_argb, 48); in ARGBToRGB24Row_MSA()
949 dst0 = (v16u8)__msa_vshf_b(shuffler0, (v16i8)src1, (v16i8)src0); in ARGBToRGB24Row_MSA()
950 dst1 = (v16u8)__msa_vshf_b(shuffler1, (v16i8)src2, (v16i8)src1); in ARGBToRGB24Row_MSA()
951 dst2 = (v16u8)__msa_vshf_b(shuffler2, (v16i8)src3, (v16i8)src2); in ARGBToRGB24Row_MSA()
962 v16i8 shuffler0 = {2, 1, 0, 6, 5, 4, 10, 9, 8, 14, 13, 12, 18, 17, 16, 22}; in ARGBToRAWRow_MSA()
963 v16i8 shuffler1 = {5, 4, 10, 9, 8, 14, 13, 12, in ARGBToRAWRow_MSA()
965 v16i8 shuffler2 = {8, 14, 13, 12, 18, 17, 16, 22, in ARGBToRAWRow_MSA()
969 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0); in ARGBToRAWRow_MSA()
970 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16); in ARGBToRAWRow_MSA()
971 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb, 32); in ARGBToRAWRow_MSA()
972 src3 = (v16u8)__msa_ld_b((v16i8*)src_argb, 48); in ARGBToRAWRow_MSA()
973 dst0 = (v16u8)__msa_vshf_b(shuffler0, (v16i8)src1, (v16i8)src0); in ARGBToRAWRow_MSA()
974 dst1 = (v16u8)__msa_vshf_b(shuffler1, (v16i8)src2, (v16i8)src1); in ARGBToRAWRow_MSA()
975 dst2 = (v16u8)__msa_vshf_b(shuffler2, (v16i8)src3, (v16i8)src2); in ARGBToRAWRow_MSA()
987 v16i8 zero = {0}; in ARGBToRGB565Row_MSA()
990 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0); in ARGBToRGB565Row_MSA()
991 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16); in ARGBToRGB565Row_MSA()
992 vec0 = (v16u8)__msa_srai_b((v16i8)src0, 3); in ARGBToRGB565Row_MSA()
993 vec1 = (v16u8)__msa_slli_b((v16i8)src0, 3); in ARGBToRGB565Row_MSA()
994 vec2 = (v16u8)__msa_srai_b((v16i8)src0, 5); in ARGBToRGB565Row_MSA()
995 vec4 = (v16u8)__msa_srai_b((v16i8)src1, 3); in ARGBToRGB565Row_MSA()
996 vec5 = (v16u8)__msa_slli_b((v16i8)src1, 3); in ARGBToRGB565Row_MSA()
997 vec6 = (v16u8)__msa_srai_b((v16i8)src1, 5); in ARGBToRGB565Row_MSA()
998 vec1 = (v16u8)__msa_sldi_b(zero, (v16i8)vec1, 1); in ARGBToRGB565Row_MSA()
999 vec2 = (v16u8)__msa_sldi_b(zero, (v16i8)vec2, 1); in ARGBToRGB565Row_MSA()
1000 vec5 = (v16u8)__msa_sldi_b(zero, (v16i8)vec5, 1); in ARGBToRGB565Row_MSA()
1001 vec6 = (v16u8)__msa_sldi_b(zero, (v16i8)vec6, 1); in ARGBToRGB565Row_MSA()
1002 vec3 = (v16u8)__msa_sldi_b(zero, (v16i8)src0, 2); in ARGBToRGB565Row_MSA()
1003 vec7 = (v16u8)__msa_sldi_b(zero, (v16i8)src1, 2); in ARGBToRGB565Row_MSA()
1008 vec0 = (v16u8)__msa_ilvev_b((v16i8)vec1, (v16i8)vec0); in ARGBToRGB565Row_MSA()
1009 vec4 = (v16u8)__msa_ilvev_b((v16i8)vec5, (v16i8)vec4); in ARGBToRGB565Row_MSA()
1021 v16i8 zero = {0}; in ARGBToARGB1555Row_MSA()
1024 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0); in ARGBToARGB1555Row_MSA()
1025 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16); in ARGBToARGB1555Row_MSA()
1026 vec0 = (v16u8)__msa_srai_b((v16i8)src0, 3); in ARGBToARGB1555Row_MSA()
1027 vec1 = (v16u8)__msa_slli_b((v16i8)src0, 2); in ARGBToARGB1555Row_MSA()
1028 vec2 = (v16u8)__msa_srai_b((v16i8)vec0, 3); in ARGBToARGB1555Row_MSA()
1029 vec1 = (v16u8)__msa_sldi_b(zero, (v16i8)vec1, 1); in ARGBToARGB1555Row_MSA()
1030 vec2 = (v16u8)__msa_sldi_b(zero, (v16i8)vec2, 1); in ARGBToARGB1555Row_MSA()
1031 vec3 = (v16u8)__msa_srai_b((v16i8)src0, 1); in ARGBToARGB1555Row_MSA()
1032 vec5 = (v16u8)__msa_srai_b((v16i8)src1, 3); in ARGBToARGB1555Row_MSA()
1033 vec6 = (v16u8)__msa_slli_b((v16i8)src1, 2); in ARGBToARGB1555Row_MSA()
1034 vec7 = (v16u8)__msa_srai_b((v16i8)vec5, 3); in ARGBToARGB1555Row_MSA()
1035 vec6 = (v16u8)__msa_sldi_b(zero, (v16i8)vec6, 1); in ARGBToARGB1555Row_MSA()
1036 vec7 = (v16u8)__msa_sldi_b(zero, (v16i8)vec7, 1); in ARGBToARGB1555Row_MSA()
1037 vec8 = (v16u8)__msa_srai_b((v16i8)src1, 1); in ARGBToARGB1555Row_MSA()
1038 vec3 = (v16u8)__msa_sldi_b(zero, (v16i8)vec3, 2); in ARGBToARGB1555Row_MSA()
1039 vec8 = (v16u8)__msa_sldi_b(zero, (v16i8)vec8, 2); in ARGBToARGB1555Row_MSA()
1040 vec4 = (v16u8)__msa_sldi_b(zero, (v16i8)src0, 3); in ARGBToARGB1555Row_MSA()
1041 vec9 = (v16u8)__msa_sldi_b(zero, (v16i8)src1, 3); in ARGBToARGB1555Row_MSA()
1048 vec0 = (v16u8)__msa_ilvev_b((v16i8)vec1, (v16i8)vec0); in ARGBToARGB1555Row_MSA()
1049 vec1 = (v16u8)__msa_ilvev_b((v16i8)vec6, (v16i8)vec5); in ARGBToARGB1555Row_MSA()
1062 v16i8 zero = {0}; in ARGBToARGB4444Row_MSA()
1065 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0); in ARGBToARGB4444Row_MSA()
1066 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16); in ARGBToARGB4444Row_MSA()
1067 vec0 = (v16u8)__msa_srai_b((v16i8)src0, 4); in ARGBToARGB4444Row_MSA()
1068 vec1 = (v16u8)__msa_srai_b((v16i8)src1, 4); in ARGBToARGB4444Row_MSA()
1069 src0 = (v16u8)__msa_sldi_b(zero, (v16i8)src0, 1); in ARGBToARGB4444Row_MSA()
1070 src1 = (v16u8)__msa_sldi_b(zero, (v16i8)src1, 1); in ARGBToARGB4444Row_MSA()
1073 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBToARGB4444Row_MSA()
1094 v16i8 zero = {0}; in ARGBToUV444Row_MSA()
1097 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0); in ARGBToUV444Row_MSA()
1098 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16); in ARGBToUV444Row_MSA()
1099 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb, 32); in ARGBToUV444Row_MSA()
1100 src3 = (v16u8)__msa_ld_b((v16i8*)src_argb, 48); in ARGBToUV444Row_MSA()
1101 reg0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in ARGBToUV444Row_MSA()
1102 reg1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in ARGBToUV444Row_MSA()
1103 reg2 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in ARGBToUV444Row_MSA()
1104 reg3 = (v16u8)__msa_pckod_b((v16i8)src3, (v16i8)src2); in ARGBToUV444Row_MSA()
1105 src0 = (v16u8)__msa_pckev_b((v16i8)reg1, (v16i8)reg0); in ARGBToUV444Row_MSA()
1106 src1 = (v16u8)__msa_pckev_b((v16i8)reg3, (v16i8)reg2); in ARGBToUV444Row_MSA()
1107 src2 = (v16u8)__msa_pckod_b((v16i8)reg1, (v16i8)reg0); in ARGBToUV444Row_MSA()
1108 vec0 = (v8u16)__msa_ilvr_b(zero, (v16i8)src0); in ARGBToUV444Row_MSA()
1109 vec1 = (v8u16)__msa_ilvl_b(zero, (v16i8)src0); in ARGBToUV444Row_MSA()
1110 vec2 = (v8u16)__msa_ilvr_b(zero, (v16i8)src1); in ARGBToUV444Row_MSA()
1111 vec3 = (v8u16)__msa_ilvl_b(zero, (v16i8)src1); in ARGBToUV444Row_MSA()
1112 vec4 = (v8u16)__msa_ilvr_b(zero, (v16i8)src2); in ARGBToUV444Row_MSA()
1113 vec5 = (v8u16)__msa_ilvl_b(zero, (v16i8)src2); in ARGBToUV444Row_MSA()
1142 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBToUV444Row_MSA()
1143 dst1 = (v16u8)__msa_pckev_b((v16i8)vec7, (v16i8)vec6); in ARGBToUV444Row_MSA()
1163 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 0); in ARGBMultiplyRow_MSA()
1164 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb1, 0); in ARGBMultiplyRow_MSA()
1165 vec0 = (v8u16)__msa_ilvr_b((v16i8)src0, (v16i8)src0); in ARGBMultiplyRow_MSA()
1166 vec1 = (v8u16)__msa_ilvl_b((v16i8)src0, (v16i8)src0); in ARGBMultiplyRow_MSA()
1167 vec2 = (v8u16)__msa_ilvr_b((v16i8)zero, (v16i8)src1); in ARGBMultiplyRow_MSA()
1168 vec3 = (v8u16)__msa_ilvl_b((v16i8)zero, (v16i8)src1); in ARGBMultiplyRow_MSA()
1183 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBMultiplyRow_MSA()
1199 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 0); in ARGBAddRow_MSA()
1200 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 16); in ARGBAddRow_MSA()
1201 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb1, 0); in ARGBAddRow_MSA()
1202 src3 = (v16u8)__msa_ld_b((v16i8*)src_argb1, 16); in ARGBAddRow_MSA()
1220 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 0); in ARGBSubtractRow_MSA()
1221 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 16); in ARGBSubtractRow_MSA()
1222 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb1, 0); in ARGBSubtractRow_MSA()
1223 src3 = (v16u8)__msa_ld_b((v16i8*)src_argb1, 16); in ARGBSubtractRow_MSA()
1242 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0); in ARGBAttenuateRow_MSA()
1243 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16); in ARGBAttenuateRow_MSA()
1244 vec0 = (v8u16)__msa_ilvr_b((v16i8)src0, (v16i8)src0); in ARGBAttenuateRow_MSA()
1245 vec1 = (v8u16)__msa_ilvl_b((v16i8)src0, (v16i8)src0); in ARGBAttenuateRow_MSA()
1246 vec2 = (v8u16)__msa_ilvr_b((v16i8)src1, (v16i8)src1); in ARGBAttenuateRow_MSA()
1247 vec3 = (v8u16)__msa_ilvl_b((v16i8)src1, (v16i8)src1); in ARGBAttenuateRow_MSA()
1288 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBAttenuateRow_MSA()
1289 dst1 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGBAttenuateRow_MSA()
1306 v16i8 zero = {0}; in ARGBToRGB565DitherRow_MSA()
1310 vec_d0 = (v8i16)__msa_ilvr_b(zero, (v16i8)vec_d0); in ARGBToRGB565DitherRow_MSA()
1313 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb, 0); in ARGBToRGB565DitherRow_MSA()
1314 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb, 16); in ARGBToRGB565DitherRow_MSA()
1315 vec0 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in ARGBToRGB565DitherRow_MSA()
1316 vec1 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in ARGBToRGB565DitherRow_MSA()
1317 reg0 = (v8i16)__msa_ilvev_b(zero, (v16i8)vec0); in ARGBToRGB565DitherRow_MSA()
1318 reg1 = (v8i16)__msa_ilvev_b(zero, (v16i8)vec1); in ARGBToRGB565DitherRow_MSA()
1319 reg2 = (v8i16)__msa_ilvod_b(zero, (v16i8)vec0); in ARGBToRGB565DitherRow_MSA()
1348 v16i8 vec0; in ARGBShuffleRow_MSA()
1349 v16i8 shuffler_vec = {0, 0, 0, 0, 4, 4, 4, 4, 8, 8, 8, 8, 12, 12, 12, 12}; in ARGBShuffleRow_MSA()
1352 vec0 = (v16i8)__msa_fill_w(val); in ARGBShuffleRow_MSA()
1358 dst0 = (v16u8)__msa_vshf_b(shuffler_vec, (v16i8)src0, (v16i8)src0); in ARGBShuffleRow_MSA()
1359 dst1 = (v16u8)__msa_vshf_b(shuffler_vec, (v16i8)src1, (v16i8)src1); in ARGBShuffleRow_MSA()
1377 rgba_scale = (v4u32)__msa_ilvr_b((v16i8)rgba_scale, (v16i8)rgba_scale); in ARGBShadeRow_MSA()
1382 vec0 = (v8u16)__msa_ilvr_b((v16i8)src0, (v16i8)src0); in ARGBShadeRow_MSA()
1383 vec1 = (v8u16)__msa_ilvl_b((v16i8)src0, (v16i8)src0); in ARGBShadeRow_MSA()
1398 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBShadeRow_MSA()
1420 vec0 = (v16u8)__msa_ilvev_b((v16i8)reg0, (v16i8)reg0); in ARGBGrayRow_MSA()
1421 vec1 = (v16u8)__msa_ilvod_b((v16i8)vec1, (v16i8)vec0); in ARGBGrayRow_MSA()
1422 dst0 = (v16u8)__msa_ilvr_b((v16i8)vec1, (v16i8)vec0); in ARGBGrayRow_MSA()
1423 dst1 = (v16u8)__msa_ilvl_b((v16i8)vec1, (v16i8)vec0); in ARGBGrayRow_MSA()
1447 vec3 = (v16u8)__msa_pckod_b((v16i8)vec1, (v16i8)vec1); in ARGBSepiaRow_MSA()
1459 vec0 = (v16u8)__msa_pckev_b((v16i8)reg0, (v16i8)reg0); in ARGBSepiaRow_MSA()
1460 vec1 = (v16u8)__msa_pckev_b((v16i8)reg1, (v16i8)reg1); in ARGBSepiaRow_MSA()
1461 vec2 = (v16u8)__msa_pckev_b((v16i8)reg2, (v16i8)reg2); in ARGBSepiaRow_MSA()
1462 vec4 = (v16u8)__msa_ilvr_b((v16i8)vec2, (v16i8)vec0); in ARGBSepiaRow_MSA()
1463 vec5 = (v16u8)__msa_ilvr_b((v16i8)vec3, (v16i8)vec1); in ARGBSepiaRow_MSA()
1464 dst0 = (v16u8)__msa_ilvr_b((v16i8)vec5, (v16i8)vec4); in ARGBSepiaRow_MSA()
1465 dst1 = (v16u8)__msa_ilvl_b((v16i8)vec5, (v16i8)vec4); in ARGBSepiaRow_MSA()
1486 vec0 |= (v8u16)__msa_slli_b((v16i8)vec0, 4); in ARGB4444ToARGBRow_MSA()
1487 vec1 |= (v8u16)__msa_slli_b((v16i8)vec1, 4); in ARGB4444ToARGBRow_MSA()
1488 vec2 |= (v8u16)__msa_srli_b((v16i8)vec2, 4); in ARGB4444ToARGBRow_MSA()
1489 vec3 |= (v8u16)__msa_srli_b((v16i8)vec3, 4); in ARGB4444ToARGBRow_MSA()
1490 dst0 = (v16u8)__msa_ilvr_b((v16i8)vec2, (v16i8)vec0); in ARGB4444ToARGBRow_MSA()
1491 dst1 = (v16u8)__msa_ilvl_b((v16i8)vec2, (v16i8)vec0); in ARGB4444ToARGBRow_MSA()
1492 dst2 = (v16u8)__msa_ilvr_b((v16i8)vec3, (v16i8)vec1); in ARGB4444ToARGBRow_MSA()
1493 dst3 = (v16u8)__msa_ilvl_b((v16i8)vec3, (v16i8)vec1); in ARGB4444ToARGBRow_MSA()
1525 reg0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGB1555ToARGBRow_MSA()
1526 reg1 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGB1555ToARGBRow_MSA()
1527 reg2 = (v16u8)__msa_pckev_b((v16i8)vec5, (v16i8)vec4); in ARGB1555ToARGBRow_MSA()
1528 reg3 = (v16u8)__msa_pckev_b((v16i8)src1, (v16i8)src0); in ARGB1555ToARGBRow_MSA()
1529 reg4 = (v16u8)__msa_slli_b((v16i8)reg0, 3); in ARGB1555ToARGBRow_MSA()
1530 reg5 = (v16u8)__msa_slli_b((v16i8)reg1, 3); in ARGB1555ToARGBRow_MSA()
1531 reg6 = (v16u8)__msa_slli_b((v16i8)reg2, 3); in ARGB1555ToARGBRow_MSA()
1532 reg4 |= (v16u8)__msa_srai_b((v16i8)reg0, 2); in ARGB1555ToARGBRow_MSA()
1533 reg5 |= (v16u8)__msa_srai_b((v16i8)reg1, 2); in ARGB1555ToARGBRow_MSA()
1534 reg6 |= (v16u8)__msa_srai_b((v16i8)reg2, 2); in ARGB1555ToARGBRow_MSA()
1536 reg0 = (v16u8)__msa_ilvr_b((v16i8)reg6, (v16i8)reg4); in ARGB1555ToARGBRow_MSA()
1537 reg1 = (v16u8)__msa_ilvl_b((v16i8)reg6, (v16i8)reg4); in ARGB1555ToARGBRow_MSA()
1538 reg2 = (v16u8)__msa_ilvr_b((v16i8)reg3, (v16i8)reg5); in ARGB1555ToARGBRow_MSA()
1539 reg3 = (v16u8)__msa_ilvl_b((v16i8)reg3, (v16i8)reg5); in ARGB1555ToARGBRow_MSA()
1540 dst0 = (v16u8)__msa_ilvr_b((v16i8)reg2, (v16i8)reg0); in ARGB1555ToARGBRow_MSA()
1541 dst1 = (v16u8)__msa_ilvl_b((v16i8)reg2, (v16i8)reg0); in ARGB1555ToARGBRow_MSA()
1542 dst2 = (v16u8)__msa_ilvr_b((v16i8)reg3, (v16i8)reg1); in ARGB1555ToARGBRow_MSA()
1543 dst3 = (v16u8)__msa_ilvl_b((v16i8)reg3, (v16i8)reg1); in ARGB1555ToARGBRow_MSA()
1581 res0 = (v16u8)__msa_ilvev_b((v16i8)reg2, (v16i8)reg0); in RGB565ToARGBRow_MSA()
1582 res1 = (v16u8)__msa_ilvev_b((v16i8)alpha, (v16i8)reg1); in RGB565ToARGBRow_MSA()
1583 res2 = (v16u8)__msa_ilvev_b((v16i8)reg5, (v16i8)reg3); in RGB565ToARGBRow_MSA()
1584 res3 = (v16u8)__msa_ilvev_b((v16i8)alpha, (v16i8)reg4); in RGB565ToARGBRow_MSA()
1585 dst0 = (v16u8)__msa_ilvr_b((v16i8)res1, (v16i8)res0); in RGB565ToARGBRow_MSA()
1586 dst1 = (v16u8)__msa_ilvl_b((v16i8)res1, (v16i8)res0); in RGB565ToARGBRow_MSA()
1587 dst2 = (v16u8)__msa_ilvr_b((v16i8)res3, (v16i8)res2); in RGB565ToARGBRow_MSA()
1588 dst3 = (v16u8)__msa_ilvl_b((v16i8)res3, (v16i8)res2); in RGB565ToARGBRow_MSA()
1601 v16i8 shuffler = {0, 1, 2, 16, 3, 4, 5, 17, 6, 7, 8, 18, 9, 10, 11, 19}; in RGB24ToARGBRow_MSA()
1604 src0 = (v16u8)__msa_ld_b((v16i8*)src_rgb24, 0); in RGB24ToARGBRow_MSA()
1605 src1 = (v16u8)__msa_ld_b((v16i8*)src_rgb24, 16); in RGB24ToARGBRow_MSA()
1606 src2 = (v16u8)__msa_ld_b((v16i8*)src_rgb24, 32); in RGB24ToARGBRow_MSA()
1607 vec0 = (v16u8)__msa_sldi_b((v16i8)src1, (v16i8)src0, 12); in RGB24ToARGBRow_MSA()
1608 vec1 = (v16u8)__msa_sldi_b((v16i8)src2, (v16i8)src1, 8); in RGB24ToARGBRow_MSA()
1609 vec2 = (v16u8)__msa_sldi_b((v16i8)src2, (v16i8)src2, 4); in RGB24ToARGBRow_MSA()
1610 dst0 = (v16u8)__msa_vshf_b(shuffler, (v16i8)alpha, (v16i8)src0); in RGB24ToARGBRow_MSA()
1611 dst1 = (v16u8)__msa_vshf_b(shuffler, (v16i8)alpha, (v16i8)vec0); in RGB24ToARGBRow_MSA()
1612 dst2 = (v16u8)__msa_vshf_b(shuffler, (v16i8)alpha, (v16i8)vec1); in RGB24ToARGBRow_MSA()
1613 dst3 = (v16u8)__msa_vshf_b(shuffler, (v16i8)alpha, (v16i8)vec2); in RGB24ToARGBRow_MSA()
1626 v16i8 mask = {2, 1, 0, 16, 5, 4, 3, 17, 8, 7, 6, 18, 11, 10, 9, 19}; in RAWToARGBRow_MSA()
1629 src0 = (v16u8)__msa_ld_b((v16i8*)src_raw, 0); in RAWToARGBRow_MSA()
1630 src1 = (v16u8)__msa_ld_b((v16i8*)src_raw, 16); in RAWToARGBRow_MSA()
1631 src2 = (v16u8)__msa_ld_b((v16i8*)src_raw, 32); in RAWToARGBRow_MSA()
1632 vec0 = (v16u8)__msa_sldi_b((v16i8)src1, (v16i8)src0, 12); in RAWToARGBRow_MSA()
1633 vec1 = (v16u8)__msa_sldi_b((v16i8)src2, (v16i8)src1, 8); in RAWToARGBRow_MSA()
1634 vec2 = (v16u8)__msa_sldi_b((v16i8)src2, (v16i8)src2, 4); in RAWToARGBRow_MSA()
1635 dst0 = (v16u8)__msa_vshf_b(mask, (v16i8)alpha, (v16i8)src0); in RAWToARGBRow_MSA()
1636 dst1 = (v16u8)__msa_vshf_b(mask, (v16i8)alpha, (v16i8)vec0); in RAWToARGBRow_MSA()
1637 dst2 = (v16u8)__msa_vshf_b(mask, (v16i8)alpha, (v16i8)vec1); in RAWToARGBRow_MSA()
1638 dst3 = (v16u8)__msa_vshf_b(mask, (v16i8)alpha, (v16i8)vec2); in RAWToARGBRow_MSA()
1695 dst0 = (v16u8)__msa_pckev_b((v16i8)reg1, (v16i8)reg0); in ARGB1555ToYRow_MSA()
1758 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in RGB565ToYRow_MSA()
1772 v16i8 mask0 = {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12}; in RGB24ToYRow_MSA()
1773 v16i8 mask1 = {12, 13, 14, 15, 15, 16, 17, 18, in RGB24ToYRow_MSA()
1775 v16i8 mask2 = {8, 9, 10, 11, 11, 12, 13, 14, 14, 15, 16, 17, 17, 18, 19, 20}; in RGB24ToYRow_MSA()
1776 v16i8 mask3 = {4, 5, 6, 7, 7, 8, 9, 10, 10, 11, 12, 13, 13, 14, 15, 16}; in RGB24ToYRow_MSA()
1777 v16i8 zero = {0}; in RGB24ToYRow_MSA()
1780 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 0); in RGB24ToYRow_MSA()
1781 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 16); in RGB24ToYRow_MSA()
1782 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 32); in RGB24ToYRow_MSA()
1783 reg0 = (v16u8)__msa_vshf_b(mask0, zero, (v16i8)src0); in RGB24ToYRow_MSA()
1784 reg1 = (v16u8)__msa_vshf_b(mask1, (v16i8)src1, (v16i8)src0); in RGB24ToYRow_MSA()
1785 reg2 = (v16u8)__msa_vshf_b(mask2, (v16i8)src2, (v16i8)src1); in RGB24ToYRow_MSA()
1786 reg3 = (v16u8)__msa_vshf_b(mask3, zero, (v16i8)src2); in RGB24ToYRow_MSA()
1799 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in RGB24ToYRow_MSA()
1813 v16i8 mask0 = {0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12}; in RAWToYRow_MSA()
1814 v16i8 mask1 = {12, 13, 14, 15, 15, 16, 17, 18, in RAWToYRow_MSA()
1816 v16i8 mask2 = {8, 9, 10, 11, 11, 12, 13, 14, 14, 15, 16, 17, 17, 18, 19, 20}; in RAWToYRow_MSA()
1817 v16i8 mask3 = {4, 5, 6, 7, 7, 8, 9, 10, 10, 11, 12, 13, 13, 14, 15, 16}; in RAWToYRow_MSA()
1818 v16i8 zero = {0}; in RAWToYRow_MSA()
1821 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 0); in RAWToYRow_MSA()
1822 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 16); in RAWToYRow_MSA()
1823 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 32); in RAWToYRow_MSA()
1824 reg0 = (v16u8)__msa_vshf_b(mask0, zero, (v16i8)src0); in RAWToYRow_MSA()
1825 reg1 = (v16u8)__msa_vshf_b(mask1, (v16i8)src1, (v16i8)src0); in RAWToYRow_MSA()
1826 reg2 = (v16u8)__msa_vshf_b(mask2, (v16i8)src2, (v16i8)src1); in RAWToYRow_MSA()
1827 reg3 = (v16u8)__msa_vshf_b(mask3, zero, (v16i8)src2); in RAWToYRow_MSA()
1840 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in RAWToYRow_MSA()
1876 vec0 = (v8u16)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGB1555ToUVRow_MSA()
1885 vec2 = (v8u16)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGB1555ToUVRow_MSA()
1894 vec4 = (v8u16)__msa_pckev_b((v16i8)vec5, (v16i8)vec4); in ARGB1555ToUVRow_MSA()
1916 dst0 = (v16u8)__msa_pckev_b((v16i8)reg2, (v16i8)reg0); in ARGB1555ToUVRow_MSA()
1958 vec0 = (v8u16)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in RGB565ToUVRow_MSA()
1967 vec1 = (v8u16)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in RGB565ToUVRow_MSA()
1976 vec2 = (v8u16)__msa_pckev_b((v16i8)vec5, (v16i8)vec4); in RGB565ToUVRow_MSA()
1996 dst0 = (v16u8)__msa_pckev_b((v16i8)reg2, (v16i8)reg0); in RGB565ToUVRow_MSA()
2028 v16i8 mask = {0, 1, 2, 16, 3, 4, 5, 17, 6, 7, 8, 18, 9, 10, 11, 19}; in RGB24ToUVRow_MSA()
2029 v16i8 zero = {0}; in RGB24ToUVRow_MSA()
2032 inp0 = (v16u8)__msa_ld_b((v16i8*)s, 0); in RGB24ToUVRow_MSA()
2033 inp1 = (v16u8)__msa_ld_b((v16i8*)s, 16); in RGB24ToUVRow_MSA()
2034 inp2 = (v16u8)__msa_ld_b((v16i8*)s, 32); in RGB24ToUVRow_MSA()
2035 inp3 = (v16u8)__msa_ld_b((v16i8*)t, 0); in RGB24ToUVRow_MSA()
2036 inp4 = (v16u8)__msa_ld_b((v16i8*)t, 16); in RGB24ToUVRow_MSA()
2037 inp5 = (v16u8)__msa_ld_b((v16i8*)t, 32); in RGB24ToUVRow_MSA()
2038 src1 = (v16u8)__msa_sldi_b((v16i8)inp1, (v16i8)inp0, 12); in RGB24ToUVRow_MSA()
2039 src5 = (v16u8)__msa_sldi_b((v16i8)inp4, (v16i8)inp3, 12); in RGB24ToUVRow_MSA()
2040 src2 = (v16u8)__msa_sldi_b((v16i8)inp2, (v16i8)inp1, 8); in RGB24ToUVRow_MSA()
2041 src6 = (v16u8)__msa_sldi_b((v16i8)inp5, (v16i8)inp4, 8); in RGB24ToUVRow_MSA()
2042 src3 = (v16u8)__msa_sldi_b((v16i8)inp2, (v16i8)inp2, 4); in RGB24ToUVRow_MSA()
2043 src7 = (v16u8)__msa_sldi_b((v16i8)inp5, (v16i8)inp5, 4); in RGB24ToUVRow_MSA()
2044 src0 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)inp0); in RGB24ToUVRow_MSA()
2045 src1 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src1); in RGB24ToUVRow_MSA()
2046 src2 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src2); in RGB24ToUVRow_MSA()
2047 src3 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src3); in RGB24ToUVRow_MSA()
2048 src4 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)inp3); in RGB24ToUVRow_MSA()
2049 src5 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src5); in RGB24ToUVRow_MSA()
2050 src6 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src6); in RGB24ToUVRow_MSA()
2051 src7 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src7); in RGB24ToUVRow_MSA()
2052 vec0 = (v8u16)__msa_ilvr_b((v16i8)src4, (v16i8)src0); in RGB24ToUVRow_MSA()
2053 vec1 = (v8u16)__msa_ilvl_b((v16i8)src4, (v16i8)src0); in RGB24ToUVRow_MSA()
2054 vec2 = (v8u16)__msa_ilvr_b((v16i8)src5, (v16i8)src1); in RGB24ToUVRow_MSA()
2055 vec3 = (v8u16)__msa_ilvl_b((v16i8)src5, (v16i8)src1); in RGB24ToUVRow_MSA()
2056 vec4 = (v8u16)__msa_ilvr_b((v16i8)src6, (v16i8)src2); in RGB24ToUVRow_MSA()
2057 vec5 = (v8u16)__msa_ilvl_b((v16i8)src6, (v16i8)src2); in RGB24ToUVRow_MSA()
2058 vec6 = (v8u16)__msa_ilvr_b((v16i8)src7, (v16i8)src3); in RGB24ToUVRow_MSA()
2059 vec7 = (v8u16)__msa_ilvl_b((v16i8)src7, (v16i8)src3); in RGB24ToUVRow_MSA()
2101 dst0 = (v16u8)__msa_pckev_b((v16i8)reg2, (v16i8)reg0); in RGB24ToUVRow_MSA()
2133 v16i8 mask = {0, 1, 2, 16, 3, 4, 5, 17, 6, 7, 8, 18, 9, 10, 11, 19}; in RAWToUVRow_MSA()
2134 v16i8 zero = {0}; in RAWToUVRow_MSA()
2137 inp0 = (v16u8)__msa_ld_b((v16i8*)s, 0); in RAWToUVRow_MSA()
2138 inp1 = (v16u8)__msa_ld_b((v16i8*)s, 16); in RAWToUVRow_MSA()
2139 inp2 = (v16u8)__msa_ld_b((v16i8*)s, 32); in RAWToUVRow_MSA()
2140 inp3 = (v16u8)__msa_ld_b((v16i8*)t, 0); in RAWToUVRow_MSA()
2141 inp4 = (v16u8)__msa_ld_b((v16i8*)t, 16); in RAWToUVRow_MSA()
2142 inp5 = (v16u8)__msa_ld_b((v16i8*)t, 32); in RAWToUVRow_MSA()
2143 src1 = (v16u8)__msa_sldi_b((v16i8)inp1, (v16i8)inp0, 12); in RAWToUVRow_MSA()
2144 src5 = (v16u8)__msa_sldi_b((v16i8)inp4, (v16i8)inp3, 12); in RAWToUVRow_MSA()
2145 src2 = (v16u8)__msa_sldi_b((v16i8)inp2, (v16i8)inp1, 8); in RAWToUVRow_MSA()
2146 src6 = (v16u8)__msa_sldi_b((v16i8)inp5, (v16i8)inp4, 8); in RAWToUVRow_MSA()
2147 src3 = (v16u8)__msa_sldi_b((v16i8)inp2, (v16i8)inp2, 4); in RAWToUVRow_MSA()
2148 src7 = (v16u8)__msa_sldi_b((v16i8)inp5, (v16i8)inp5, 4); in RAWToUVRow_MSA()
2149 src0 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)inp0); in RAWToUVRow_MSA()
2150 src1 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src1); in RAWToUVRow_MSA()
2151 src2 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src2); in RAWToUVRow_MSA()
2152 src3 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src3); in RAWToUVRow_MSA()
2153 src4 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)inp3); in RAWToUVRow_MSA()
2154 src5 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src5); in RAWToUVRow_MSA()
2155 src6 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src6); in RAWToUVRow_MSA()
2156 src7 = (v16u8)__msa_vshf_b(mask, (v16i8)zero, (v16i8)src7); in RAWToUVRow_MSA()
2157 vec0 = (v8u16)__msa_ilvr_b((v16i8)src4, (v16i8)src0); in RAWToUVRow_MSA()
2158 vec1 = (v8u16)__msa_ilvl_b((v16i8)src4, (v16i8)src0); in RAWToUVRow_MSA()
2159 vec2 = (v8u16)__msa_ilvr_b((v16i8)src5, (v16i8)src1); in RAWToUVRow_MSA()
2160 vec3 = (v8u16)__msa_ilvl_b((v16i8)src5, (v16i8)src1); in RAWToUVRow_MSA()
2161 vec4 = (v8u16)__msa_ilvr_b((v16i8)src6, (v16i8)src2); in RAWToUVRow_MSA()
2162 vec5 = (v8u16)__msa_ilvl_b((v16i8)src6, (v16i8)src2); in RAWToUVRow_MSA()
2163 vec6 = (v8u16)__msa_ilvr_b((v16i8)src7, (v16i8)src3); in RAWToUVRow_MSA()
2164 vec7 = (v8u16)__msa_ilvl_b((v16i8)src7, (v16i8)src3); in RAWToUVRow_MSA()
2206 dst0 = (v16u8)__msa_pckev_b((v16i8)reg2, (v16i8)reg0); in RAWToUVRow_MSA()
2244 res0 = (v16u8)__msa_ilvev_b((v16i8)vec2, (v16i8)vec0); in NV12ToARGBRow_MSA()
2245 res1 = (v16u8)__msa_ilvev_b((v16i8)alpha, (v16i8)vec1); in NV12ToARGBRow_MSA()
2246 dst0 = (v16u8)__msa_ilvr_b((v16i8)res1, (v16i8)res0); in NV12ToARGBRow_MSA()
2247 dst1 = (v16u8)__msa_ilvl_b((v16i8)res1, (v16i8)res0); in NV12ToARGBRow_MSA()
2304 v16i8 shuffler = {1, 0, 3, 2, 5, 4, 7, 6, 9, 8, 11, 10, 13, 12, 15, 14}; in NV21ToARGBRow_MSA()
2316 src1 = (v16u8)__msa_vshf_b(shuffler, (v16i8)src1, (v16i8)src1); in NV21ToARGBRow_MSA()
2319 res0 = (v16u8)__msa_ilvev_b((v16i8)vec2, (v16i8)vec0); in NV21ToARGBRow_MSA()
2320 res1 = (v16u8)__msa_ilvev_b((v16i8)alpha, (v16i8)vec1); in NV21ToARGBRow_MSA()
2321 dst0 = (v16u8)__msa_ilvr_b((v16i8)res1, (v16i8)res0); in NV21ToARGBRow_MSA()
2322 dst1 = (v16u8)__msa_ilvl_b((v16i8)res1, (v16i8)res0); in NV21ToARGBRow_MSA()
2336 v16i8 mask0 = {0, 0, 0, 16, 1, 1, 1, 16, 2, 2, 2, 16, 3, 3, 3, 16}; in SobelRow_MSA()
2337 v16i8 const_0x4 = __msa_ldi_b(0x4); in SobelRow_MSA()
2338 v16i8 mask1 = mask0 + const_0x4; in SobelRow_MSA()
2339 v16i8 mask2 = mask1 + const_0x4; in SobelRow_MSA()
2340 v16i8 mask3 = mask2 + const_0x4; in SobelRow_MSA()
2344 src0 = (v16u8)__msa_ld_b((v16i8*)src_sobelx, 0); in SobelRow_MSA()
2345 src1 = (v16u8)__msa_ld_b((v16i8*)src_sobely, 0); in SobelRow_MSA()
2347 dst0 = (v16u8)__msa_vshf_b(mask0, (v16i8)alpha, (v16i8)vec0); in SobelRow_MSA()
2348 dst1 = (v16u8)__msa_vshf_b(mask1, (v16i8)alpha, (v16i8)vec0); in SobelRow_MSA()
2349 dst2 = (v16u8)__msa_vshf_b(mask2, (v16i8)alpha, (v16i8)vec0); in SobelRow_MSA()
2350 dst3 = (v16u8)__msa_vshf_b(mask3, (v16i8)alpha, (v16i8)vec0); in SobelRow_MSA()
2366 src0 = (v16u8)__msa_ld_b((v16i8*)src_sobelx, 0); in SobelToPlaneRow_MSA()
2367 src1 = (v16u8)__msa_ld_b((v16i8*)src_sobelx, 16); in SobelToPlaneRow_MSA()
2368 src2 = (v16u8)__msa_ld_b((v16i8*)src_sobely, 0); in SobelToPlaneRow_MSA()
2369 src3 = (v16u8)__msa_ld_b((v16i8*)src_sobely, 16); in SobelToPlaneRow_MSA()
2389 src0 = (v16u8)__msa_ld_b((v16i8*)src_sobelx, 0); in SobelXYRow_MSA()
2390 src1 = (v16u8)__msa_ld_b((v16i8*)src_sobely, 0); in SobelXYRow_MSA()
2392 vec1 = (v16u8)__msa_ilvr_b((v16i8)src0, (v16i8)src1); in SobelXYRow_MSA()
2393 vec2 = (v16u8)__msa_ilvl_b((v16i8)src0, (v16i8)src1); in SobelXYRow_MSA()
2394 reg0 = (v16u8)__msa_ilvr_b((v16i8)alpha, (v16i8)vec0); in SobelXYRow_MSA()
2395 reg1 = (v16u8)__msa_ilvl_b((v16i8)alpha, (v16i8)vec0); in SobelXYRow_MSA()
2396 dst0 = (v16u8)__msa_ilvr_b((v16i8)reg0, (v16i8)vec1); in SobelXYRow_MSA()
2397 dst1 = (v16u8)__msa_ilvl_b((v16i8)reg0, (v16i8)vec1); in SobelXYRow_MSA()
2398 dst2 = (v16u8)__msa_ilvr_b((v16i8)reg1, (v16i8)vec2); in SobelXYRow_MSA()
2399 dst3 = (v16u8)__msa_ilvl_b((v16i8)reg1, (v16i8)vec2); in SobelXYRow_MSA()
2415 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 0); in ARGBToYJRow_MSA()
2416 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 16); in ARGBToYJRow_MSA()
2417 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 32); in ARGBToYJRow_MSA()
2418 src3 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 48); in ARGBToYJRow_MSA()
2435 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 0); in BGRAToYRow_MSA()
2436 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 16); in BGRAToYRow_MSA()
2437 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 32); in BGRAToYRow_MSA()
2438 src3 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 48); in BGRAToYRow_MSA()
2455 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 0); in ABGRToYRow_MSA()
2456 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 16); in ABGRToYRow_MSA()
2457 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 32); in ABGRToYRow_MSA()
2458 src3 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 48); in ABGRToYRow_MSA()
2475 src0 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 0); in RGBAToYRow_MSA()
2476 src1 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 16); in RGBAToYRow_MSA()
2477 src2 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 32); in RGBAToYRow_MSA()
2478 src3 = (v16u8)__msa_ld_b((v16i8*)src_argb0, 48); in RGBAToYRow_MSA()
2498 v16i8 shuffler0 = {0, 1, 4, 5, 8, 9, 12, 13, 16, 17, 20, 21, 24, 25, 28, 29}; in ARGBToUVJRow_MSA()
2499 v16i8 shuffler1 = {2, 3, 6, 7, 10, 11, 14, 15, in ARGBToUVJRow_MSA()
2501 v16i8 shuffler2 = {0, 3, 4, 7, 8, 11, 12, 15, 16, 19, 20, 23, 24, 27, 28, 31}; in ARGBToUVJRow_MSA()
2502 v16i8 shuffler3 = {1, 2, 5, 6, 9, 10, 13, 14, 17, 18, 21, 22, 25, 26, 29, 30}; in ARGBToUVJRow_MSA()
2509 src0 = (v16u8)__msa_ld_b((v16i8*)s, 0); in ARGBToUVJRow_MSA()
2510 src1 = (v16u8)__msa_ld_b((v16i8*)s, 16); in ARGBToUVJRow_MSA()
2511 src2 = (v16u8)__msa_ld_b((v16i8*)s, 32); in ARGBToUVJRow_MSA()
2512 src3 = (v16u8)__msa_ld_b((v16i8*)s, 48); in ARGBToUVJRow_MSA()
2513 src4 = (v16u8)__msa_ld_b((v16i8*)t, 0); in ARGBToUVJRow_MSA()
2514 src5 = (v16u8)__msa_ld_b((v16i8*)t, 16); in ARGBToUVJRow_MSA()
2515 src6 = (v16u8)__msa_ld_b((v16i8*)t, 32); in ARGBToUVJRow_MSA()
2516 src7 = (v16u8)__msa_ld_b((v16i8*)t, 48); in ARGBToUVJRow_MSA()
2527 src0 = (v16u8)__msa_ld_b((v16i8*)s, 64); in ARGBToUVJRow_MSA()
2528 src1 = (v16u8)__msa_ld_b((v16i8*)s, 80); in ARGBToUVJRow_MSA()
2529 src2 = (v16u8)__msa_ld_b((v16i8*)s, 96); in ARGBToUVJRow_MSA()
2530 src3 = (v16u8)__msa_ld_b((v16i8*)s, 112); in ARGBToUVJRow_MSA()
2531 src4 = (v16u8)__msa_ld_b((v16i8*)t, 64); in ARGBToUVJRow_MSA()
2532 src5 = (v16u8)__msa_ld_b((v16i8*)t, 80); in ARGBToUVJRow_MSA()
2533 src6 = (v16u8)__msa_ld_b((v16i8*)t, 96); in ARGBToUVJRow_MSA()
2534 src7 = (v16u8)__msa_ld_b((v16i8*)t, 112); in ARGBToUVJRow_MSA()
2566 v16i8 shuffler0 = {0, 1, 4, 5, 8, 9, 12, 13, 16, 17, 20, 21, 24, 25, 28, 29}; in BGRAToUVRow_MSA()
2567 v16i8 shuffler1 = {2, 3, 6, 7, 10, 11, 14, 15, in BGRAToUVRow_MSA()
2569 v16i8 shuffler2 = {0, 3, 4, 7, 8, 11, 12, 15, 16, 19, 20, 23, 24, 27, 28, 31}; in BGRAToUVRow_MSA()
2570 v16i8 shuffler3 = {2, 1, 6, 5, 10, 9, 14, 13, 18, 17, 22, 21, 26, 25, 30, 29}; in BGRAToUVRow_MSA()
2600 v16i8 shuffler0 = {0, 1, 4, 5, 8, 9, 12, 13, 16, 17, 20, 21, 24, 25, 28, 29}; in ABGRToUVRow_MSA()
2601 v16i8 shuffler1 = {2, 3, 6, 7, 10, 11, 14, 15, in ABGRToUVRow_MSA()
2603 v16i8 shuffler2 = {0, 3, 4, 7, 8, 11, 12, 15, 16, 19, 20, 23, 24, 27, 28, 31}; in ABGRToUVRow_MSA()
2604 v16i8 shuffler3 = {1, 2, 5, 6, 9, 10, 13, 14, 17, 18, 21, 22, 25, 26, 29, 30}; in ABGRToUVRow_MSA()
2633 v16i8 shuffler0 = {0, 1, 4, 5, 8, 9, 12, 13, 16, 17, 20, 21, 24, 25, 28, 29}; in RGBAToUVRow_MSA()
2634 v16i8 shuffler1 = {2, 3, 6, 7, 10, 11, 14, 15, in RGBAToUVRow_MSA()
2636 v16i8 shuffler2 = {0, 3, 4, 7, 8, 11, 12, 15, 16, 19, 20, 23, 24, 27, 28, 31}; in RGBAToUVRow_MSA()
2637 v16i8 shuffler3 = {2, 1, 6, 5, 10, 9, 14, 13, 18, 17, 22, 21, 26, 25, 30, 29}; in RGBAToUVRow_MSA()
2676 vec0 = (v8u16)__msa_ilvr_b((v16i8)src0, (v16i8)src0); in I444ToARGBRow_MSA()
2689 vec0 = (v8u16)__msa_ilvr_b((v16i8)zero, (v16i8)src1); in I444ToARGBRow_MSA()
2690 vec1 = (v8u16)__msa_ilvr_b((v16i8)zero, (v16i8)src2); in I444ToARGBRow_MSA()
2713 vec0 = (v8u16)__msa_ilvev_b((v16i8)vec1, (v16i8)vec0); in I444ToARGBRow_MSA()
2714 vec1 = (v8u16)__msa_ilvev_b((v16i8)alpha, (v16i8)vec2); in I444ToARGBRow_MSA()
2737 src0 = (v16u8)__msa_ld_b((v16i8*)src_y, 0); in I400ToARGBRow_MSA()
2738 vec0 = (v8i16)__msa_ilvr_b((v16i8)src0, (v16i8)src0); in I400ToARGBRow_MSA()
2739 vec1 = (v8i16)__msa_ilvl_b((v16i8)src0, (v16i8)src0); in I400ToARGBRow_MSA()
2762 res0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in I400ToARGBRow_MSA()
2763 res1 = (v16u8)__msa_ilvr_b((v16i8)res0, (v16i8)res0); in I400ToARGBRow_MSA()
2764 res2 = (v16u8)__msa_ilvl_b((v16i8)res0, (v16i8)res0); in I400ToARGBRow_MSA()
2765 res3 = (v16u8)__msa_ilvr_b((v16i8)alpha, (v16i8)res0); in I400ToARGBRow_MSA()
2766 res4 = (v16u8)__msa_ilvl_b((v16i8)alpha, (v16i8)res0); in I400ToARGBRow_MSA()
2767 dst0 = (v16u8)__msa_ilvr_b((v16i8)res3, (v16i8)res1); in I400ToARGBRow_MSA()
2768 dst1 = (v16u8)__msa_ilvl_b((v16i8)res3, (v16i8)res1); in I400ToARGBRow_MSA()
2769 dst2 = (v16u8)__msa_ilvr_b((v16i8)res4, (v16i8)res2); in I400ToARGBRow_MSA()
2770 dst3 = (v16u8)__msa_ilvl_b((v16i8)res4, (v16i8)res2); in I400ToARGBRow_MSA()
2783 src0 = (v16u8)__msa_ld_b((v16i8*)src_y, 0); in J400ToARGBRow_MSA()
2784 vec0 = (v16u8)__msa_ilvr_b((v16i8)src0, (v16i8)src0); in J400ToARGBRow_MSA()
2785 vec1 = (v16u8)__msa_ilvl_b((v16i8)src0, (v16i8)src0); in J400ToARGBRow_MSA()
2786 vec2 = (v16u8)__msa_ilvr_b((v16i8)alpha, (v16i8)src0); in J400ToARGBRow_MSA()
2787 vec3 = (v16u8)__msa_ilvl_b((v16i8)alpha, (v16i8)src0); in J400ToARGBRow_MSA()
2788 dst0 = (v16u8)__msa_ilvr_b((v16i8)vec2, (v16i8)vec0); in J400ToARGBRow_MSA()
2789 dst1 = (v16u8)__msa_ilvl_b((v16i8)vec2, (v16i8)vec0); in J400ToARGBRow_MSA()
2790 dst2 = (v16u8)__msa_ilvr_b((v16i8)vec3, (v16i8)vec1); in J400ToARGBRow_MSA()
2791 dst3 = (v16u8)__msa_ilvl_b((v16i8)vec3, (v16i8)vec1); in J400ToARGBRow_MSA()
2815 src0 = (v16u8)__msa_ld_b((v16i8*)src_yuy2, 0); in YUY2ToARGBRow_MSA()
2816 src1 = (v16u8)__msa_pckev_b((v16i8)src0, (v16i8)src0); in YUY2ToARGBRow_MSA()
2817 src2 = (v16u8)__msa_pckod_b((v16i8)src0, (v16i8)src0); in YUY2ToARGBRow_MSA()
2843 src0 = (v16u8)__msa_ld_b((v16i8*)src_uyvy, 0); in UYVYToARGBRow_MSA()
2844 src1 = (v16u8)__msa_pckod_b((v16i8)src0, (v16i8)src0); in UYVYToARGBRow_MSA()
2845 src2 = (v16u8)__msa_pckev_b((v16i8)src0, (v16i8)src0); in UYVYToARGBRow_MSA()
2875 src0 = (v16u8)__msa_ld_b((v16i8*)s, 0); in InterpolateRow_MSA()
2876 src1 = (v16u8)__msa_ld_b((v16i8*)s, 16); in InterpolateRow_MSA()
2877 src2 = (v16u8)__msa_ld_b((v16i8*)t, 0); in InterpolateRow_MSA()
2878 src3 = (v16u8)__msa_ld_b((v16i8*)t, 16); in InterpolateRow_MSA()
2893 src0 = (v16u8)__msa_ld_b((v16i8*)s, 0); in InterpolateRow_MSA()
2894 src1 = (v16u8)__msa_ld_b((v16i8*)s, 16); in InterpolateRow_MSA()
2895 src2 = (v16u8)__msa_ld_b((v16i8*)t, 0); in InterpolateRow_MSA()
2896 src3 = (v16u8)__msa_ld_b((v16i8*)t, 16); in InterpolateRow_MSA()
2897 vec0 = (v8u16)__msa_ilvr_b((v16i8)src2, (v16i8)src0); in InterpolateRow_MSA()
2898 vec1 = (v8u16)__msa_ilvl_b((v16i8)src2, (v16i8)src0); in InterpolateRow_MSA()
2899 vec2 = (v8u16)__msa_ilvr_b((v16i8)src3, (v16i8)src1); in InterpolateRow_MSA()
2900 vec3 = (v8u16)__msa_ilvl_b((v16i8)src3, (v16i8)src1); in InterpolateRow_MSA()
2909 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in InterpolateRow_MSA()
2910 dst1 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in InterpolateRow_MSA()
2931 v16i8 shuffler0 = {2, 1, 0, 5, 4, 3, 8, 7, 6, 11, 10, 9, 14, 13, 12, 17}; in RAWToRGB24Row_MSA()
2932 v16i8 shuffler1 = {8, 7, 12, 11, 10, 15, 14, 13, in RAWToRGB24Row_MSA()
2934 v16i8 shuffler2 = {14, 19, 18, 17, 22, 21, 20, 25, in RAWToRGB24Row_MSA()
2938 src0 = (v16u8)__msa_ld_b((v16i8*)src_raw, 0); in RAWToRGB24Row_MSA()
2939 src1 = (v16u8)__msa_ld_b((v16i8*)src_raw, 16); in RAWToRGB24Row_MSA()
2940 src2 = (v16u8)__msa_ld_b((v16i8*)src_raw, 32); in RAWToRGB24Row_MSA()
2941 src3 = (v16u8)__msa_sldi_b((v16i8)src1, (v16i8)src0, 8); in RAWToRGB24Row_MSA()
2942 src4 = (v16u8)__msa_sldi_b((v16i8)src2, (v16i8)src1, 8); in RAWToRGB24Row_MSA()
2943 dst0 = (v16u8)__msa_vshf_b(shuffler0, (v16i8)src1, (v16i8)src0); in RAWToRGB24Row_MSA()
2944 dst1 = (v16u8)__msa_vshf_b(shuffler1, (v16i8)src4, (v16i8)src3); in RAWToRGB24Row_MSA()
2945 dst2 = (v16u8)__msa_vshf_b(shuffler2, (v16i8)src2, (v16i8)src1); in RAWToRGB24Row_MSA()
2961 src0 = (v16u8)__msa_ld_b((v16i8*)src_u, 0); in MergeUVRow_MSA()
2962 src1 = (v16u8)__msa_ld_b((v16i8*)src_v, 0); in MergeUVRow_MSA()
2963 dst0 = (v16u8)__msa_ilvr_b((v16i8)src1, (v16i8)src0); in MergeUVRow_MSA()
2964 dst1 = (v16u8)__msa_ilvl_b((v16i8)src1, (v16i8)src0); in MergeUVRow_MSA()