Lines Matching refs:vec2
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()
508 reg3 = (v16u8)__msa_pckev_b((v16i8)vec5, (v16i8)vec2); in I422ToRGB24Row_MSA()
531 v8i16 vec0, vec1, vec2; in I422ToRGB565Row_MSA() local
544 vec0, vec2, vec1); in I422ToRGB565Row_MSA()
547 vec2 = __msa_srai_h(vec2, 2); in I422ToRGB565Row_MSA()
549 vec2 = __msa_slli_h(vec2, 5); in I422ToRGB565Row_MSA()
551 dst0 = (v16u8)(vec2 | vec0); in I422ToRGB565Row_MSA()
569 v8i16 vec0, vec1, vec2; in I422ToARGB4444Row_MSA() local
584 vec0, vec1, vec2); in I422ToARGB4444Row_MSA()
587 reg2 = (v8u16)__msa_srai_h(vec2, 4); in I422ToARGB4444Row_MSA()
609 v8i16 vec0, vec1, vec2; in I422ToARGB1555Row_MSA() local
624 vec0, vec1, vec2); in I422ToARGB1555Row_MSA()
627 reg2 = (v8u16)__msa_srai_h(vec2, 3); in I422ToARGB1555Row_MSA()
773 v16u8 src0, src1, src2, src3, vec0, vec1, vec2, vec3, dst0; in ARGBToYRow_MSA() local
788 vec2 = (v16u8)__msa_pckod_b((v16i8)src1, (v16i8)src0); in ARGBToYRow_MSA()
792 reg2 = (v8u16)__msa_ilvev_b(zero, (v16i8)vec2); in ARGBToYRow_MSA()
825 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8, vec9; in ARGBToUVRow_MSA() local
846 vec2 = (v16u8)__msa_pckev_b((v16i8)src5, (v16i8)src4); in ARGBToUVRow_MSA()
853 vec9 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGBToUVRow_MSA()
857 vec1 = (v16u8)__msa_pckod_b((v16i8)vec3, (v16i8)vec2); in ARGBToUVRow_MSA()
874 vec2 = (v16u8)__msa_pckev_b((v16i8)src5, (v16i8)src4); in ARGBToUVRow_MSA()
881 vec9 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGBToUVRow_MSA()
885 vec1 = (v16u8)__msa_pckod_b((v16i8)vec3, (v16i8)vec2); in ARGBToUVRow_MSA()
986 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in ARGBToRGB565Row_MSA() local
994 vec2 = (v16u8)__msa_srai_b((v16i8)src0, 5); in ARGBToRGB565Row_MSA()
999 vec2 = (v16u8)__msa_sldi_b(zero, (v16i8)vec2, 1); in ARGBToRGB565Row_MSA()
1005 vec1 = __msa_binsli_b(vec2, vec3, 4); in ARGBToRGB565Row_MSA()
1020 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8, vec9; in ARGBToARGB1555Row_MSA() local
1028 vec2 = (v16u8)__msa_srai_b((v16i8)vec0, 3); in ARGBToARGB1555Row_MSA()
1030 vec2 = (v16u8)__msa_sldi_b(zero, (v16i8)vec2, 1); in ARGBToARGB1555Row_MSA()
1044 vec1 = __msa_binsli_b(vec2, vec3, 5); in ARGBToARGB1555Row_MSA()
1086 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in ARGBToUV444Row_MSA() local
1110 vec2 = (v8u16)__msa_ilvr_b(zero, (v16i8)src1); in ARGBToUV444Row_MSA()
1116 vec8 = vec2 * const_94; in ARGBToUV444Row_MSA()
1122 vec2 *= const_74; in ARGBToUV444Row_MSA()
1132 vec2 += vec4; in ARGBToUV444Row_MSA()
1134 vec0 -= vec2; in ARGBToUV444Row_MSA()
1158 v8u16 vec0, vec1, vec2, vec3; in ARGBMultiplyRow_MSA() local
1167 vec2 = (v8u16)__msa_ilvr_b((v16i8)zero, (v16i8)src1); in ARGBMultiplyRow_MSA()
1173 reg0 *= (v4u32)__msa_ilvr_h(zero, (v8i16)vec2); in ARGBMultiplyRow_MSA()
1174 reg1 *= (v4u32)__msa_ilvl_h(zero, (v8i16)vec2); in ARGBMultiplyRow_MSA()
1236 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8, vec9; in ARGBAttenuateRow_MSA() local
1246 vec2 = (v8u16)__msa_ilvr_b((v16i8)src1, (v16i8)src1); in ARGBAttenuateRow_MSA()
1254 vec6 = (v8u16)__msa_fill_h(vec2[3]); in ARGBAttenuateRow_MSA()
1255 vec7 = (v8u16)__msa_fill_h(vec2[7]); in ARGBAttenuateRow_MSA()
1272 reg4 *= (v4u32)__msa_ilvr_h(zero, (v8i16)vec2); in ARGBAttenuateRow_MSA()
1273 reg5 *= (v4u32)__msa_ilvl_h(zero, (v8i16)vec2); in ARGBAttenuateRow_MSA()
1286 vec2 = (v8u16)__msa_pckev_h((v8i16)reg5, (v8i16)reg4); in ARGBAttenuateRow_MSA()
1289 dst1 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGBAttenuateRow_MSA()
1432 v16u8 src0, src1, dst0, dst1, vec0, vec1, vec2, vec3, vec4, vec5; in ARGBSepiaRow_MSA() local
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()
1476 v8u16 vec0, vec1, vec2, vec3; in ARGB4444ToARGBRow_MSA() local
1484 vec2 = (v8u16)__msa_andi_b(src0, 0xF0); in ARGB4444ToARGBRow_MSA()
1488 vec2 |= (v8u16)__msa_srli_b((v16i8)vec2, 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()
1505 v8u16 vec0, vec1, vec2, vec3, vec4, vec5; in ARGB1555ToARGBRow_MSA() local
1517 vec2 = src0 & const_0x1F; in ARGB1555ToARGBRow_MSA()
1526 reg1 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGB1555ToARGBRow_MSA()
1552 v8u16 src0, src1, vec0, vec1, vec2, vec3, vec4, vec5; in RGB565ToARGBRow_MSA() local
1565 vec2 = src0 & const_0xF800; in RGB565ToARGBRow_MSA()
1571 reg2 = (v8u16)__msa_srli_h((v8i16)vec2, 8); in RGB565ToARGBRow_MSA()
1577 reg2 |= (v8u16)__msa_srli_h((v8i16)vec2, 13); in RGB565ToARGBRow_MSA()
1598 v16u8 vec0, vec1, vec2; in RGB24ToARGBRow_MSA() local
1609 vec2 = (v16u8)__msa_sldi_b((v16i8)src2, (v16i8)src2, 4); in RGB24ToARGBRow_MSA()
1613 dst3 = (v16u8)__msa_vshf_b(shuffler, (v16i8)alpha, (v16i8)vec2); in RGB24ToARGBRow_MSA()
1623 v16u8 vec0, vec1, vec2; in RAWToARGBRow_MSA() local
1634 vec2 = (v16u8)__msa_sldi_b((v16i8)src2, (v16i8)src2, 4); in RAWToARGBRow_MSA()
1638 dst3 = (v16u8)__msa_vshf_b(mask, (v16i8)alpha, (v16i8)vec2); in RAWToARGBRow_MSA()
1647 v8u16 src0, src1, vec0, vec1, vec2, vec3, vec4, vec5; in ARGB1555ToYRow_MSA() local
1663 vec2 = src0 & const_0x1F; in ARGB1555ToYRow_MSA()
1673 reg2 = (v8u16)__msa_slli_h((v8i16)vec2, 3); in ARGB1555ToYRow_MSA()
1675 reg2 |= (v8u16)__msa_srai_h((v8i16)vec2, 2); in ARGB1555ToYRow_MSA()
1704 v8u16 src0, src1, vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in RGB565ToYRow_MSA() local
1720 vec2 = src0 & const_0xF800; in RGB565ToYRow_MSA()
1726 reg2 = (v8u16)__msa_srli_h((v8i16)vec2, 8); in RGB565ToYRow_MSA()
1732 reg2 |= (v8u16)__msa_srli_h((v8i16)vec2, 13); in RGB565ToYRow_MSA()
1738 vec2 = (v8u16)__msa_ilvr_h((v8i16)reg4, (v8i16)reg3); in RGB565ToYRow_MSA()
1746 res2 = __msa_dotp_u_w(vec2, (v8u16)const_0x810019); in RGB565ToYRow_MSA()
1768 v8u16 vec0, vec1, vec2, vec3; in RGB24ToYRow_MSA() local
1789 vec2 = (v8u16)__msa_pckod_h((v8i16)reg1, (v8i16)reg0); in RGB24ToYRow_MSA()
1793 vec0 = __msa_dpadd_u_h(vec0, (v16u8)vec2, (v16u8)const_0x42); in RGB24ToYRow_MSA()
1809 v8u16 vec0, vec1, vec2, vec3; in RAWToYRow_MSA() local
1830 vec2 = (v8u16)__msa_pckod_h((v8i16)reg1, (v8i16)reg0); in RAWToYRow_MSA()
1834 vec0 = __msa_dpadd_u_h(vec0, (v16u8)vec2, (v16u8)const_0x19); in RAWToYRow_MSA()
1857 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6; in ARGB1555ToUVRow_MSA() local
1881 vec2 = src0 & const_0x1F; in ARGB1555ToUVRow_MSA()
1883 vec2 += src2 & const_0x1F; in ARGB1555ToUVRow_MSA()
1885 vec2 = (v8u16)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in ARGB1555ToUVRow_MSA()
1896 vec2 = __msa_hadd_u_h((v16u8)vec2, (v16u8)vec2); in ARGB1555ToUVRow_MSA()
1900 vec0 = (v8u16)__msa_slli_h((v8i16)vec2, 1); in ARGB1555ToUVRow_MSA()
1901 vec0 |= (v8u16)__msa_srai_h((v8i16)vec2, 6); in ARGB1555ToUVRow_MSA()
1902 vec2 = (v8u16)__msa_slli_h((v8i16)vec4, 1); in ARGB1555ToUVRow_MSA()
1903 vec2 |= (v8u16)__msa_srai_h((v8i16)vec4, 6); in ARGB1555ToUVRow_MSA()
1906 reg2 = vec2 * const_0x70; in ARGB1555ToUVRow_MSA()
1909 reg1 += vec2 * const_0x26; in ARGB1555ToUVRow_MSA()
1938 v8u16 vec0, vec1, vec2, vec3, vec4, vec5; in RGB565ToUVRow_MSA() local
1963 vec2 = src0 & const_0x3F; in RGB565ToUVRow_MSA()
1965 vec2 += src2 & const_0x3F; 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()
1979 vec2 = __msa_hadd_u_h((v16u8)vec2, (v16u8)vec2); in RGB565ToUVRow_MSA()
1982 vec4 = (v8u16)__msa_slli_h((v8i16)vec2, 1); in RGB565ToUVRow_MSA()
1983 vec4 |= (v8u16)__msa_srai_h((v8i16)vec2, 6); in RGB565ToUVRow_MSA()
2019 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in RGB24ToUVRow_MSA() local
2054 vec2 = (v8u16)__msa_ilvr_b((v16i8)src5, (v16i8)src1); in RGB24ToUVRow_MSA()
2062 vec2 = (v8u16)__msa_hadd_u_h((v16u8)vec2, (v16u8)vec2); in RGB24ToUVRow_MSA()
2069 reg1 = (v8i16)__msa_pckev_d((v2i64)vec3, (v2i64)vec2); in RGB24ToUVRow_MSA()
2073 reg1 += (v8i16)__msa_pckod_d((v2i64)vec3, (v2i64)vec2); in RGB24ToUVRow_MSA()
2086 vec2 = (v8u16)__msa_pckod_h((v8i16)vec5, (v8i16)vec4); in RGB24ToUVRow_MSA()
2089 vec5 = vec2 * const_0x26; in RGB24ToUVRow_MSA()
2090 vec2 *= const_0x70; 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
2159 vec2 = (v8u16)__msa_ilvr_b((v16i8)src5, (v16i8)src1); in RAWToUVRow_MSA()
2167 vec2 = (v8u16)__msa_hadd_u_h((v16u8)vec2, (v16u8)vec2); in RAWToUVRow_MSA()
2174 reg1 = (v8i16)__msa_pckev_d((v2i64)vec3, (v2i64)vec2); in RAWToUVRow_MSA()
2178 reg1 += (v8i16)__msa_pckod_d((v2i64)vec3, (v2i64)vec2); in RAWToUVRow_MSA()
2191 vec2 = (v8u16)__msa_pckev_h((v8i16)vec5, (v8i16)vec4); in RAWToUVRow_MSA()
2194 vec5 = vec2 * const_0x26; in RAWToUVRow_MSA()
2195 vec2 *= const_0x70; 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()
2244 res0 = (v16u8)__msa_ilvev_b((v16i8)vec2, (v16i8)vec0); in NV12ToARGBRow_MSA()
2263 v8i16 vec0, vec1, vec2; in NV12ToRGB565Row_MSA() local
2279 vec0, vec1, vec2); in NV12ToRGB565Row_MSA()
2282 vec2 = (vec2 >> 3) << 11; 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()
2319 res0 = (v16u8)__msa_ilvev_b((v16i8)vec2, (v16i8)vec0); in NV21ToARGBRow_MSA()
2384 v16u8 src0, src1, vec0, vec1, vec2; in SobelXYRow_MSA() local
2393 vec2 = (v16u8)__msa_ilvl_b((v16i8)src0, (v16i8)src1); 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()
2496 v16u8 vec0, vec1, vec2, vec3; in ARGBToUVJRow_MSA() local
2543 vec2 = __msa_aver_u_b(src4, src6); 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
2712 vec2 = (v8u16)__msa_pckev_h((v8i16)reg5, (v8i16)reg4); in I444ToARGBRow_MSA()
2714 vec1 = (v8u16)__msa_ilvev_b((v16i8)alpha, (v16i8)vec2); in I444ToARGBRow_MSA()
2779 v16u8 src0, vec0, vec1, vec2, vec3, dst0, dst1, dst2, dst3; in J400ToARGBRow_MSA() local
2786 vec2 = (v16u8)__msa_ilvr_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()
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
2899 vec2 = (v8u16)__msa_ilvr_b((v16i8)src3, (v16i8)src1); in InterpolateRow_MSA()
2903 vec2 = (v8u16)__msa_dotp_u_h((v16u8)vec2, (v16u8)y_frac); in InterpolateRow_MSA()
2907 vec2 = (v8u16)__msa_srari_h((v8i16)vec2, 8); in InterpolateRow_MSA()
2910 dst1 = (v16u8)__msa_pckev_b((v16i8)vec3, (v16i8)vec2); in InterpolateRow_MSA()