Lines Matching refs:vec1
378 v8i16 vec0, vec1, vec2; in I422ToARGBRow_MSA() local
392 vec0, vec1, vec2); in I422ToARGBRow_MSA()
393 STOREARGB(vec0, vec1, vec2, alpha, rgb_buf); in I422ToARGBRow_MSA()
409 v8i16 vec0, vec1, vec2; in I422ToRGBARow_MSA() local
423 vec0, vec1, vec2); in I422ToRGBARow_MSA()
424 STOREARGB(alpha, vec0, vec1, vec2, rgb_buf); in I422ToRGBARow_MSA()
442 v8i16 vec0, vec1, vec2; in I422AlphaToARGBRow_MSA() local
458 vec0, vec1, vec2); in I422AlphaToARGBRow_MSA()
460 STOREARGB(vec0, vec1, vec2, src3, rgb_buf); in I422AlphaToARGBRow_MSA()
478 v8i16 vec0, vec1, vec2, vec3, vec4, vec5; in I422ToRGB24Row_MSA() local
503 vec0, vec1, vec2); in I422ToRGB24Row_MSA()
506 reg0 = (v16u8)__msa_ilvev_b((v16i8)vec1, (v16i8)vec0); in I422ToRGB24Row_MSA()
531 v8i16 vec0, vec1, vec2; in I422ToRGB565Row_MSA() local
544 vec0, vec2, vec1); in I422ToRGB565Row_MSA()
546 vec1 = __msa_srai_h(vec1, 3); in I422ToRGB565Row_MSA()
548 vec1 = __msa_slli_h(vec1, 11); in I422ToRGB565Row_MSA()
550 vec0 |= vec1; in I422ToRGB565Row_MSA()
569 v8i16 vec0, vec1, vec2; in I422ToARGB4444Row_MSA() local
584 vec0, vec1, vec2); in I422ToARGB4444Row_MSA()
586 reg1 = (v8u16)__msa_srai_h(vec1, 4); in I422ToARGB4444Row_MSA()
609 v8i16 vec0, vec1, vec2; in I422ToARGB1555Row_MSA() local
624 vec0, vec1, vec2); in I422ToARGB1555Row_MSA()
626 reg1 = (v8u16)__msa_srai_h(vec1, 3); in I422ToARGB1555Row_MSA()
663 v16u8 vec0, vec1, dst0, dst1; in YUY2ToUVRow_MSA() local
673 vec1 = __msa_aver_u_b(src1, src3); 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()
728 v16u8 vec0, vec1, dst0, dst1; in UYVYToUVRow_MSA() local
738 vec1 = __msa_aver_u_b(src1, src3); 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()
773 v16u8 src0, src1, src2, src3, vec0, vec1, vec2, vec3, dst0; in ARGBToYRow_MSA() local
787 vec1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in ARGBToYRow_MSA()
791 reg1 = (v8u16)__msa_ilvev_b(zero, (v16i8)vec1); in ARGBToYRow_MSA()
795 reg5 = (v8u16)__msa_ilvod_b(zero, (v16i8)vec1); in ARGBToYRow_MSA()
825 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8, vec9; in ARGBToUVRow_MSA() local
845 vec1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in ARGBToUVRow_MSA()
852 vec8 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); 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()
863 reg5 = __msa_hadd_u_h(vec1, vec1); in ARGBToUVRow_MSA()
873 vec1 = (v16u8)__msa_pckev_b((v16i8)src3, (v16i8)src2); in ARGBToUVRow_MSA()
880 vec8 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); 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()
891 reg5 += __msa_hadd_u_h(vec1, vec1); in ARGBToUVRow_MSA()
986 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in ARGBToRGB565Row_MSA() local
993 vec1 = (v16u8)__msa_slli_b((v16i8)src0, 3); in ARGBToRGB565Row_MSA()
998 vec1 = (v16u8)__msa_sldi_b(zero, (v16i8)vec1, 1); in ARGBToRGB565Row_MSA()
1004 vec0 = __msa_binsli_b(vec0, vec1, 2); in ARGBToRGB565Row_MSA()
1005 vec1 = __msa_binsli_b(vec2, vec3, 4); in ARGBToRGB565Row_MSA()
1008 vec0 = (v16u8)__msa_ilvev_b((v16i8)vec1, (v16i8)vec0); in ARGBToRGB565Row_MSA()
1020 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8, vec9; in ARGBToARGB1555Row_MSA() local
1027 vec1 = (v16u8)__msa_slli_b((v16i8)src0, 2); in ARGBToARGB1555Row_MSA()
1029 vec1 = (v16u8)__msa_sldi_b(zero, (v16i8)vec1, 1); in ARGBToARGB1555Row_MSA()
1042 vec0 = __msa_binsli_b(vec0, vec1, 2); in ARGBToARGB1555Row_MSA()
1044 vec1 = __msa_binsli_b(vec2, vec3, 5); in ARGBToARGB1555Row_MSA()
1046 vec1 = __msa_binsli_b(vec1, vec4, 0); 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()
1050 dst0 = (v16u8)__msa_pckev_h((v8i16)vec1, (v8i16)vec0); in ARGBToARGB1555Row_MSA()
1060 v16u8 vec0, vec1; in ARGBToARGB4444Row_MSA() local
1068 vec1 = (v16u8)__msa_srai_b((v16i8)src1, 4); in ARGBToARGB4444Row_MSA()
1072 vec1 = __msa_binsli_b(vec1, src1, 3); in ARGBToARGB4444Row_MSA()
1073 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBToARGB4444Row_MSA()
1086 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in ARGBToUV444Row_MSA() local
1109 vec1 = (v8u16)__msa_ilvl_b(zero, (v16i8)src0); in ARGBToUV444Row_MSA()
1115 vec11 = vec1 * const_18; in ARGBToUV444Row_MSA()
1121 vec1 *= const_112; in ARGBToUV444Row_MSA()
1131 vec1 += const_32896; in ARGBToUV444Row_MSA()
1135 vec1 -= vec3; in ARGBToUV444Row_MSA()
1139 vec1 = (v8u16)__msa_srai_h((v8i16)vec1, 8); in ARGBToUV444Row_MSA()
1142 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBToUV444Row_MSA()
1158 v8u16 vec0, vec1, vec2, vec3; in ARGBMultiplyRow_MSA() local
1166 vec1 = (v8u16)__msa_ilvl_b((v16i8)src0, (v16i8)src0); in ARGBMultiplyRow_MSA()
1171 reg2 = (v4u32)__msa_ilvr_h(zero, (v8i16)vec1); in ARGBMultiplyRow_MSA()
1172 reg3 = (v4u32)__msa_ilvl_h(zero, (v8i16)vec1); in ARGBMultiplyRow_MSA()
1182 vec1 = (v8u16)__msa_pckev_h((v8i16)reg3, (v8i16)reg2); in ARGBMultiplyRow_MSA()
1183 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBMultiplyRow_MSA()
1236 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8, vec9; in ARGBAttenuateRow_MSA() local
1245 vec1 = (v8u16)__msa_ilvl_b((v16i8)src0, (v16i8)src0); in ARGBAttenuateRow_MSA()
1250 vec6 = (v8u16)__msa_fill_h(vec1[3]); in ARGBAttenuateRow_MSA()
1251 vec7 = (v8u16)__msa_fill_h(vec1[7]); in ARGBAttenuateRow_MSA()
1270 reg2 *= (v4u32)__msa_ilvr_h(zero, (v8i16)vec1); in ARGBAttenuateRow_MSA()
1271 reg3 *= (v4u32)__msa_ilvl_h(zero, (v8i16)vec1); in ARGBAttenuateRow_MSA()
1285 vec1 = (v8u16)__msa_pckev_h((v8i16)reg3, (v8i16)reg2); in ARGBAttenuateRow_MSA()
1288 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBAttenuateRow_MSA()
1303 v16u8 src0, src1, dst0, vec0, vec1; in ARGBToRGB565DitherRow_MSA() local
1316 vec1 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in ARGBToRGB565DitherRow_MSA()
1318 reg1 = (v8i16)__msa_ilvev_b(zero, (v16i8)vec1); in ARGBToRGB565DitherRow_MSA()
1372 v8u16 vec0, vec1; in ARGBShadeRow_MSA() local
1383 vec1 = (v8u16)__msa_ilvl_b((v16i8)src0, (v16i8)src0); in ARGBShadeRow_MSA()
1386 reg2 = (v4u32)__msa_ilvr_h(zero, (v8i16)vec1); in ARGBShadeRow_MSA()
1387 reg3 = (v4u32)__msa_ilvl_h(zero, (v8i16)vec1); in ARGBShadeRow_MSA()
1397 vec1 = (v8u16)__msa_pckev_h((v8i16)reg3, (v8i16)reg2); in ARGBShadeRow_MSA()
1398 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGBShadeRow_MSA()
1407 v16u8 src0, src1, vec0, vec1, dst0, dst1; in ARGBGrayRow_MSA() local
1416 vec1 = (v16u8)__msa_pckod_h((v8i16)src1, (v8i16)src0); in ARGBGrayRow_MSA()
1418 reg0 = __msa_dpadd_u_h(reg0, vec1, const_0x26); 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()
1432 v16u8 src0, src1, dst0, dst1, vec0, vec1, vec2, vec3, vec4, vec5; in ARGBSepiaRow_MSA() local
1446 vec1 = (v16u8)__msa_pckod_h((v8i16)src1, (v8i16)src0); in ARGBSepiaRow_MSA()
1447 vec3 = (v16u8)__msa_pckod_b((v16i8)vec1, (v16i8)vec1); in ARGBSepiaRow_MSA()
1451 reg0 = (v8u16)__msa_dpadd_u_h(reg0, vec1, const_0x23); in ARGBSepiaRow_MSA()
1452 reg1 = (v8u16)__msa_dpadd_u_h(reg1, vec1, const_0x2D); in ARGBSepiaRow_MSA()
1453 reg2 = (v8u16)__msa_dpadd_u_h(reg2, vec1, const_0x32); in ARGBSepiaRow_MSA()
1460 vec1 = (v16u8)__msa_pckev_b((v16i8)reg1, (v16i8)reg1); in ARGBSepiaRow_MSA()
1463 vec5 = (v16u8)__msa_ilvr_b((v16i8)vec3, (v16i8)vec1); in ARGBSepiaRow_MSA()
1476 v8u16 vec0, vec1, vec2, vec3; in ARGB4444ToARGBRow_MSA() local
1483 vec1 = (v8u16)__msa_andi_b(src1, 0x0F); in ARGB4444ToARGBRow_MSA()
1487 vec1 |= (v8u16)__msa_slli_b((v16i8)vec1, 4); 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()
1505 v8u16 vec0, vec1, vec2, vec3, vec4, vec5; in ARGB1555ToARGBRow_MSA() local
1514 vec1 = src1 & const_0x1F; in ARGB1555ToARGBRow_MSA()
1525 reg0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGB1555ToARGBRow_MSA()
1552 v8u16 src0, src1, vec0, vec1, vec2, vec3, vec4, vec5; in RGB565ToARGBRow_MSA() local
1564 vec1 = src0 & const_0x7E0; in RGB565ToARGBRow_MSA()
1570 reg1 = (v8u16)__msa_srli_h((v8i16)vec1, 3); in RGB565ToARGBRow_MSA()
1576 reg1 |= (v8u16)__msa_srli_h((v8i16)vec1, 9); in RGB565ToARGBRow_MSA()
1598 v16u8 vec0, vec1, vec2; in RGB24ToARGBRow_MSA() local
1608 vec1 = (v16u8)__msa_sldi_b((v16i8)src2, (v16i8)src1, 8); in RGB24ToARGBRow_MSA()
1612 dst2 = (v16u8)__msa_vshf_b(shuffler, (v16i8)alpha, (v16i8)vec1); in RGB24ToARGBRow_MSA()
1623 v16u8 vec0, vec1, vec2; in RAWToARGBRow_MSA() local
1633 vec1 = (v16u8)__msa_sldi_b((v16i8)src2, (v16i8)src1, 8); in RAWToARGBRow_MSA()
1637 dst2 = (v16u8)__msa_vshf_b(mask, (v16i8)alpha, (v16i8)vec1); in RAWToARGBRow_MSA()
1647 v8u16 src0, src1, vec0, vec1, vec2, vec3, vec4, vec5; in ARGB1555ToYRow_MSA() local
1660 vec1 = src1 & const_0x1F; in ARGB1555ToYRow_MSA()
1670 reg1 = (v8u16)__msa_slli_h((v8i16)vec1, 3); in ARGB1555ToYRow_MSA()
1672 reg1 |= (v8u16)__msa_srai_h((v8i16)vec1, 2); in ARGB1555ToYRow_MSA()
1704 v8u16 src0, src1, vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in RGB565ToYRow_MSA() local
1719 vec1 = src0 & const_0x7E0; in RGB565ToYRow_MSA()
1725 reg1 = (v8u16)__msa_srli_h((v8i16)vec1, 3); in RGB565ToYRow_MSA()
1731 reg1 |= (v8u16)__msa_srli_h((v8i16)vec1, 9); in RGB565ToYRow_MSA()
1737 vec1 = (v8u16)__msa_ilvl_h((v8i16)reg1, (v8i16)reg0); in RGB565ToYRow_MSA()
1745 res1 = __msa_dotp_u_w(vec1, (v8u16)const_0x810019); in RGB565ToYRow_MSA()
1757 vec1 = (v8u16)__msa_pckev_h((v8i16)res3, (v8i16)res2); in RGB565ToYRow_MSA()
1758 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in RGB565ToYRow_MSA()
1768 v8u16 vec0, vec1, vec2, vec3; in RGB24ToYRow_MSA() local
1788 vec1 = (v8u16)__msa_pckev_h((v8i16)reg3, (v8i16)reg2); in RGB24ToYRow_MSA()
1792 vec1 = __msa_dotp_u_h((v16u8)vec1, (v16u8)const_0x8119); in RGB24ToYRow_MSA()
1794 vec1 = __msa_dpadd_u_h(vec1, (v16u8)vec3, (v16u8)const_0x42); in RGB24ToYRow_MSA()
1796 vec1 += const_0x1080; in RGB24ToYRow_MSA()
1798 vec1 = (v8u16)__msa_srai_h((v8i16)vec1, 8); in RGB24ToYRow_MSA()
1799 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in RGB24ToYRow_MSA()
1809 v8u16 vec0, vec1, vec2, vec3; in RAWToYRow_MSA() local
1829 vec1 = (v8u16)__msa_pckev_h((v8i16)reg3, (v8i16)reg2); in RAWToYRow_MSA()
1833 vec1 = __msa_dotp_u_h((v16u8)vec1, (v16u8)const_0x8142); in RAWToYRow_MSA()
1835 vec1 = __msa_dpadd_u_h(vec1, (v16u8)vec3, (v16u8)const_0x19); in RAWToYRow_MSA()
1837 vec1 += const_0x1080; in RAWToYRow_MSA()
1839 vec1 = (v8u16)__msa_srai_h((v8i16)vec1, 8); in RAWToYRow_MSA()
1840 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in RAWToYRow_MSA()
1857 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6; in ARGB1555ToUVRow_MSA() local
1873 vec1 = src1 & const_0x1F; in ARGB1555ToUVRow_MSA()
1875 vec1 += src3 & const_0x1F; in ARGB1555ToUVRow_MSA()
1876 vec0 = (v8u16)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in ARGB1555ToUVRow_MSA()
1938 v8u16 vec0, vec1, vec2, vec3, vec4, vec5; in RGB565ToUVRow_MSA() local
1955 vec1 = src1 & const_0x1F; in RGB565ToUVRow_MSA()
1957 vec1 += src3 & const_0x1F; in RGB565ToUVRow_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()
1978 vec1 = __msa_hadd_u_h((v16u8)vec1, (v16u8)vec1); in RGB565ToUVRow_MSA()
1985 reg1 = vec1 * const_0x4A; in RGB565ToUVRow_MSA()
1987 reg3 = vec1 * const_0x5E; in RGB565ToUVRow_MSA()
2019 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in RGB24ToUVRow_MSA() local
2053 vec1 = (v8u16)__msa_ilvl_b((v16i8)src4, (v16i8)src0); in RGB24ToUVRow_MSA()
2061 vec1 = (v8u16)__msa_hadd_u_h((v16u8)vec1, (v16u8)vec1); in RGB24ToUVRow_MSA()
2068 reg0 = (v8i16)__msa_pckev_d((v2i64)vec1, (v2i64)vec0); in RGB24ToUVRow_MSA()
2072 reg0 += (v8i16)__msa_pckod_d((v2i64)vec1, (v2i64)vec0); in RGB24ToUVRow_MSA()
2085 vec1 = (v8u16)__msa_pckev_h((v8i16)vec7, (v8i16)vec6); in RGB24ToUVRow_MSA()
2088 vec4 = vec1 * const_0x4A; in RGB24ToUVRow_MSA()
2091 vec1 *= const_0x5E; in RGB24ToUVRow_MSA()
2095 reg2 = __msa_subv_h((v8i16)vec2, (v8i16)vec1); in RGB24ToUVRow_MSA()
2124 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in RAWToUVRow_MSA() local
2158 vec1 = (v8u16)__msa_ilvl_b((v16i8)src4, (v16i8)src0); in RAWToUVRow_MSA()
2166 vec1 = (v8u16)__msa_hadd_u_h((v16u8)vec1, (v16u8)vec1); in RAWToUVRow_MSA()
2173 reg0 = (v8i16)__msa_pckev_d((v2i64)vec1, (v2i64)vec0); in RAWToUVRow_MSA()
2177 reg0 += (v8i16)__msa_pckod_d((v2i64)vec1, (v2i64)vec0); in RAWToUVRow_MSA()
2190 vec1 = (v8u16)__msa_pckev_h((v8i16)vec7, (v8i16)vec6); in RAWToUVRow_MSA()
2193 vec4 = vec1 * const_0x4A; in RAWToUVRow_MSA()
2196 vec1 *= const_0x5E; in RAWToUVRow_MSA()
2200 reg2 = __msa_subv_h((v8i16)vec2, (v8i16)vec1); in RAWToUVRow_MSA()
2226 v8i16 vec0, vec1, vec2; in NV12ToARGBRow_MSA() local
2243 vec0, vec1, vec2); in NV12ToARGBRow_MSA()
2245 res1 = (v16u8)__msa_ilvev_b((v16i8)alpha, (v16i8)vec1); in NV12ToARGBRow_MSA()
2263 v8i16 vec0, vec1, vec2; in NV12ToRGB565Row_MSA() local
2279 vec0, vec1, vec2); in NV12ToRGB565Row_MSA()
2281 vec1 = (vec1 >> 2) << 5; in NV12ToRGB565Row_MSA()
2283 dst0 = (v16u8)(vec0 | vec1 | vec2); in NV12ToRGB565Row_MSA()
2299 v8i16 vec0, vec1, vec2; in NV21ToARGBRow_MSA() local
2318 vec0, vec1, vec2); in NV21ToARGBRow_MSA()
2320 res1 = (v16u8)__msa_ilvev_b((v16i8)alpha, (v16i8)vec1); in NV21ToARGBRow_MSA()
2384 v16u8 src0, src1, vec0, vec1, vec2; in SobelXYRow_MSA() local
2392 vec1 = (v16u8)__msa_ilvr_b((v16i8)src0, (v16i8)src1); 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()
2496 v16u8 vec0, vec1, vec2, vec3; in ARGBToUVJRow_MSA() local
2526 vec1 = __msa_aver_u_b(src5, src7); in ARGBToUVJRow_MSA()
2545 ARGBTOUV(vec0, vec1, vec2, vec3, const_0x6B14, const_0x7F, const_0x2B54, in ARGBToUVJRow_MSA()
2565 v16u8 dst0, dst1, vec0, vec1, vec2, vec3; in BGRAToUVRow_MSA() local
2577 READ_ARGB(s, t, vec0, vec1, vec2, vec3); in BGRAToUVRow_MSA()
2578 ARGBTOUV(vec0, vec1, vec2, vec3, const_0x125E, const_0x7000, const_0x264A, in BGRAToUVRow_MSA()
2632 v16u8 dst0, dst1, vec0, vec1, vec2, vec3; in RGBAToUVRow_MSA() local
2644 READ_ARGB(s, t, vec0, vec1, vec2, vec3); in RGBAToUVRow_MSA()
2645 ARGBTOUV(vec0, vec1, vec2, vec3, const_0x125E, const_0x7000, const_0x264A, in RGBAToUVRow_MSA()
2665 v8u16 vec0, vec1, vec2; in I444ToARGBRow_MSA() local
2690 vec1 = (v8u16)__msa_ilvr_b((v16i8)zero, (v16i8)src2); in I444ToARGBRow_MSA()
2693 reg8 = (v4i32)__msa_ilvr_h((v8i16)zero, (v8i16)vec1); in I444ToARGBRow_MSA()
2694 reg9 = (v4i32)__msa_ilvl_h((v8i16)zero, (v8i16)vec1); in I444ToARGBRow_MSA()
2711 vec1 = (v8u16)__msa_pckev_h((v8i16)reg3, (v8i16)reg2); 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()
2715 dst0 = (v16u8)__msa_ilvr_h((v8i16)vec1, (v8i16)vec0); in I444ToARGBRow_MSA()
2716 dst1 = (v16u8)__msa_ilvl_h((v8i16)vec1, (v8i16)vec0); in I444ToARGBRow_MSA()
2728 v8i16 vec0, vec1; in I400ToARGBRow_MSA() local
2739 vec1 = (v8i16)__msa_ilvl_b((v16i8)src0, (v16i8)src0); in I400ToARGBRow_MSA()
2742 reg2 = (v4i32)__msa_ilvr_h(zero, vec1); in I400ToARGBRow_MSA()
2743 reg3 = (v4i32)__msa_ilvl_h(zero, vec1); in I400ToARGBRow_MSA()
2753 vec1 = (v8i16)__msa_pckev_h((v8i16)reg3, (v8i16)reg2); in I400ToARGBRow_MSA()
2755 vec1 += vec_ygb; in I400ToARGBRow_MSA()
2757 vec1 = __msa_srai_h(vec1, 6); in I400ToARGBRow_MSA()
2759 vec1 = __msa_maxi_s_h(vec1, 0); in I400ToARGBRow_MSA()
2761 vec1 = __msa_min_s_h(max, vec1); in I400ToARGBRow_MSA()
2762 res0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in I400ToARGBRow_MSA()
2779 v16u8 src0, vec0, vec1, vec2, vec3, dst0, dst1, dst2, dst3; in J400ToARGBRow_MSA() local
2785 vec1 = (v16u8)__msa_ilvl_b((v16i8)src0, (v16i8)src0); 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()
2804 v8i16 vec0, vec1, vec2; in YUY2ToARGBRow_MSA() local
2819 vec0, vec1, vec2); in YUY2ToARGBRow_MSA()
2820 STOREARGB(vec0, vec1, vec2, alpha, rgb_buf); in YUY2ToARGBRow_MSA()
2832 v8i16 vec0, vec1, vec2; in UYVYToARGBRow_MSA() local
2847 vec0, vec1, vec2); in UYVYToARGBRow_MSA()
2848 STOREARGB(vec0, vec1, vec2, alpha, rgb_buf); in UYVYToARGBRow_MSA()
2866 v8u16 vec0, vec1, vec2, vec3, y_frac; in InterpolateRow_MSA() local
2898 vec1 = (v8u16)__msa_ilvl_b((v16i8)src2, (v16i8)src0); in InterpolateRow_MSA()
2902 vec1 = (v8u16)__msa_dotp_u_h((v16u8)vec1, (v16u8)y_frac); in InterpolateRow_MSA()
2906 vec1 = (v8u16)__msa_srari_h((v8i16)vec1, 8); in InterpolateRow_MSA()
2909 dst0 = (v16u8)__msa_pckev_b((v16i8)vec1, (v16i8)vec0); in InterpolateRow_MSA()