Home
last modified time | relevance | path

Searched refs:mask0 (Results 1 – 25 of 91) sorted by relevance

1234

/external/libvpx/libvpx/vp8/common/mips/msa/
Dsixtap_filter_msa.c35 #define HORIZ_6TAP_FILT(src0, src1, mask0, mask1, mask2, filt_h0, filt_h1, \ argument
41 VSHF_B3_SB(src0, src1, src0, src1, src0, src1, mask0, mask1, mask2, \
52 #define HORIZ_6TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, \ argument
57 VSHF_B2_SB(src0, src1, src2, src3, mask0, mask0, vec0_m, vec1_m); \
65 #define HORIZ_6TAP_8WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, \ argument
71 VSHF_B2_SB(src0, src0, src1, src1, mask0, mask0, vec0_m, vec1_m); \
72 VSHF_B2_SB(src2, src2, src3, src3, mask0, mask0, vec2_m, vec3_m); \
95 #define HORIZ_4TAP_FILT(src0, src1, mask0, mask1, filt_h0, filt_h1) \ argument
100 VSHF_B2_SB(src0, src1, src0, src1, mask0, mask1, vec0_m, vec1_m); \
109 #define HORIZ_4TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, \ argument
[all …]
/external/libaom/libaom/aom_dsp/arm/
Dblend_a64_mask_neon.c42 int16x8_t mask0, int16x8_t mask1, int16x8_t mask2, in blend_8x4() argument
55 blend8x1(mask0, src0_0, src1_0, v_maxval, &im_res_0); in blend_8x4()
83 int16x4_t mask0, int16x4_t mask1, int16x4_t mask2, in blend_4x4() argument
103 mask0_1 = vcombine_s16(mask0, mask1); in blend_4x4()
161 int16x8_t mask0, mask1, mask2, mask3; in aom_lowbd_blend_a64_d16_mask_neon() local
181 mask0 = vmovl_s8(vreinterpret_s8_u8(s0)); in aom_lowbd_blend_a64_d16_mask_neon()
187 src1_stride, mask0, mask1, mask2, mask3, v_maxval, in aom_lowbd_blend_a64_d16_mask_neon()
206 mask0 = vreinterpretq_s16_u16(vmovl_u8(vreinterpret_u8_u32(tu0))); in aom_lowbd_blend_a64_d16_mask_neon()
209 mask0_low = vget_low_s16(mask0); in aom_lowbd_blend_a64_d16_mask_neon()
210 mask1_low = vget_high_s16(mask0); in aom_lowbd_blend_a64_d16_mask_neon()
[all …]
/external/webp/src/dsp/
Dlossless_msa.c82 c0, c1, mask0, mask1) do { \ argument
85 VSHF_B2_SH(src0, src0, src1, src1, mask0, mask0, g0, g1); \
98 #define TRANSFORM_COLOR_INVERSE_4(src, dst, c0, c1, mask0, mask1) do { \ argument
99 const v16i8 g0 = VSHF_SB(src, src, mask0); \
157 const v16u8 mask0 = { 0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 14, in ConvertBGRAToBGR_MSA() local
165 CONVERT16_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToBGR_MSA()
172 CONVERT12_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToBGR_MSA()
177 CONVERT8_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1); in ConvertBGRAToBGR_MSA()
182 CONVERT4_BGRA_XXX(ptemp_src, ptemp_dst, mask0); in ConvertBGRAToBGR_MSA()
204 const v16u8 mask0 = { 2, 1, 0, 6, 5, 4, 10, 9, 8, 14, 13, 12, in ConvertBGRAToRGB_MSA() local
[all …]
Dlossless_enc_msa.c21 #define TRANSFORM_COLOR_8(src0, src1, dst0, dst1, c0, c1, mask0, mask1) do { \ argument
24 VSHF_B2_SH(src0, src0, src1, src1, mask0, mask0, g0, g1); \
37 #define TRANSFORM_COLOR_4(src, dst, c0, c1, mask0, mask1) do { \ argument
38 const v16i8 g0 = VSHF_SB(src, src, mask0); \
57 const v16u8 mask0 = { 1, 255, 1, 255, 5, 255, 5, 255, 9, 255, 9, 255, in TransformColor_MSA() local
65 TRANSFORM_COLOR_8(src0, src1, dst0, dst1, g2br, r2b, mask0, mask1); in TransformColor_MSA()
73 TRANSFORM_COLOR_4(src0, dst0, g2br, r2b, mask0, mask1); in TransformColor_MSA()
80 TRANSFORM_COLOR_4(src0, dst0, g2br, r2b, mask0, mask1); in TransformColor_MSA()
/external/libaom/libaom/aom_dsp/mips/
Daom_convolve8_horiz_msa.c21 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x4_msa() local
25 mask0 = LD_UB(&mc_filt_mask_arr[16]); in common_hz_8t_4x4_msa()
32 mask1 = mask0 + 2; in common_hz_8t_4x4_msa()
33 mask2 = mask0 + 4; in common_hz_8t_4x4_msa()
34 mask3 = mask0 + 6; in common_hz_8t_4x4_msa()
38 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_4x4_msa()
51 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x8_msa() local
54 mask0 = LD_UB(&mc_filt_mask_arr[16]); in common_hz_8t_4x8_msa()
61 mask1 = mask0 + 2; in common_hz_8t_4x8_msa()
62 mask2 = mask0 + 4; in common_hz_8t_4x8_msa()
[all …]
Daom_convolve_msa.h34 #define HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, \ argument
41 VSHF_B2_SB(src0, src1, src2, src3, mask0, mask0, vec0_m, vec1_m); \
52 #define HORIZ_8TAP_8WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, \ argument
59 VSHF_B2_SB(src0, src0, src1, src1, mask0, mask0, vec0_m, vec1_m); \
60 VSHF_B2_SB(src2, src2, src3, src3, mask0, mask0, vec2_m, vec3_m); \
/external/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve8_horiz_msa.c18 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x4_msa() local
22 mask0 = LD_UB(&mc_filt_mask_arr[16]); in common_hz_8t_4x4_msa()
29 mask1 = mask0 + 2; in common_hz_8t_4x4_msa()
30 mask2 = mask0 + 4; in common_hz_8t_4x4_msa()
31 mask3 = mask0 + 6; in common_hz_8t_4x4_msa()
35 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_4x4_msa()
48 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x8_msa() local
51 mask0 = LD_UB(&mc_filt_mask_arr[16]); in common_hz_8t_4x8_msa()
58 mask1 = mask0 + 2; in common_hz_8t_4x8_msa()
59 mask2 = mask0 + 4; in common_hz_8t_4x8_msa()
[all …]
Dvpx_convolve8_avg_horiz_msa.c22 v16u8 mask0, mask1, mask2, mask3; in common_hz_8t_and_aver_dst_4x4_msa() local
25 mask0 = LD_UB(&mc_filt_mask_arr[16]); in common_hz_8t_and_aver_dst_4x4_msa()
32 mask1 = mask0 + 2; in common_hz_8t_and_aver_dst_4x4_msa()
33 mask2 = mask0 + 4; in common_hz_8t_and_aver_dst_4x4_msa()
34 mask3 = mask0 + 6; in common_hz_8t_and_aver_dst_4x4_msa()
38 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_and_aver_dst_4x4_msa()
55 v16u8 mask0, mask1, mask2, mask3, res0, res1, res2, res3; in common_hz_8t_and_aver_dst_4x8_msa() local
59 mask0 = LD_UB(&mc_filt_mask_arr[16]); in common_hz_8t_and_aver_dst_4x8_msa()
66 mask1 = mask0 + 2; in common_hz_8t_and_aver_dst_4x8_msa()
67 mask2 = mask0 + 4; in common_hz_8t_and_aver_dst_4x8_msa()
[all …]
Dvpx_convolve_msa.h33 #define HORIZ_8TAP_FILT(src0, src1, mask0, mask1, mask2, mask3, filt_h0, \ argument
39 VSHF_B4_SB(src0, src1, mask0, mask1, mask2, mask3, vec0_m, vec1_m, vec2_m, \
50 #define HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, \ argument
57 VSHF_B2_SB(src0, src1, src2, src3, mask0, mask0, vec0_m, vec1_m); \
68 #define HORIZ_8TAP_8WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, \ argument
75 VSHF_B2_SB(src0, src0, src1, src1, mask0, mask0, vec0_m, vec1_m); \
76 VSHF_B2_SB(src2, src2, src3, src3, mask0, mask0, vec2_m, vec3_m); \
Dvpx_convolve8_avg_msa.c21 v16u8 dst0 = { 0 }, mask0, mask1, mask2, mask3, res; in common_hv_8ht_8vt_and_aver_dst_4w_msa() local
27 mask0 = LD_UB(&mc_filt_mask_arr[16]); in common_hv_8ht_8vt_and_aver_dst_4w_msa()
34 mask1 = mask0 + 2; in common_hv_8ht_8vt_and_aver_dst_4w_msa()
35 mask2 = mask0 + 4; in common_hv_8ht_8vt_and_aver_dst_4w_msa()
36 mask3 = mask0 + 6; in common_hv_8ht_8vt_and_aver_dst_4w_msa()
42 hz_out0 = HORIZ_8TAP_FILT(src0, src1, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
44 hz_out2 = HORIZ_8TAP_FILT(src2, src3, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
46 hz_out4 = HORIZ_8TAP_FILT(src4, src5, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
48 hz_out5 = HORIZ_8TAP_FILT(src5, src6, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
65 hz_out7 = HORIZ_8TAP_FILT(src7, src8, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
[all …]
/external/libaom/libaom/aom_dsp/x86/
Dquantize_x86.h155 __m128i mask0 = _mm_and_si128(*cmp_mask0, iscan0); in update_mask1() local
158 temp_mask = _mm_max_epi16(mask0, mask1); in update_mask1()
191 __m128i mask0, mask1; in calculate_non_zero_count() local
193 mask0 = _mm_unpackhi_epi64(mask, mask); in calculate_non_zero_count()
194 mask1 = _mm_max_epi16(mask0, mask); in calculate_non_zero_count()
195 mask0 = _mm_shuffle_epi32(mask1, 1); in calculate_non_zero_count()
196 mask0 = _mm_max_epi16(mask0, mask1); in calculate_non_zero_count()
197 mask1 = _mm_srli_epi32(mask0, 16); in calculate_non_zero_count()
198 mask0 = _mm_max_epi16(mask0, mask1); in calculate_non_zero_count()
199 non_zero_count = _mm_extract_epi16(mask0, 0) + 1; in calculate_non_zero_count()
Dhighbd_adaptive_quantize_avx2.c120 __m256i cmp_mask, mask0 = zero, mask1 = zero; in aom_highbd_quantize_b_adaptive_avx2() local
150 &mask0); in aom_highbd_quantize_b_adaptive_avx2()
192 &is_found0, &mask0); in aom_highbd_quantize_b_adaptive_avx2()
218 temp_mask0 = _mm_max_epi16(_mm256_castsi256_si128(mask0), in aom_highbd_quantize_b_adaptive_avx2()
219 _mm256_extracti128_si256(mask0, 1)); in aom_highbd_quantize_b_adaptive_avx2()
289 __m256i cmp_mask, mask0 = zero, mask1 = zero; in aom_highbd_quantize_b_32x32_adaptive_avx2() local
332 &mask0); in aom_highbd_quantize_b_32x32_adaptive_avx2()
376 &is_found0, &mask0); in aom_highbd_quantize_b_32x32_adaptive_avx2()
404 temp_mask0 = _mm_max_epi16(_mm256_castsi256_si128(mask0), in aom_highbd_quantize_b_32x32_adaptive_avx2()
405 _mm256_extracti128_si256(mask0, 1)); in aom_highbd_quantize_b_32x32_adaptive_avx2()
/external/libyuv/files/source/
Drow_mmi.cc66 const uint64_t mask0 = 0x0; in RAWToARGBRow_MMI() local
107 : [src_ptr] "r"(src_raw), [dst_ptr] "r"(dst_argb), [mask0] "f"(mask0), in RAWToARGBRow_MMI()
115 uint64_t mask0 = 0xc6; in RAWToRGB24Row_MMI() local
153 [mask0] "f"(mask0), [mask1] "f"(mask1), [zero] "f"(0x00), in RAWToRGB24Row_MMI()
349 uint64_t mask0 = 0xc6; in ARGBToRAWRow_MMI() local
391 [mask0] "f"(mask0), [mask1] "f"(mask1), [zero] "f"(0x00), in ARGBToRAWRow_MMI()
2476 const uint64_t mask0 = 0x0; in ARGBToYJRow_MMI() local
2547 : [src_ptr] "r"(src_argb0), [dst_ptr] "r"(dst_y), [mask0] "f"(mask0), in ARGBToYJRow_MMI()
4053 const uint64_t mask0 = 0x0; in ARGBGrayRow_MMI() local
4101 [shift] "f"(shift), [mask0] "f"(mask0), [mask1] "f"(mask1), in ARGBGrayRow_MMI()
[all …]
Dscale_mmi.cc574 const uint64_t mask0 = 0x0ULL; in ScaleRowDown4Box_MMI() local
603 [width] "r"(dst_width), [shift] "f"(shift), [mask0] "f"(mask0), in ScaleRowDown4Box_MMI()
653 const uint64_t mask0 = 0x0ULL; in ScaleRowDown4Box_16_MMI() local
681 [width] "r"(dst_width), [shift] "f"(shift), [mask0] "f"(mask0), in ScaleRowDown4Box_16_MMI()
1030 const uint64_t mask0 = 0x0003000900030009ULL; in ScaleRowUp2_16_MMI() local
1101 [width] "r"(dst_width), [mask0] "f"(mask0), [mask1] "f"(mask1), in ScaleRowUp2_16_MMI()
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Ddenoising_msa.c66 v8i16 mask0 = { 0 }; in vp8_denoiser_filter_msa() local
83 mask0 += cmp; in vp8_denoiser_filter_msa()
86 mask0 += cmp; in vp8_denoiser_filter_msa()
89 mask0 += cmp; in vp8_denoiser_filter_msa()
101 mask0 += temp0_h; in vp8_denoiser_filter_msa()
105 VSHF_H2_SH(adj_val, adj_val, adj_val, adj_val, mask0, mask1, adjust0, in vp8_denoiser_filter_msa()
123 mask0 = zero; in vp8_denoiser_filter_msa()
131 mask0 += cmp; in vp8_denoiser_filter_msa()
134 mask0 += cmp; in vp8_denoiser_filter_msa()
137 mask0 += cmp; in vp8_denoiser_filter_msa()
[all …]
Dencodeopt_msa.c52 v16u8 mask0 = (v16u8)__msa_ldi_b(255); in vp8_mbblock_error_msa() local
55 mask0 = (v16u8)__msa_insve_w((v4i32)mask0, 0, (v4i32)zero); in vp8_mbblock_error_msa()
81 diff0 = (v4i32)__msa_bmnz_v(zero, (v16u8)diff0, mask0); in vp8_mbblock_error_msa()
93 diff0 = (v4i32)__msa_bmnz_v(zero, (v16u8)diff0, mask0); in vp8_mbblock_error_msa()
/external/llvm/test/CodeGen/X86/
Davx512vl-vec-cmp.ll104 %mask0 = icmp eq <8 x i32> %x, %y
105 %mask = select <8 x i1> %mask0, <8 x i1> %mask1, <8 x i1> zeroinitializer
118 %mask0 = icmp sle <4 x i64> %x, %y
119 %mask = select <4 x i1> %mask0, <4 x i1> %mask1, <4 x i1> zeroinitializer
133 %mask0 = icmp sgt <4 x i64> %x, %y
134 %mask = select <4 x i1> %mask0, <4 x i1> %mask1, <4 x i1> zeroinitializer
148 %mask0 = icmp ule <8 x i32> %x, %y
149 %mask = select <8 x i1> %mask0, <8 x i1> %mask1, <8 x i1> zeroinitializer
193 %mask0 = icmp sgt <8 x i32> %x, %y
194 %mask = select <8 x i1> %mask0, <8 x i1> %mask1, <8 x i1> zeroinitializer
[all …]
Davx512bwvl-vec-cmp.ll104 %mask0 = icmp eq <16 x i16> %x, %y
105 %mask = select <16 x i1> %mask0, <16 x i1> %mask1, <16 x i1> zeroinitializer
118 %mask0 = icmp sle <32 x i8> %x, %y
119 %mask = select <32 x i1> %mask0, <32 x i1> %mask1, <32 x i1> zeroinitializer
133 %mask0 = icmp sgt <32 x i8> %x, %y
134 %mask = select <32 x i1> %mask0, <32 x i1> %mask1, <32 x i1> zeroinitializer
148 %mask0 = icmp ule <16 x i16> %x, %y
149 %mask = select <16 x i1> %mask0, <16 x i1> %mask1, <16 x i1> zeroinitializer
254 %mask0 = icmp eq <8 x i16> %x, %y
255 %mask = select <8 x i1> %mask0, <8 x i1> %mask1, <8 x i1> zeroinitializer
[all …]
Davx512bw-vec-cmp.ll104 %mask0 = icmp eq <32 x i16> %x, %y
105 %mask = select <32 x i1> %mask0, <32 x i1> %mask1, <32 x i1> zeroinitializer
118 %mask0 = icmp sle <64 x i8> %x, %y
119 %mask = select <64 x i1> %mask0, <64 x i1> %mask1, <64 x i1> zeroinitializer
133 %mask0 = icmp sgt <64 x i8> %x, %y
134 %mask = select <64 x i1> %mask0, <64 x i1> %mask1, <64 x i1> zeroinitializer
148 %mask0 = icmp ule <32 x i16> %x, %y
149 %mask = select <32 x i1> %mask0, <32 x i1> %mask1, <32 x i1> zeroinitializer
/external/ipsec-tools/src/racoon/
Dsession.c110 static fd_set mask0; variable
184 rfds = mask0; in session()
269 FD_ZERO(&mask0); in initfds()
278 FD_SET(lcconf->sock_admin, &mask0); in initfds()
291 FD_SET(lcconf->sock_pfkey, &mask0); in initfds()
299 FD_SET(lcconf->rtsock, &mask0); in initfds()
310 FD_SET(p->sock, &mask0); in initfds()
Dschedule.c332 static fd_set mask0; in main() local
338 FD_ZERO(&mask0); in main()
339 FD_SET(0, &mask0); in main()
346 rfds = mask0; in main()
/external/libavc/common/x86/
Dih264_resi_trans_quant_sse42.c113 WORD32 mask0, mask1; in ih264_resi_trans_quant_4x4_sse42() local
292 mask0 = _mm_movemask_epi8(cmp0); in ih264_resi_trans_quant_4x4_sse42()
295 if(mask0) in ih264_resi_trans_quant_4x4_sse42()
297 if(mask0 == 0xffff) in ih264_resi_trans_quant_4x4_sse42()
387 WORD32 mask0, mask1; in ih264_resi_trans_quant_chroma_4x4_sse42() local
577 mask0 = _mm_movemask_epi8(cmp0); in ih264_resi_trans_quant_chroma_4x4_sse42()
580 if(mask0) in ih264_resi_trans_quant_chroma_4x4_sse42()
582 if(mask0 == 0xffff) in ih264_resi_trans_quant_chroma_4x4_sse42()
674 WORD32 mask0, mask1; in ih264_hadamard_quant_4x4_sse42() local
806 mask0 = _mm_movemask_epi8(cmp0); in ih264_hadamard_quant_4x4_sse42()
[all …]
/external/llvm-project/llvm/test/CodeGen/X86/
Davx512bwvl-vec-cmp.ll104 %mask0 = icmp eq <16 x i16> %x, %y
105 %mask = select <16 x i1> %mask0, <16 x i1> %mask1, <16 x i1> zeroinitializer
118 %mask0 = icmp sle <32 x i8> %x, %y
119 %mask = select <32 x i1> %mask0, <32 x i1> %mask1, <32 x i1> zeroinitializer
133 %mask0 = icmp sgt <32 x i8> %x, %y
134 %mask = select <32 x i1> %mask0, <32 x i1> %mask1, <32 x i1> zeroinitializer
148 %mask0 = icmp ule <16 x i16> %x, %y
149 %mask = select <16 x i1> %mask0, <16 x i1> %mask1, <16 x i1> zeroinitializer
254 %mask0 = icmp eq <8 x i16> %x, %y
255 %mask = select <8 x i1> %mask0, <8 x i1> %mask1, <8 x i1> zeroinitializer
[all …]
Davx512bw-vec-cmp.ll104 %mask0 = icmp eq <32 x i16> %x, %y
105 %mask = select <32 x i1> %mask0, <32 x i1> %mask1, <32 x i1> zeroinitializer
118 %mask0 = icmp sle <64 x i8> %x, %y
119 %mask = select <64 x i1> %mask0, <64 x i1> %mask1, <64 x i1> zeroinitializer
133 %mask0 = icmp sgt <64 x i8> %x, %y
134 %mask = select <64 x i1> %mask0, <64 x i1> %mask1, <64 x i1> zeroinitializer
148 %mask0 = icmp ule <32 x i16> %x, %y
149 %mask = select <32 x i1> %mask0, <32 x i1> %mask1, <32 x i1> zeroinitializer
/external/llvm-project/clang/include/clang/Basic/
Darm_neon_incl.td136 // from the two special defs "mask0" and "mask1". "mask0" expands to
140 // (shuffle $p0, $p1, mask0) -> $p0
146 // example: (shuffle $p0, $p1, (add (highhalf mask0), (highhalf mask1))) ->
156 // example: (rotl mask0, 3) -> [3, 4, 5, 6, 0, 1, 2]
159 // example: (rotr mask0, 3) -> [4, 5, 6, 0, 1, 2, 3]
162 // example: (highhalf mask0) -> [4, 5, 6, 7] (assuming mask0 had 8 elements)
165 // example: (lowhalf mask0) -> [0, 1, 2, 3] (assuming mask0 had 8 elements)
170 // example: (rev 32, mask0) -> [3, 2, 1, 0, 7, 6, 5, 4] (if 8-bit elements)
171 // example: (rev 32, mask0) -> [1, 0, 3, 2] (if 16-bit elements)
173 // mask0 - The initial sequence of lanes for shuffle ARG0
[all …]

1234