Home
last modified time | relevance | path

Searched refs:masks (Results 1 - 25 of 96) sorted by relevance

1234

/third_party/skia/src/codec/
H A DSkMaskSwizzler.cpp13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, in swizzle_mask16_to_rgba_opaque()
16 // Use the masks to decode to the destination in swizzle_mask16_to_rgba_opaque()
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()
33 // Use the masks to decode to the destination in swizzle_mask16_to_bgra_opaque()
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 in swizzle_mask16_to_bgra_opaque()
12 swizzle_mask16_to_rgba_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask16_to_rgba_opaque() argument
29 swizzle_mask16_to_bgra_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask16_to_bgra_opaque() argument
46 swizzle_mask16_to_rgba_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask16_to_rgba_unpremul() argument
64 swizzle_mask16_to_bgra_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask16_to_bgra_unpremul() argument
82 swizzle_mask16_to_rgba_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask16_to_rgba_premul() argument
100 swizzle_mask16_to_bgra_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask16_to_bgra_premul() argument
120 swizzle_mask16_to_565( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask16_to_565() argument
137 swizzle_mask24_to_rgba_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask24_to_rgba_opaque() argument
154 swizzle_mask24_to_bgra_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask24_to_bgra_opaque() argument
171 swizzle_mask24_to_rgba_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask24_to_rgba_unpremul() argument
189 swizzle_mask24_to_bgra_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask24_to_bgra_unpremul() argument
207 swizzle_mask24_to_rgba_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask24_to_rgba_premul() argument
225 swizzle_mask24_to_bgra_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask24_to_bgra_premul() argument
243 swizzle_mask24_to_565( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask24_to_565() argument
260 swizzle_mask32_to_rgba_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask32_to_rgba_opaque() argument
277 swizzle_mask32_to_bgra_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask32_to_bgra_opaque() argument
294 swizzle_mask32_to_rgba_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask32_to_rgba_unpremul() argument
312 swizzle_mask32_to_bgra_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask32_to_bgra_unpremul() argument
330 swizzle_mask32_to_rgba_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask32_to_rgba_premul() argument
348 swizzle_mask32_to_bgra_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask32_to_bgra_premul() argument
366 swizzle_mask32_to_565( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) swizzle_mask32_to_565() argument
387 CreateMaskSwizzler(const SkImageInfo& dstInfo, bool srcIsOpaque, SkMasks* masks, uint32_t bitsPerPixel, const SkCodec::Options& options) CreateMaskSwizzler() argument
537 SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth) SkMaskSwizzler() argument
[all...]
H A DSkMasks.cpp95 // Count trailing zeros on masks in process_mask()
111 // Truncate masks greater than 8 bits in process_mask()
124 * Create the masks object
127 SkMasks* SkMasks::CreateMasks(InputMasks masks, int bytesPerPixel) { in CreateMasks() argument
130 // Trim the input masks to match bytesPerPixel. in CreateMasks()
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()
139 // Check that masks d in CreateMasks()
[all...]
H A DSkMaskSwizzler.h17 * Used to swizzle images whose pixel components are extracted by bit masks
25 * @param masks Unowned pointer to helper class
29 SkMasks* masks,
55 SkMasks* masks, uint32_t startX, uint32_t sampleX);
57 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
H A DSkBmpMaskCodec.cpp17 uint16_t bitsPerPixel, SkMasks* masks, in SkBmpMaskCodec()
20 , fMasks(masks) in SkBmpMaskCodec()
15 SkBmpMaskCodec(SkEncodedInfo&& info, std::unique_ptr<SkStream> stream, uint16_t bitsPerPixel, SkMasks* masks, SkCodec::SkScanlineOrder rowOrder) SkBmpMaskCodec() argument
H A DSkBmpCodec.cpp299 // Determine the input compression format and set bit masks if necessary in ReadHeader()
307 // the use of bit masks to determine pixel components. The standard in ReadHeader()
334 // Load the masks in ReadHeader()
338 // The V1 header stores the bit masks after the header in ReadHeader()
391 SkCodecPrintf("Error: invalid bmp bit masks header.\n"); in ReadHeader()
525 // Check that input bit masks are valid and create the masks object in ReadHeader()
527 std::unique_ptr<SkMasks> masks(SkMasks::CreateMasks(inputMasks, bitsPerPixel/8)); in ReadHeader()
528 if (nullptr == masks) { in ReadHeader()
529 SkCodecPrintf("Error: invalid input masks in ReadHeader()
[all...]
H A DSkBmpMaskCodec.h17 * This class implements the decoding for bmp images using bit masks
31 * @param masks color masks for certain bmp formats
35 uint16_t bitsPerPixel, SkMasks* masks,
/third_party/rust/crates/aho-corasick/src/packed/teddy/
H A Dcompile.rs115 let Compiler { buckets, masks, .. } = compiler; in build_imp()
120 match (masks.len(), avx, fat) { in build_imp()
126 mask1: runtime::Mask128::new(masks[0]), in build_imp()
135 mask1: runtime::Mask256::new(masks[0]), in build_imp()
144 mask1: runtime::Mask256::new(masks[0]), in build_imp()
153 mask1: runtime::Mask128::new(masks[0]), in build_imp()
154 mask2: runtime::Mask128::new(masks[1]), in build_imp()
163 mask1: runtime::Mask256::new(masks[0]), in build_imp()
164 mask2: runtime::Mask256::new(masks[1]), in build_imp()
173 mask1: runtime::Mask256::new(masks[ in build_imp()
[all...]
/third_party/mesa3d/src/gallium/frontends/dri/
H A Ddri_screen.c156 uint32_t masks[4]; in driCreateConfigs() member
194 const uint32_t * masks; in driCreateConfigs() local
210 masks = format_table[0].masks; in driCreateConfigs()
215 masks = format_table[1].masks; in driCreateConfigs()
220 masks = format_table[2].masks; in driCreateConfigs()
225 masks = format_table[5].masks; in driCreateConfigs()
[all...]
/third_party/toybox/toys/other/
H A 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()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
H A DRangeSpecification.java79 char[] masks = new char[s.length()]; in from()
80 for (int n = 0; n < masks.length; n++) { in from()
81 masks[n] = (char) (1 << s.getDigit(n)); in from()
83 return new RangeSpecification(new String(masks)); in from()
92 char[] masks = new char[length]; in any()
93 Arrays.fill(masks, ALL_DIGITS_MASK); in any()
94 return new RangeSpecification(new String(masks)); in any()
242 int[] masks = new int[length]; in addRangeSpecs()
254 setBitmasks(masks, start); in addRangeSpecs()
265 masks[ in addRangeSpecs()
322 setBitmasks(int[] masks, DigitSequence s) setBitmasks() argument
348 fillBitmasksAfter(int[] masks, int n) fillBitmasksAfter() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/pshinter/
H A Dpshrec.c215 PS_Mask mask = table->masks; in ps_mask_table_done()
221 FT_FREE( table->masks ); in ps_mask_table_done()
227 /* ensure that a mask table can contain "count" masks */
241 if ( !FT_RENEW_ARRAY( table->masks, old_max, new_max ) ) in ps_mask_table_ensure()
269 mask = table->masks + count - 1; in ps_mask_table_alloc()
299 mask = table->masks + count - 1; in ps_mask_table_last()
368 /* test whether two masks in a table intersect */
374 PS_Mask mask1 = table->masks + index1; in ps_mask_table_test_intersect()
375 PS_Mask mask2 = table->masks + index2; in ps_mask_table_test_intersect()
400 /* merge two masks, use
[all...]
H A Dpshrec.h103 /* masks and counters table descriptor */
108 PS_Mask masks; member
117 PS_Mask_TableRec masks; member
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkRenderPass.cpp25 + pCreateInfo->attachmentCount * sizeof(uint32_t); // union of subpass view masks, per attachment in ComputeRequiredAllocationSizeT()
109 bool GetViewMasks(const VkRenderPassCreateInfo *pCreateInfo, uint32_t *masks) in GetViewMasks() argument
114 bool GetViewMasks(const VkRenderPassCreateInfo2KHR *pCreateInfo, uint32_t *masks) in GetViewMasks() argument
118 masks[i] = pCreateInfo->pSubpasses[i].viewMask; in GetViewMasks()
218 uint32_t *masks = reinterpret_cast<uint32_t *>(hostMemory); in init() local
253 masks[i] = multiviewCreateInfo->pViewMasks[i]; in init()
254 // This is now a multiview renderpass, so make the masks available in init()
255 if(masks[i]) in init()
257 viewMasks = masks; in init()
276 if(!viewMasks && (GetViewMasks(pCreateInfo, masks))) in init()
[all...]
/third_party/skia/docs/examples/
H A DPath_getSegmentMasks.cpp10 const char* masks[] = { "line", "quad", "conic", "cubic" }; in REG_FIDDLE() local
15 SkDebugf("mask %s set\n", masks[index]); in REG_FIDDLE()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A 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 in pop_branch_mask()
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-shape-complex-use.cc203 /* We cannot setup masks here. We save information about characters in setup_masks_use()
204 * and setup masks later on in a pause-callback. */ in setup_masks_use()
240 hb_mask_t masks[4], all_masks = 0; in setup_topographical_masks() local
243 masks[i] = plan->map.get_1_mask (use_topographical_features[i]); in setup_topographical_masks()
244 if (masks[i] == plan->map.get_global_mask ()) in setup_topographical_masks()
245 masks[i] = 0; in setup_topographical_masks()
246 all_masks |= masks[i]; in setup_topographical_masks()
281 info[i].mask = (info[i].mask & other_masks) | masks[last_form]; in setup_topographical_masks()
287 info[i].mask = (info[i].mask & other_masks) | masks[last_form]; in setup_topographical_masks()
/third_party/mesa3d/src/amd/registers/
H A Dparse_kernel_headers.py741 masks = {}
757 d = shifts if is_shift else masks
804 if name in shifts and name in masks:
806 if field not in masks[name]:
810 'bits': [shift, shift + bitcount(masks[name][field]) - 1],
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DAPIInfo.java47 public int[] masks = { 0x7, 0x3, 0x1, 0x1, 0x1, 0x1, 0x7 }; field in APIInfo
155 return (info >>> shifts[typ]) & masks[typ]; in getVal()
177 int val = (info >>> shifts[typ]) & masks[typ]; in get()
188 if (typ < masks.length) { in setType()
189 info &= ~(masks[typ] << shifts[typ]); in setType()
190 info |= (val&masks[typ]) << shifts[typ]; in setType()
229 info &= ~(masks[typ] << shifts[typ]); in setType()
/third_party/astc-encoder/Utils/
H A Dastc_quant_generator.cpp91 unsigned int masks[6]; member
279 for (const auto& mask_n: config.masks) in generate_unpacked_quant()
304 for (const auto& mask_n: config.masks) in generate_unpacked_quant()
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
H A DQrCode.java255 mask = handleConstructorMasking(tpl.masks, msk); in QrCode()
391 private int handleConstructorMasking(int[][] masks, int msk) { in handleConstructorMasking() argument
395 applyMask(masks[i]); in handleConstructorMasking()
402 applyMask(masks[i]); // Undoes the mask due to XOR in handleConstructorMasking()
406 applyMask(masks[msk]); // Apply the final choice of mask in handleConstructorMasking()
H A DQrTemplate.java40 final int[][] masks; // masks.length == 8, and masks[i].length == template.length. field in QrTemplate
58 masks = generateMasks(); // Reads fields, returns array in QrTemplate()
162 // Computes and returns a new array of masks, based on this object's various fields.
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_const.c392 LLVMValueRef masks[LP_MAX_VECTOR_LENGTH]; in lp_build_const_mask_aos() local
398 masks[j + i] = LLVMConstInt(elem_type, in lp_build_const_mask_aos()
404 return LLVMConstVector(masks, type.length); in lp_build_const_mask_aos()
H A Dlp_bld_format_aos.c228 LLVMValueRef masks[4]; in lp_build_unpack_arith_rgba_aos() local
270 masks[i] = LLVMConstNull(LLVMInt32TypeInContext(gallivm->context)); in lp_build_unpack_arith_rgba_aos()
283 masks[i] = lp_build_const_int32(gallivm, mask); in lp_build_unpack_arith_rgba_aos()
323 masks[i] = lp_build_const_int32(gallivm, mask); in lp_build_unpack_arith_rgba_aos()
326 masked = LLVMBuildAnd(builder, packed, LLVMConstVector(masks, 4), ""); in lp_build_unpack_arith_rgba_aos()
329 masked = LLVMBuildAnd(builder, shifted, LLVMConstVector(masks, 4), ""); in lp_build_unpack_arith_rgba_aos()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/compiler/
H A DOperation.java201 // Test if the 2 disjoint masks cover all inputs. If so, use a shorter branch operation. in from()
202 List<Integer> masks = outMasks.values().asList(); in from()
203 if ((masks.get(0) | masks.get(1)) == ALL_DIGITS_MASK) { in from()
205 return new Operation.Range(isTerminating, masks.get(0), outStates); in from()
/third_party/alsa-lib/src/pcm/
H A Dpcm_ext_parm.h14 return &params->masks[var - SND_PCM_HW_PARAM_FIRST_MASK]; in hw_param_mask()

Completed in 17 milliseconds

1234