Home
last modified time | relevance | path

Searched refs:masks (Results 1 – 25 of 223) sorted by relevance

123456789

/external/skqp/src/codec/
DSkMaskSwizzler.cpp13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_opaque() argument
21 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_opaque()
22 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_opaque()
23 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_rgba_opaque()
30 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_opaque() argument
38 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_opaque()
39 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_opaque()
40 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_bgra_opaque()
47 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_unpremul() argument
55 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_unpremul()
[all …]
DSkMasks.cpp129 SkMasks* SkMasks::CreateMasks(InputMasks masks, uint32_t bitsPerPixel) { in CreateMasks() argument
132 masks.red &= (1 << bitsPerPixel) - 1; in CreateMasks()
133 masks.green &= (1 << bitsPerPixel) - 1; in CreateMasks()
134 masks.blue &= (1 << bitsPerPixel) - 1; in CreateMasks()
135 masks.alpha &= (1 << bitsPerPixel) - 1; in CreateMasks()
139 if (((masks.red & masks.green) | (masks.red & masks.blue) | in CreateMasks()
140 (masks.red & masks.alpha) | (masks.green & masks.blue) | in CreateMasks()
141 (masks.green & masks.alpha) | (masks.blue & masks.alpha)) != 0) { in CreateMasks()
146 const MaskInfo red = process_mask(masks.red, bitsPerPixel); in CreateMasks()
147 const MaskInfo green = process_mask(masks.green, bitsPerPixel); in CreateMasks()
[all …]
DSkMaskSwizzler.h29 SkMasks* masks,
55 SkMasks* masks, uint32_t startX, uint32_t sampleX);
57 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
/external/skia/src/codec/
DSkMaskSwizzler.cpp13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_opaque() argument
21 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_opaque()
22 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_rgba_opaque()
23 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_rgba_opaque()
30 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_bgra_opaque() argument
38 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_opaque()
39 uint8_t green = masks->getGreen(p); in swizzle_mask16_to_bgra_opaque()
40 uint8_t blue = masks->getBlue(p); in swizzle_mask16_to_bgra_opaque()
47 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_unpremul() argument
55 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_unpremul()
[all …]
DSkMasks.cpp127 SkMasks* SkMasks::CreateMasks(InputMasks masks, int bytesPerPixel) { in CreateMasks() argument
133 masks.red &= (1 << bitsPerPixel) - 1; in CreateMasks()
134 masks.green &= (1 << bitsPerPixel) - 1; in CreateMasks()
135 masks.blue &= (1 << bitsPerPixel) - 1; in CreateMasks()
136 masks.alpha &= (1 << bitsPerPixel) - 1; in CreateMasks()
140 if (((masks.red & masks.green) | in CreateMasks()
141 (masks.red & masks.blue ) | in CreateMasks()
142 (masks.red & masks.alpha) | in CreateMasks()
143 (masks.green & masks.blue ) | in CreateMasks()
144 (masks.green & masks.alpha) | in CreateMasks()
[all …]
DSkMaskSwizzler.h29 SkMasks* masks,
55 SkMasks* masks, uint32_t startX, uint32_t sampleX);
57 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dlayers_test.py50 masks = ops.get_collection(core_layers.MASK_COLLECTION)
51 self.assertEqual(len(masks), 1)
52 self.assertListEqual(masks[0].get_shape().as_list(),
75 masks = ops.get_collection(core_layers.MASK_COLLECTION)
76 self.assertEqual(len(masks), number_of_layers)
78 self.assertListEqual(masks[ix].get_shape().as_list(), [
99 masks = ops.get_collection(core_layers.MASK_COLLECTION)
100 self.assertEqual(len(masks), 1)
101 self.assertListEqual(masks[0].get_shape().as_list(),
123 masks = ops.get_collection(core_layers.MASK_COLLECTION)
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_eager.py43 def _eager_metrics_fn(model, outputs, targets, sample_weights=None, masks=None): argument
60 outputs, targets=targets, sample_weights=sample_weights, masks=masks)
109 masks = [t._keras_mask for t in outs]
118 mask = masks[i]
176 return outs, total_loss, output_losses, masks
209 outs, total_loss, output_losses, masks = (
229 return outs, total_loss, output_losses, masks
265 outs, total_loss, output_losses, masks = (
276 model, outs, targets, sample_weights=sample_weights, masks=masks)
315 outs, total_loss, output_losses, masks = (
[all …]
/external/toybox/toys/other/
Dinotifyd.c53 char *path = *ss, *masks = strchr(*ss, ':'); in inotifyd_main() local
56 if (!masks) mask = 0xfff; // default to all in inotifyd_main()
58 *masks++ = 0; in inotifyd_main()
59 for (*masks++ = 0; *masks; masks++) { in inotifyd_main()
60 i = stridx(masklist, *masks);; in inotifyd_main()
61 if (i == -1) error_exit("bad mask '%c'", *masks); in inotifyd_main()
/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c182 const uint32_t * masks; in driCreateConfigs() local
196 masks = masks_table[0]; in driCreateConfigs()
200 masks = masks_table[1]; in driCreateConfigs()
204 masks = masks_table[2]; in driCreateConfigs()
207 masks = masks_table[5]; in driCreateConfigs()
210 masks = masks_table[6]; in driCreateConfigs()
213 masks = masks_table[3]; in driCreateConfigs()
216 masks = masks_table[4]; in driCreateConfigs()
263 modes->redMask = masks[0]; in driCreateConfigs()
264 modes->greenMask = masks[1]; in driCreateConfigs()
[all …]
/external/freetype/src/pshinter/
Dpshrec.c216 PS_Mask mask = table->masks; in ps_mask_table_done()
222 FT_FREE( table->masks ); in ps_mask_table_done()
242 if ( !FT_RENEW_ARRAY( table->masks, old_max, new_max ) ) in ps_mask_table_ensure()
270 mask = table->masks + count - 1; in ps_mask_table_alloc()
300 mask = table->masks + count - 1; in ps_mask_table_last()
375 PS_Mask mask1 = table->masks + index1; in ps_mask_table_test_intersect()
376 PS_Mask mask2 = table->masks + index2; in ps_mask_table_test_intersect()
426 PS_Mask mask1 = table->masks + index1; in ps_mask_table_merge()
427 PS_Mask mask2 = table->masks + index2; in ps_mask_table_merge()
548 ps_mask_table_done( &dimension->masks, memory ); in ps_dimension_done()
[all …]
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dsugar_test.py49 self.masks = [False, True]
53 len(self.channels) * len(self.masks))
56 len(self.masks)
63 self.mask_axis = ('mask', self.masks)
84 ('depth', len(self.channels) * len(self.masks))
92 depth_axis = core.Axis('depth', range(len(self.channels) * len(self.masks)))
/external/skia/src/core/
DSkGlyphRunPainter.h62 virtual void paintMasks(SkSpan<const SkMask> masks, const SkPaint& paint) const = 0;
149 virtual void processDeviceMasks(SkSpan<const SkGlyphPos> masks,
157 virtual void processSourceSDFT(SkSpan<const SkGlyphPos> masks,
165 virtual void processSourceFallback(SkSpan<const SkGlyphPos> masks,
170 virtual void processDeviceFallback(SkSpan<const SkGlyphPos> masks,
DSkDraw_text.cpp39 void SkDraw::paintMasks(SkSpan<const SkMask> masks, const SkPaint& paint) const { in paintMasks() argument
56 for (const SkMask& mask : masks) { in paintMasks()
78 for (const SkMask& mask : masks) { in paintMasks()
DSkGlyphRunPainter.cpp231 SkTDArray<SkMask> masks; in drawForBitmapDevice() local
232 masks.setReserve(runSize); in drawForBitmapDevice()
240 masks.push_back(create_mask(glyph, position, image)); in drawForBitmapDevice()
244 bitmapDevice->paintMasks(SkSpan<const SkMask>{masks.begin(), masks.size()}, runPaint); in drawForBitmapDevice()
845 void GrTextBlob::processDeviceMasks(SkSpan<const SkGlyphPos> masks, in processDeviceMasks() argument
851 for (const auto& mask : masks) { in processDeviceMasks()
884 void GrTextBlob::processSourceSDFT(SkSpan<const SkGlyphPos> masks, in processSourceSDFT() argument
900 for (const auto& mask : masks) { in processSourceSDFT()
906 void GrTextBlob::processSourceFallback(SkSpan<const SkGlyphPos> masks, in processSourceFallback() argument
919 for (const auto& mask : masks) { in processSourceFallback()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Davx2-masked-gather.ll7 declare <2 x i32> @llvm.masked.gather.v2i32(<2 x i32*> %ptrs, i32 %align, <2 x i1> %masks, <2 x i32…
9 define <2 x i32> @masked_gather_v2i32(<2 x i32*>* %ptr, <2 x i1> %masks, <2 x i32> %passthro) {
55 …%res = call <2 x i32> @llvm.masked.gather.v2i32(<2 x i32*> %ld, i32 0, <2 x i1> %masks, <2 x i32> …
59 define <4 x i32> @masked_gather_v2i32_concat(<2 x i32*>* %ptr, <2 x i1> %masks, <2 x i32> %passthro…
106 …%res = call <2 x i32> @llvm.masked.gather.v2i32(<2 x i32*> %ld, i32 0, <2 x i1> %masks, <2 x i32> …
111 declare <2 x float> @llvm.masked.gather.v2float(<2 x float*> %ptrs, i32 %align, <2 x i1> %masks, <2…
113 define <2 x float> @masked_gather_v2float(<2 x float*>* %ptr, <2 x i1> %masks, <2 x float> %passthr…
157 …%res = call <2 x float> @llvm.masked.gather.v2float(<2 x float*> %ld, i32 0, <2 x i1> %masks, <2 x…
161 define <4 x float> @masked_gather_v2float_concat(<2 x float*>* %ptr, <2 x i1> %masks, <2 x float> %…
205 …%res = call <2 x float> @llvm.masked.gather.v2float(<2 x float*> %ld, i32 0, <2 x i1> %masks, <2 x…
[all …]
/external/strace/tests-m32/
Dfanotify_mark.c145 static const struct strval64 masks[] = { in main() local
219 for (k = 0; k < ARRAY_SIZE(masks); k++) { in main()
225 masks[k].val, in main()
226 masks[k].str, in main()
/external/strace/tests/
Dfanotify_mark.c145 static const struct strval64 masks[] = { in main() local
219 for (k = 0; k < ARRAY_SIZE(masks); k++) { in main()
225 masks[k].val, in main()
226 masks[k].str, in main()
/external/strace/tests-mx32/
Dfanotify_mark.c145 static const struct strval64 masks[] = { in main() local
219 for (k = 0; k < ARRAY_SIZE(masks); k++) { in main()
225 masks[k].val, in main()
226 masks[k].str, in main()
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dpruning.py140 masks = get_masks()
141 return [nn_impl.zero_fraction(mask) for mask in masks]
495 masks = get_masks()
499 if len(masks) != len(thresholds):
502 (len(masks), len(thresholds)))
504 for index, mask in enumerate(masks):
565 masks = get_masks()
567 for mask, threshold in zip(masks, thresholds):
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow.c655 struct branch_write_mask * masks = &d->BranchMasks[*branch_depth]; in pop_branch_mask() local
657 if (masks->HasElse) { in pop_branch_mask()
661 masks->IfWriteMask & ~masks->ElseWriteMask; in pop_branch_mask()
665 masks->ElseWriteMask & ~d->AliveWriteMask; in pop_branch_mask()
667 d->AliveWriteMask = masks->IfWriteMask in pop_branch_mask()
668 ^ ((masks->IfWriteMask ^ masks->ElseWriteMask) in pop_branch_mask()
669 & (masks->IfWriteMask ^ d->AliveWriteMask)); in pop_branch_mask()
672 masks->IfWriteMask & ~d->AliveWriteMask; in pop_branch_mask()
673 d->AliveWriteMask = masks->IfWriteMask; in pop_branch_mask()
676 memset(masks, 0, sizeof(struct branch_write_mask)); in pop_branch_mask()
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-use.cc312 hb_mask_t masks[4], all_masks = 0; in setup_topographical_masks() local
315 masks[i] = plan->map.get_1_mask (arabic_features[i]); in setup_topographical_masks()
316 if (masks[i] == plan->map.get_global_mask ()) in setup_topographical_masks()
317 masks[i] = 0; in setup_topographical_masks()
318 all_masks |= masks[i]; in setup_topographical_masks()
352 info[i].mask = (info[i].mask & other_masks) | masks[last_form]; in setup_topographical_masks()
358 info[i].mask = (info[i].mask & other_masks) | masks[last_form]; in setup_topographical_masks()
/external/skqp/src/core/
DSkDraw_text.cpp39 void SkDraw::paintMasks(SkSpan<const SkMask> masks, const SkPaint& paint) const { in paintMasks() argument
56 for (const SkMask& mask : masks) { in paintMasks()
78 for (const SkMask& mask : masks) { in paintMasks()
/external/skqp/src/gpu/text/
DGrStrikeCache.cpp85 void* dst, const SkMasks& masks) { in get_packed_glyph_image() argument
104 uint32_t colorRGBA = GrColorPackRGBA(masks.getRed(color565), in get_packed_glyph_image()
105 masks.getGreen(color565), in get_packed_glyph_image()
106 masks.getBlue(color565), in get_packed_glyph_image()
/external/skia/src/gpu/text/
DGrStrikeCache.cpp85 void* dst, const SkMasks& masks) { in get_packed_glyph_image() argument
104 uint32_t colorRGBA = GrColorPackRGBA(masks.getRed(color565), in get_packed_glyph_image()
105 masks.getGreen(color565), in get_packed_glyph_image()
106 masks.getBlue(color565), in get_packed_glyph_image()

123456789