Lines Matching refs:v8i16
46 v8i16 input0, input1; in ITransformOne()
85 v8i16 t0, t1, t2, t3; in FTransform_MSA()
87 const v8i16 mask0 = { 0, 4, 8, 12, 1, 5, 9, 13 }; in FTransform_MSA()
88 const v8i16 mask1 = { 3, 7, 11, 15, 2, 6, 10, 14 }; in FTransform_MSA()
89 const v8i16 mask2 = { 4, 0, 5, 1, 6, 2, 7, 3 }; in FTransform_MSA()
90 const v8i16 mask3 = { 0, 4, 1, 5, 2, 6, 3, 7 }; in FTransform_MSA()
91 const v8i16 cnst0 = { 2217, -5352, 2217, -5352, 2217, -5352, 2217, -5352 }; in FTransform_MSA()
92 const v8i16 cnst1 = { 5352, 2217, 5352, 2217, 5352, 2217, 5352, 2217 }; in FTransform_MSA()
135 v8i16 in0 = { 0 }; in FTransformWHT_MSA()
136 v8i16 in1 = { 0 }; in FTransformWHT_MSA()
137 v8i16 tmp0, tmp1, tmp2, tmp3; in FTransformWHT_MSA()
138 v8i16 out0, out1; in FTransformWHT_MSA()
139 const v8i16 mask0 = { 0, 1, 2, 3, 8, 9, 10, 11 }; in FTransformWHT_MSA()
140 const v8i16 mask1 = { 4, 5, 6, 7, 12, 13, 14, 15 }; in FTransformWHT_MSA()
141 const v8i16 mask2 = { 0, 4, 8, 12, 1, 5, 9, 13 }; in FTransformWHT_MSA()
142 const v8i16 mask3 = { 3, 7, 11, 15, 2, 6, 10, 14 }; in FTransformWHT_MSA()
175 v8i16 in0, in1, tmp0, tmp1, tmp2, tmp3; in TTransform_MSA()
178 const v8i16 mask0 = { 0, 1, 2, 3, 8, 9, 10, 11 }; in TTransform_MSA()
179 const v8i16 mask1 = { 4, 5, 6, 7, 12, 13, 14, 15 }; in TTransform_MSA()
180 const v8i16 mask2 = { 0, 4, 8, 12, 1, 5, 9, 13 }; in TTransform_MSA()
181 const v8i16 mask3 = { 3, 7, 11, 15, 2, 6, 10, 14 }; in TTransform_MSA()
194 tmp0 = __msa_add_a_h(tmp0, (v8i16)zero); in TTransform_MSA()
195 tmp1 = __msa_add_a_h(tmp1, (v8i16)zero); in TTransform_MSA()
235 v8i16 coeff0, coeff1; in CollectHistogram_MSA()
236 const v8i16 zero = { 0 }; in CollectHistogram_MSA()
237 const v8i16 max_coeff_thr = __msa_ldi_h(MAX_COEFF_THRESH); in CollectHistogram_MSA()
416 const v8i16 TL = (v8i16)__msa_fill_h(top[-1]); in TM4()
417 const v8i16 L0 = (v8i16)__msa_fill_h(top[-2]); in TM4()
418 const v8i16 L1 = (v8i16)__msa_fill_h(top[-3]); in TM4()
419 const v8i16 L2 = (v8i16)__msa_fill_h(top[-4]); in TM4()
420 const v8i16 L3 = (v8i16)__msa_fill_h(top[-5]); in TM4()
422 const v8i16 T = (v8i16)__msa_ilvr_b(zero, (v16i8)T1); in TM4()
423 const v8i16 d = T - TL; in TM4()
424 v8i16 r0, r1, r2, r3; in TM4()
488 v8i16 d1, d2; in TrueMotion16x16()
490 const v8i16 TL = (v8i16)__msa_fill_h(left[-1]); in TrueMotion16x16()
496 v8i16 r0, r1, r2, r3, r4, r5, r6, r7; in TrueMotion16x16()
497 const v8i16 L0 = (v8i16)__msa_fill_h(left[j + 0]); in TrueMotion16x16()
498 const v8i16 L1 = (v8i16)__msa_fill_h(left[j + 1]); in TrueMotion16x16()
499 const v8i16 L2 = (v8i16)__msa_fill_h(left[j + 2]); in TrueMotion16x16()
500 const v8i16 L3 = (v8i16)__msa_fill_h(left[j + 3]); in TrueMotion16x16()
614 const v8i16 TL = (v8i16)__msa_fill_h(left[-1]); in TrueMotion8x8()
617 const v8i16 T = (v8i16)__msa_ilvr_b(zero, (v16i8)T1); in TrueMotion8x8()
618 const v8i16 d = T - TL; in TrueMotion8x8()
622 v8i16 r0 = (v8i16)__msa_fill_h(left[j + 0]); in TrueMotion8x8()
623 v8i16 r1 = (v8i16)__msa_fill_h(left[j + 1]); in TrueMotion8x8()
624 v8i16 r2 = (v8i16)__msa_fill_h(left[j + 2]); in TrueMotion8x8()
625 v8i16 r3 = (v8i16)__msa_fill_h(left[j + 3]); in TrueMotion8x8()
695 v8i16 tmp2, tmp3; \
706 v8i16 tmp2, tmp3; \
785 v8i16 diff0, diff1; in SSE4x4_MSA()
806 v8i16 in0, in1, sh0, sh1, out0, out1; in QuantizeBlock_MSA()
807 v8i16 tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, sign0, sign1; in QuantizeBlock_MSA()
809 const v8i16 zero = { 0 }; in QuantizeBlock_MSA()
810 const v8i16 zigzag0 = { 0, 1, 4, 8, 5, 2, 3, 6 }; in QuantizeBlock_MSA()
811 const v8i16 zigzag1 = { 9, 12, 13, 10, 7, 11, 14, 15 }; in QuantizeBlock_MSA()
812 const v8i16 maxlevel = __msa_fill_h(MAX_LEVEL); in QuantizeBlock_MSA()
833 tmp2 = (v8i16)__msa_bmnz_v((v16u8)tmp2, (v16u8)maxlevel, (v16u8)tmp0); in QuantizeBlock_MSA()
834 tmp3 = (v8i16)__msa_bmnz_v((v16u8)tmp3, (v16u8)maxlevel, (v16u8)tmp1); in QuantizeBlock_MSA()
836 tmp2 = (v8i16)__msa_bmnz_v((v16u8)tmp2, (v16u8)tmp0, (v16u8)sign0); in QuantizeBlock_MSA()
837 tmp3 = (v8i16)__msa_bmnz_v((v16u8)tmp3, (v16u8)tmp1, (v16u8)sign1); in QuantizeBlock_MSA()
844 tmp4 = (v8i16)__msa_bmnz_v((v16u8)zero, (v16u8)tmp2, (v16u8)tmp0); in QuantizeBlock_MSA()
845 tmp5 = (v8i16)__msa_bmnz_v((v16u8)zero, (v16u8)tmp3, (v16u8)tmp1); in QuantizeBlock_MSA()