Home
last modified time | relevance | path

Searched refs:getInput (Results 1 – 25 of 71) sorted by relevance

123

/third_party/qrcodegen/typescript-javascript/
Dqrcodegen-input-demo.ts46 const bitmapOutput: boolean = getInput("output-format-bitmap").checked;
67 if (getInput("errcorlvl-medium").checked)
69 else if (getInput("errcorlvl-quartile").checked)
71 else if (getInput("errcorlvl-high").checked)
81 const minVer: number = parseInt(getInput("version-min-input").value, 10);
82 const maxVer: number = parseInt(getInput("version-max-input").value, 10);
83 const mask: number = parseInt(getInput("mask-input").value, 10);
84 const boostEcc: boolean = getInput("boost-ecc-input").checked;
88 const border: number = parseInt(getInput("border-input").value, 10);
89 const lightColor: string = getInput("light-color-input").value;
[all …]
/third_party/flutter/skia/src/effects/imagefilters/
DSkComposeImageFilter.cpp64 return SkComposeImageFilter::Make(common.getInput(0), common.getInput(1)); in CreateProc()
68 const SkImageFilter* outer = this->getInput(0); in computeFastBounds()
69 const SkImageFilter* inner = this->getInput(1); in computeFastBounds()
80 innerClipBounds = this->getInput(0)->filterBounds(ctx.clipBounds(), ctx.ctm(), in onFilterImage()
116 const SkImageFilter* outer = this->getInput(0); in onFilterBounds()
117 const SkImageFilter* inner = this->getInput(1); in onFilterBounds()
DSkXfermodeImageFilter.cpp104 return SkXfermodeImageFilter::Make((SkBlendMode)mode, common.getInput(0), in CreateProc()
105 common.getInput(1), &common.cropRect()); in CreateProc()
188 return this->getInput(0) ? this->getInput(0)->filterBounds(src, ctm, dir, inputRect) : src; in onFilterBounds()
191 return this->getInput(1) ? this->getInput(1)->filterBounds(src, ctm, dir, inputRect) : src; in onFilterBounds()
DSkOffsetImageFilter.cpp71 return SkOffsetImageFilter::Make(offset.x(), offset.y(), common.getInput(0), in CreateProc()
132 SkRect bounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; in computeFastBounds()
DSkArithmeticImageFilter.cpp138 return SkArithmeticImageFilter::Make(k[0], k[1], k[2], k[3], enforcePMColor, common.getInput(0), in CreateProc()
139 common.getInput(1), &common.cropRect()); in CreateProc()
280 auto i2 = this->getInput(0) ? this->getInput(0)->filterBounds(src, ctm, dir, nullptr) : src; in onFilterBounds()
281 auto i1 = this->getInput(1) ? this->getInput(1)->filterBounds(src, ctm, dir, nullptr) : src; in onFilterBounds()
DSkDropShadowImageFilter.cpp87 dx, dy, sigmaX, sigmaY, color, shadowOnly, common.getInput(0), &common.cropRect())); in CreateProc()
152 SkRect bounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; in computeFastBounds()
DSkColorFilterImageFilter.cpp59 std::move(newCF), sk_ref_sp(input->getInput(0)), cropRect)); in Make()
78 return SkColorFilterImageFilter::Make(std::move(cf), common.getInput(0), &common.cropRect()); in CreateProc()
/third_party/skia/src/effects/imagefilters/
DSkComposeImageFilter.cpp61 return SkImageFilters::Compose(common.getInput(0), common.getInput(1)); in CreateProc()
67 const SkImageFilter* outer = this->getInput(0); in computeFastBounds()
68 const SkImageFilter* inner = this->getInput(1); in computeFastBounds()
79 innerClipBounds = this->getInput(0)->filterBounds(ctx.clipBounds(), ctx.ctm(), in onFilterImage()
115 const SkImageFilter* outer = this->getInput(0); in onFilterBounds()
116 const SkImageFilter* inner = this->getInput(1); in onFilterBounds()
DSkCropImageFilter.cpp78 return SkMakeCropImageFilter(cropRect, common.getInput(0)); in CreateProc()
164 if (this->getInput(0) && !this->getInput(0)->canComputeFastBounds()) { in computeFastBounds()
169 SkRect inputBounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(bounds) : bounds; in computeFastBounds()
DSkBlendImageFilter.cpp113 return SkImageFilters::Blend(std::move(blender), common.getInput(0), common.getInput(1), in CreateProc()
204 return this->getInput(0) ? this->getInput(0)->filterBounds(src, ctm, dir, inputRect) : src; in onFilterBounds()
207 return this->getInput(1) ? this->getInput(1)->filterBounds(src, ctm, dir, inputRect) : src; in onFilterBounds()
DSkOffsetImageFilter.cpp68 return SkImageFilters::Offset(offset.x(), offset.y(), common.getInput(0), common.cropRect()); in CreateProc()
130 SkRect bounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; in computeFastBounds()
DSkArithmeticImageFilter.cpp119 return SkImageFilters::Arithmetic(k[0], k[1], k[2], k[3], enforcePMColor, common.getInput(0), in CreateProc()
120 common.getInput(1), common.cropRect()); in CreateProc()
263 auto i2 = this->getInput(0) ? this->getInput(0)->filterBounds(src, ctm, dir, nullptr) : src; in onFilterBounds()
264 auto i1 = this->getInput(1) ? this->getInput(1)->filterBounds(src, ctm, dir, nullptr) : src; in onFilterBounds()
DSkDropShadowImageFilter.cpp92 common.getInput(0), common.cropRect()); in CreateProc()
159 SkRect bounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; in computeFastBounds()
DSkColorFilterImageFilter.cpp58 std::move(newCF), sk_ref_sp(input->getInput(0)), cropRect)); in ColorFilter()
76 return SkImageFilters::ColorFilter(std::move(cf), common.getInput(0), common.cropRect()); in CreateProc()
/third_party/skia/src/core/
DSkLocalMatrixImageFilter.cpp40 return SkLocalMatrixImageFilter::Make(lm, common.getInput(0)); in CreateProc()
58 return this->getInput(0)->filterBounds(src, SkMatrix::Concat(ctm, fLocalM), dir, inputRect); in onFilterBounds()
66 return this->getInput(0)->computeFastBounds(bounds); in computeFastBounds()
70 return fLocalM.mapRect(this->getInput(0)->computeFastBounds(localBounds)); in computeFastBounds()
DSkImageFilter.cpp49 const SkImageFilter* SkImageFilter::getInput(int i) const { in getInput() function in SkImageFilter
94 SkRect combinedBounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; in computeFastBounds()
96 const SkImageFilter* input = this->getInput(i); in computeFastBounds()
115 const SkImageFilter* input = this->getInput(i); in affectsTransparentBlack()
128 if (nullptr != this->getInput(0) || as_CFB(*filterPtr)->affectsTransparentBlack()) { in asAColorFilter()
212 const SkImageFilter* input = this->getInput(i); in flatten()
335 if (const SkImageFilter_Base* input = as_IFB(this->getInput(i))) { in getCTMCapability()
457 const SkImageFilter* filter = this->getInput(i); in onFilterBounds()
488 const SkImageFilter* filter = this->getInput(i); in visitInputLayerBounds()
520 const SkImageFilter* filter = this->getInput(i); in visitOutputLayerBounds()
[all …]
DSkMatrixImageFilter.cpp54 return Make(matrix, sampling, common.getInput(0)); in CreateProc()
115 SkRect bounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; in computeFastBounds()
/third_party/skia/modules/svg/src/
DSkSVGFilterContext.cpp67 std::tuple<sk_sp<SkImageFilter>, SkSVGColorspace> SkSVGFilterContext::getInput( in getInput() function in SkSVGFilterContext
124 return std::get<1>(this->getInput(ctx, inputType)); in resolveInputColorspace()
129 return std::get<0>(this->getInput(ctx, inputType)); in resolveInput()
135 auto [result, inputCS] = this->getInput(ctx, inputType); in resolveInput()
/third_party/flutter/skia/src/core/
DSkImageFilter.cpp52 const SkImageFilter* SkImageFilter::getInput(int i) const { in getInput() function in SkImageFilter
81 SkRect combinedBounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; in computeFastBounds()
83 const SkImageFilter* input = this->getInput(i); in computeFastBounds()
98 const SkImageFilter* input = this->getInput(i); in canComputeFastBounds()
111 if (nullptr != this->getInput(0) || (*filterPtr)->affectsTransparentBlack()) { in asAColorFilter()
192 const SkImageFilter* input = this->getInput(i); in flatten()
246 const SkImageFilter_Base* input = as_IFB(this->getInput(i)); in canHandleComplexCTM()
366 const SkImageFilter* filter = this->getInput(i); in onFilterBounds()
386 const SkImageFilter* input = this->getInput(index); in filterInput()
DSkMatrixImageFilter.cpp38 return Make(matrix, buffer.read32LE(kLast_SkFilterQuality), common.getInput(0)); in CreateProc()
98 SkRect bounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; in computeFastBounds()
DSkLocalMatrixImageFilter.cpp38 return SkLocalMatrixImageFilter::Make(lm, common.getInput(0)); in CreateProc()
54 return this->getInput(0)->filterBounds(src, SkMatrix::Concat(ctm, fLocalM), dir, inputRect); in onFilterBounds()
/third_party/node/benchmark/util/
Dnormalize-encoding.js29 function getInput(input) { function
48 const inputs = getInput(input);
/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/
Dtensorrt_subgraph.cc143 if (in_tensor.Name().compare(this->network_->getInput(i)->getName()) == 0) { in SetTensorRTNetworkInput()
145 return this->network_->getInput(i); in SetTensorRTNetworkInput()
251 …"network_" + std::string(network_->getInput(0)->getName()) + "_" + std::string(network_->getOutput… in BuildTensorRTGraph()
361 … if (std::strcmp(this->network_->getInput(j)->getName(), trt_in_tensor_name_[i].c_str()) != 0) { in ReSize()
364 nvinfer1::Dims contruct_dim = this->network_->getInput(j)->getDimensions(); in ReSize()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DPixelShader.hpp40 const Semantic& getInput(int inputIdx, int component) const;
DVertexShader.hpp50 const Semantic& getInput(int inputIdx) const;

123