Home
last modified time | relevance | path

Searched refs:mask2 (Results 1 – 25 of 63) sorted by relevance

123

/third_party/mesa3d/src/compiler/glsl/
Dopt_swizzle.cpp69 int mask2[4]; in handle_rvalue() local
71 memset(&mask2, 0, sizeof(mask2)); in handle_rvalue()
73 mask2[0] = swiz2->mask.x; in handle_rvalue()
75 mask2[1] = swiz2->mask.y; in handle_rvalue()
77 mask2[2] = swiz2->mask.z; in handle_rvalue()
79 mask2[3] = swiz2->mask.w; in handle_rvalue()
82 swiz->mask.x = mask2[swiz->mask.x]; in handle_rvalue()
84 swiz->mask.y = mask2[swiz->mask.y]; in handle_rvalue()
86 swiz->mask.z = mask2[swiz->mask.z]; in handle_rvalue()
88 swiz->mask.w = mask2[swiz->mask.w]; in handle_rvalue()
/third_party/ffmpeg/libavcodec/mips/
Dh264qpel_msa.c51 #define AVC_HORZ_FILTER_SH(in0, in1, mask0, mask1, mask2) \ argument
64 tmp0_m = __msa_vshf_b((v16i8) mask2, in1, in0); \
103 v16i8 mask0, mask1, mask2, filt0, filt1, filt2; in avc_luma_hv_qrt_4x4_msa() local
110 LD_SB3(&luma_mask_arr[48], 16, mask0, mask1, mask2); in avc_luma_hv_qrt_4x4_msa()
124 hz_out0 = AVC_HORZ_FILTER_SH(src_hz0, src_hz1, mask0, mask1, mask2); in avc_luma_hv_qrt_4x4_msa()
125 hz_out1 = AVC_HORZ_FILTER_SH(src_hz2, src_hz3, mask0, mask1, mask2); in avc_luma_hv_qrt_4x4_msa()
162 v16i8 src_hz0, src_hz1, src_hz2, src_hz3, mask0, mask1, mask2; in avc_luma_hv_qrt_8x8_msa() local
175 LD_SB3(&luma_mask_arr[0], 16, mask0, mask1, mask2); in avc_luma_hv_qrt_8x8_msa()
185 hz_out0 = AVC_HORZ_FILTER_SH(src_hz0, src_hz0, mask0, mask1, mask2); in avc_luma_hv_qrt_8x8_msa()
186 hz_out1 = AVC_HORZ_FILTER_SH(src_hz1, src_hz1, mask0, mask1, mask2); in avc_luma_hv_qrt_8x8_msa()
[all …]
Dqpeldsp_msa.c59 mask0, mask1, mask2, mask3, \ argument
71 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask2, mask2, sum2_r, sum6_r); \
85 mask0, mask1, mask2, mask3, \ argument
95 VSHF_B2_UH(inp0, inp0, inp0, inp0, mask2, mask1, sum2_r, sum1_r); \
106 mask2, mask3, coef0, \ argument
116 VSHF_B2_UH(inp0, inp0, inp0, inp0, mask2, mask1, sum2_r, sum1_r); \
166 mask0, mask1, mask2, mask3, \ argument
178 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask2, mask2, sum2_r, sum6_r); \
319 v16u8 mask2 = { 1, 3, 0, 4, 0, 5, 1, 6, 2, 7, 3, 8, 4, 8, 5, 7 }; in horiz_mc_qpel_aver_src0_8width_msa() local
329 mask0, mask1, mask2, mask3, in horiz_mc_qpel_aver_src0_8width_msa()
[all …]
Dvp8_mc_msa.c54 #define HORIZ_6TAP_FILT(src0, src1, mask0, mask1, mask2, \ argument
60 VSHF_B3_SB(src0, src1, src0, src1, src0, src1, mask0, mask1, mask2, \
72 mask0, mask1, mask2, \ argument
82 VSHF_B2_SB(src0, src1, src2, src3, mask2, mask2, vec4_m, vec5_m); \
87 mask0, mask1, mask2, \ argument
99 VSHF_B2_SB(src0, src0, src1, src1, mask2, mask2, vec4_m, vec5_m); \
100 VSHF_B2_SB(src2, src2, src3, src3, mask2, mask2, vec6_m, vec7_m); \
164 v16u8 mask0, mask1, mask2, out; in common_hz_6t_4x4_msa() local
175 mask2 = mask0 + 4; in common_hz_6t_4x4_msa()
179 HORIZ_6TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, in common_hz_6t_4x4_msa()
[all …]
Dhevc_mc_uni_msa.c35 mask0, mask1, mask2, mask3, \ argument
45 VSHF_B2_SB(src0, src1, src2, src3, mask2, mask2, vec4_m, vec5_m); \
52 mask0, mask1, mask2, mask3, \ argument
62 VSHF_B2_SB(src0, src0, src1, src1, mask2, mask2, vec0_m, vec1_m); \
63 VSHF_B2_SB(src2, src2, src3, src3, mask2, mask2, vec2_m, vec3_m); \
290 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x4_msa() local
302 mask2 = mask0 + 4; in common_hz_8t_4x4_msa()
307 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, in common_hz_8t_4x4_msa()
321 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x8_msa() local
332 mask2 = mask0 + 4; in common_hz_8t_4x8_msa()
[all …]
Dvp9_mc_msa.c66 #define HORIZ_8TAP_FILT(src0, src1, mask0, mask1, mask2, mask3, \ argument
72 VSHF_B4_SB(src0, src1, mask0, mask1, mask2, mask3, \
84 mask0, mask1, mask2, mask3, \ argument
95 VSHF_B2_SB(src0, src1, src2, src3, mask2, mask2, vec4_m, vec5_m); \
103 mask0, mask1, mask2, mask3, \ argument
114 VSHF_B2_SB(src0, src0, src1, src1, mask2, mask2, vec0_m, vec1_m); \
115 VSHF_B2_SB(src2, src2, src3, src3, mask2, mask2, vec2_m, vec3_m); \
163 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x4_msa() local
175 mask2 = mask0 + 4; in common_hz_8t_4x4_msa()
180 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, in common_hz_8t_4x4_msa()
[all …]
Dhevcdsp_msa.c455 v16i8 mask1, mask2, mask3; in hevc_hz_8t_4w_msa() local
469 mask2 = mask0 + 4; in hevc_hz_8t_4w_msa()
477 VSHF_B4_SB(src0, src1, mask0, mask1, mask2, mask3, in hevc_hz_8t_4w_msa()
482 VSHF_B4_SB(src2, src3, mask0, mask1, mask2, mask3, in hevc_hz_8t_4w_msa()
487 VSHF_B4_SB(src4, src5, mask0, mask1, mask2, mask3, in hevc_hz_8t_4w_msa()
492 VSHF_B4_SB(src6, src7, mask0, mask1, mask2, mask3, in hevc_hz_8t_4w_msa()
510 v16i8 mask1, mask2, mask3; in hevc_hz_8t_8w_msa() local
524 mask2 = mask0 + 4; in hevc_hz_8t_8w_msa()
532 VSHF_B4_SB(src0, src0, mask0, mask1, mask2, mask3, in hevc_hz_8t_8w_msa()
537 VSHF_B4_SB(src1, src1, mask0, mask1, mask2, mask3, in hevc_hz_8t_8w_msa()
[all …]
Dhevc_mc_bi_msa.c541 v16i8 mask1, mask2, mask3; in hevc_hz_bi_8t_4w_msa() local
555 mask2 = mask0 + 4; in hevc_hz_bi_8t_4w_msa()
584 VSHF_B2_SB(src0, src1, src2, src3, mask2, mask2, vec0, vec1); in hevc_hz_bi_8t_4w_msa()
585 VSHF_B2_SB(src4, src5, src6, src7, mask2, mask2, vec2, vec3); in hevc_hz_bi_8t_4w_msa()
614 v16i8 mask1, mask2, mask3; in hevc_hz_bi_8t_8w_msa() local
630 mask2 = mask0 + 4; in hevc_hz_bi_8t_8w_msa()
652 VSHF_B2_SB(src0, src0, src1, src1, mask2, mask2, vec0, vec1); in hevc_hz_bi_8t_8w_msa()
653 VSHF_B2_SB(src2, src2, src3, src3, mask2, mask2, vec2, vec3); in hevc_hz_bi_8t_8w_msa()
685 v16i8 mask0, mask1, mask2, mask3, mask4, mask5, mask6, mask7; in hevc_hz_bi_8t_12w_msa() local
699 mask2 = mask0 + 4; in hevc_hz_bi_8t_12w_msa()
[all …]
Dhevc_mc_uniw_msa.c603 v16i8 mask0, mask1, mask2, mask3, vec11, vec12, vec13, vec14, vec15; in hevc_hz_uniwgt_8t_4w_msa() local
629 mask2 = mask0 + 4; in hevc_hz_uniwgt_8t_4w_msa()
637 VSHF_B4_SB(src0, src1, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_4w_msa()
639 VSHF_B4_SB(src2, src3, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_4w_msa()
641 VSHF_B4_SB(src4, src5, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_4w_msa()
643 VSHF_B4_SB(src6, src7, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_4w_msa()
678 v16i8 mask0, mask1, mask2, mask3; in hevc_hz_uniwgt_8t_8w_msa() local
707 mask2 = mask0 + 4; in hevc_hz_uniwgt_8t_8w_msa()
715 VSHF_B4_SB(src0, src0, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_8w_msa()
717 VSHF_B4_SB(src1, src1, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_8w_msa()
[all …]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
Dcpuset_list_compute.c65 struct bitmask *mask1 = NULL, *mask2 = NULL, *mask3 = NULL; in main() local
74 mask2 = bitmask_alloc(MAX_NBITS); in main()
75 if (mask2 == NULL) in main()
91 if (bitmask_parselist(argv[argc - 1], mask2) != 0) in main()
95 bitmask_andnot(mask3, mask1, mask2); in main()
97 bitmask_or(mask3, mask1, mask2); in main()
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java213 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testUnion() local
214 FieldMask result = FieldMaskUtil.union(mask1, mask2); in testUnion()
220 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar.quz"); in testUnion_usingVarArgs() local
223 FieldMask result = FieldMaskUtil.union(mask1, mask2, mask3, mask4); in testUnion_usingVarArgs()
231 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testSubstract() local
232 FieldMask result = FieldMaskUtil.subtract(mask1, mask2); in testSubstract()
238 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar.baz.quz"); in testSubstract_usingVarArgs() local
241 FieldMask result = FieldMaskUtil.subtract(mask1, mask2, mask3, mask4); in testSubstract_usingVarArgs()
249 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testIntersection() local
250 FieldMask result = FieldMaskUtil.intersection(mask1, mask2); in testIntersection()
/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc329 FieldMask mask1, mask2, out; in TEST() local
332 FieldMaskUtil::FromString("bar,quz", &mask2); in TEST()
333 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
337 FieldMaskUtil::FromString("baz.bb,quz", &mask2); in TEST()
338 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
342 FieldMaskUtil::FromString("foo.bar,bar", &mask2); in TEST()
343 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
348 FieldMask mask1, mask2, out; in TEST() local
351 FieldMaskUtil::FromString("bar,quz", &mask2); in TEST()
352 FieldMaskUtil::Intersect(mask1, mask2, &out); in TEST()
[all …]
Dfield_mask_util.h138 static void Union(const FieldMask& mask1, const FieldMask& mask2,
142 static void Intersect(const FieldMask& mask1, const FieldMask& mask2,
147 static void Subtract(const FieldMask& mask1, const FieldMask& mask2, in Subtract() argument
149 Subtract(T::descriptor(), mask1, mask2, out); in Subtract()
154 const FieldMask& mask2, FieldMask* out);
/third_party/glib/gio/tests/
Dinet-address.c351 GInetAddressMask *mask2; in test_mask_equal() local
357 mask2 = g_inet_address_mask_new_from_string (str, NULL); in test_mask_equal()
358 g_assert (g_inet_address_mask_equal (mask, mask2)); in test_mask_equal()
359 g_object_unref (mask2); in test_mask_equal()
362 mask2 = g_inet_address_mask_new_from_string ("fe80::/12", NULL); in test_mask_equal()
363 g_assert (!g_inet_address_mask_equal (mask, mask2)); in test_mask_equal()
364 g_object_unref (mask2); in test_mask_equal()
366 mask2 = g_inet_address_mask_new_from_string ("ff80::/10", NULL); in test_mask_equal()
367 g_assert (!g_inet_address_mask_equal (mask, mask2)); in test_mask_equal()
368 g_object_unref (mask2); in test_mask_equal()
/third_party/selinux/libsepol/src/
Dnodes.c188 unsigned int *mask2 = &c->u.node.mask; in sepol_node_exists() local
191 !memcmp(mask, mask2, 4)) { in sepol_node_exists()
204 unsigned int *mask2 = c->u.node6.mask; in sepol_node_exists() local
207 !memcmp(mask, mask2, 16)) { in sepol_node_exists()
248 unsigned int *mask2 = &c->u.node.mask; in sepol_node_query() local
251 !memcmp(mask, mask2, 4)) { in sepol_node_query()
267 unsigned int *mask2 = c->u.node6.mask; in sepol_node_query() local
270 !memcmp(mask, mask2, 16)) { in sepol_node_query()
/third_party/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py501 mask2 = field_mask_pb2.FieldMask()
504 mask2.FromJsonString('bar,quz')
505 out_mask.Union(mask1, mask2)
509 mask2.FromJsonString('baz.bb,quz')
510 out_mask.Union(mask1, mask2)
514 mask2.FromJsonString('foo.bar,bar')
515 out_mask.Union(mask1, mask2)
519 out_mask.Union(src, mask2)
523 mask2 = field_mask_pb2.FieldMask()
527 mask2.FromJsonString('bar,quz')
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DFieldMaskTest.cs171 FieldMask mask2 = FieldMask.FromString("foo.bar,bar"); in Union()
172 FieldMask result = mask1.Union(mask2); in Union()
185 FieldMask mask2 = FieldMask.FromString("foo.bar,bar.quz"); in Union_UsingVarArgs()
188 FieldMask result = mask1.Union(mask2, mask3, mask4); in Union_UsingVarArgs()
202 FieldMask mask2 = FieldMask.FromString("foo.bar,bar"); in Intersection()
203 FieldMask result = mask1.Intersection(mask2); in Intersection()
/third_party/freetype/src/pshinter/
Dpshrec.c375 PS_Mask mask2 = table->masks + index2; in ps_mask_table_test_intersect() local
377 FT_Byte* p2 = mask2->bytes; in ps_mask_table_test_intersect()
379 FT_UInt count2 = mask2->num_bits; in ps_mask_table_test_intersect()
426 PS_Mask mask2 = table->masks + index2; in ps_mask_table_merge() local
428 FT_UInt count2 = mask2->num_bits; in ps_mask_table_merge()
452 read = mask2->bytes; in ps_mask_table_merge()
466 mask2->num_bits = 0; in ps_mask_table_merge()
467 mask2->end_point = 0; in ps_mask_table_merge()
474 PS_MaskRec dummy = *mask2; in ps_mask_table_merge()
477 ft_memmove( mask2, in ps_mask_table_merge()
[all …]
/third_party/skia/third_party/externals/freetype/src/pshinter/
Dpshrec.c375 PS_Mask mask2 = table->masks + index2; in ps_mask_table_test_intersect() local
377 FT_Byte* p2 = mask2->bytes; in ps_mask_table_test_intersect()
379 FT_UInt count2 = mask2->num_bits; in ps_mask_table_test_intersect()
426 PS_Mask mask2 = table->masks + index2; in ps_mask_table_merge() local
428 FT_UInt count2 = mask2->num_bits; in ps_mask_table_merge()
452 read = mask2->bytes; in ps_mask_table_merge()
466 mask2->num_bits = 0; in ps_mask_table_merge()
467 mask2->end_point = 0; in ps_mask_table_merge()
474 PS_MaskRec dummy = *mask2; in ps_mask_table_merge()
477 ft_memmove( mask2, in ps_mask_table_merge()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/pshinter/
Dpshrec.c376 PS_Mask mask2 = table->masks + index2; in ps_mask_table_test_intersect() local
378 FT_Byte* p2 = mask2->bytes; in ps_mask_table_test_intersect()
380 FT_UInt count2 = mask2->num_bits; in ps_mask_table_test_intersect()
427 PS_Mask mask2 = table->masks + index2; in ps_mask_table_merge() local
429 FT_UInt count2 = mask2->num_bits; in ps_mask_table_merge()
453 read = mask2->bytes; in ps_mask_table_merge()
467 mask2->num_bits = 0; in ps_mask_table_merge()
468 mask2->end_point = 0; in ps_mask_table_merge()
475 PS_MaskRec dummy = *mask2; in ps_mask_table_merge()
478 ft_memmove( mask2, in ps_mask_table_merge()
[all …]
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drasterizer_impl.h597 int32_t& mask2)
606 mask2 = _mm256_movemask_pd(vSampleBboxTest2);
614 const __m256d (&)[3], const __m256d* vEdgeFix16, int32_t& mask0, int32_t& mask1, int32_t& mask2)
618 mask2 = _mm256_movemask_pd(vEdgeFix16[2]);
763 INLINE bool TrivialRejectTest<E0E2ValidT>(const int mask0, const int, const int mask2)
765 return (!(mask0 && mask2)) ? true : false;
772 INLINE bool TrivialRejectTest<E1E2ValidT>(const int, const int mask1, const int mask2)
774 return (!(mask1 && mask2)) ? true : false;
781 INLINE bool TrivialRejectTest<AllEdgesValidT>(const int mask0, const int mask1, const int mask2)
783 return (!(mask0 && mask1 && mask2)) ? true : false;
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Dlossless_msa.c161 const v16u8 mask2 = { 10, 12, 13, 14, 16, 17, 18, 20, 21, 22, 24, 25, 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()
208 const v16u8 mask2 = { 8, 14, 13, 12, 18, 17, 16, 22, 21, 20, 26, 25, in ConvertBGRAToRGB_MSA() local
212 CONVERT16_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToRGB_MSA()
219 CONVERT12_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToRGB_MSA()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dlossless_msa.c161 const v16u8 mask2 = { 10, 12, 13, 14, 16, 17, 18, 20, 21, 22, 24, 25, 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()
208 const v16u8 mask2 = { 8, 14, 13, 12, 18, 17, 16, 22, 21, 20, 26, 25, in ConvertBGRAToRGB_MSA() local
212 CONVERT16_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToRGB_MSA()
219 CONVERT12_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToRGB_MSA()
/third_party/glib/gio/
Dginetaddressmask.c466 GInetAddressMask *mask2) in g_inet_address_mask_equal() argument
469 g_return_val_if_fail (G_IS_INET_ADDRESS_MASK (mask2), FALSE); in g_inet_address_mask_equal()
471 return ((mask->priv->length == mask2->priv->length) && in g_inet_address_mask_equal()
472 g_inet_address_equal (mask->priv->addr, mask2->priv->addr)); in g_inet_address_mask_equal()
/third_party/iptables/extensions/
Dlibebt_arp.c119 static int ip_mask(char *mask, unsigned char *mask2) in ip_mask() argument
125 if (undot_ip(mask, mask2)) { in ip_mask()
132 memcpy(mask2, &mask22, 4); in ip_mask()
135 memcpy(mask2, &mask22, 4); in ip_mask()

123