Home
last modified time | relevance | path

Searched refs:blur (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/skia/bench/
DImageFilterDAGBench.cpp32 sk_sp<SkImageFilter> blur(SkImageFilters::Blur(20.0f, 20.0f, nullptr)); in onDraw() local
35 inputs[i] = blur; in onDraw()
84 sk_sp<SkImageFilter> blur(SkImageFilters::Blur(20.0f, 20.0f, nullptr)); in onDraw() local
87 inputs[i] = blur; in onDraw()
119 sk_sp<SkImageFilter> blur(SkImageFilters::Blur(4.0f, 4.0f, nullptr)); in onDraw() local
124 scale, blur, blur)); in onDraw()
148 auto blur = SkImageFilters::Blur(20.0f, 20.0f, nullptr); in onDraw() local
149 auto offset1 = SkImageFilters::Offset(100.0f, 100.0f, blur); in onDraw()
150 auto offset2 = SkImageFilters::Offset(-100.0f, -100.0f, blur); in onDraw()
/third_party/ffmpeg/tests/ref/fate/
Dfilter-refcmp-blurdetect-yuv2 lavfi.blur=4.499666
4 lavfi.blur=4.677492
6 lavfi.blur=4.735711
8 lavfi.blur=4.532343
10 lavfi.blur=4.532660
/third_party/skia/docs/examples/
Dskpaint_blur_mask_filter_2.cpp21 SkPaint blur(paint); in draw() local
22 blur.setColor(blurColor); in draw()
23 blur.setAlpha(blurAlpha); in draw()
24 blur.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, blurSigma, false)); in draw()
29 canvas->drawString(text, x + xDrop, y + yDrop, font, blur); in draw()
Dtext_shadow.cpp16 SkPaint blur(paint); in draw() local
17 blur.setAlpha(blurAlpha); in draw()
18 blur.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, sigma, 0)); in draw()
20 canvas->drawTextBlob(blob.get(), x + xDrop, y + yDrop, blur); in draw()
DCanvas_saveLayer.cpp9 SkPaint paint, blur; in draw() local
10 blur.setImageFilter(SkImageFilters::Blur(3, 3, nullptr)); in draw()
11 canvas->saveLayer(nullptr, &blur); in draw()
DCanvas_saveLayer_2.cpp9 SkPaint paint, blur; in draw() local
10 blur.setImageFilter(SkImageFilters::Blur(3, 3, nullptr)); in draw()
11 canvas->saveLayer(SkRect::MakeWH(90, 90), &blur); in draw()
/third_party/skia/src/core/
DSkBlurMask.cpp40 const uint8_t blur[], int blurRB, in merge_src_with_blur() argument
47 *dst = SkToU8(SkAlphaMul(*blur, SkAlpha255To256(*rowSrc))); in merge_src_with_blur()
50 ++blur; in merge_src_with_blur()
54 blur += blurRB; in merge_src_with_blur()
134 const SkIPoint border = blurFilter.blur(src, dst); in BoxBlur()
223 SkMask blur = *dst; in BoxBlur() local
224 SkAutoMaskFreeImage autoFreeBlurMask(blur.fImage); in BoxBlur()
232 auto blurStart = &blur.fImage[border.x() + border.y() * blur.fRowBytes]; in BoxBlur()
238 blurStart, blur.fRowBytes, in BoxBlur()
245 blurStart, blur.fRowBytes, in BoxBlur()
[all …]
DSkMaskBlurFilter.cpp110 template <typename AlphaIter> void blur(const AlphaIter srcBegin, const AlphaIter srcEnd, in blur() function in __anone566aacb0111::PlanGauss::Scan
551 BlurX blur, in blur_row() argument
561 blur(load(src, 8, nullptr), g0, g1, g2, g3, g4, &d0, &d8); in blur_row()
576 blur(load(src, srcTail, nullptr), g0, g1, g2, g3, g4, &d0, &d8); in blur_row()
594 static void blur_x_rect(BlurX blur, in blur_x_rect() argument
607 blur_row(blur, g0, g1, g2, g3, g4, src, srcW, dst, dstW); in blur_x_rect()
768 BlurY blur, int radius, int width, in blur_column() argument
784 auto b = blur(s, in blur_column()
808 BlurY blur, int radius, uint16_t *gauss, in blur_y_rect() argument
820 blur_column(toA8, blur, radius, 8, in blur_y_rect()
[all …]
DSkMaskBlurFilter.h30 SkIPoint blur(const SkMask& src, SkMask* dst) const;
/third_party/skia/gm/
Dimagefiltersgraph.cpp50 sk_sp<SkImageFilter> blur(SkImageFilters::Blur(4.0f, 4.0f, std::move(bitmapSource))); in onDraw() local
51 sk_sp<SkImageFilter> erode(SkImageFilters::Erode(4, 4, blur)); in onDraw()
54 sk_sp<SkImageFilter> merge(SkImageFilters::Merge(blur, color)); in onDraw()
97 sk_sp<SkImageFilter> blur(SkImageFilters::Blur(10, 10, nullptr)); in onDraw() local
102 SkImageFilters::Blend(SkBlendMode::kSrcIn, std::move(blur), nullptr, &cropRect)); in onDraw()
Dcrbug_1174354.cpp39 auto blur = SkImageFilters::Blur(sigma, sigma, SkTileMode::kClamp, nullptr, rect); in draw_bg_blur() local
41 rec.fBackdrop = blur.get(); in draw_bg_blur()
Dbackdrop.cpp60 auto blur = SkImageFilters::Blur(sigma, sigma, SkTileMode::kClamp, nullptr); in do_draw() local
61 auto rec = SkCanvasPriv::ScaledBackdropLayer(drawrptr, nullptr, blur.get(), scaleFactor, 0); in do_draw()
Dgpu_blur_utils.cpp24 static GrSurfaceProxyView blur(GrRecordingContext* ctx, in blur() function
285 auto blurFn = ref ? slow_blur : blur; in run()
395 std::vector<decltype(blur)*> blurs; in do_very_large_blur_gm()
396 blurs.push_back(blur); in do_very_large_blur_gm()
408 paint.setColor4f(b == blur ? SkPMColor4f{0, 0, 1, 1} : SkPMColor4f{1, 0, 0, 1}); in do_very_large_blur_gm()
Dcoloremoji.cpp129 sk_sp<SkImageFilter> blur(make_blur(3.0f, std::move(grayScale))); in onDraw() local
130 shaderPaint.setImageFilter(std::move(blur)); in onDraw()
/third_party/ffmpeg/libavfilter/
Dvf_blurdetect.c269 float blur = 0.0f; in blurdetect_filter_frame() local
303 blur += calculate_blur(s, w, h, hsub, vsub, directions, w, in blurdetect_filter_frame()
308 blur /= nplanes; in blurdetect_filter_frame()
310 s->blur_total += blur; in blurdetect_filter_frame()
313 av_log(ctx, AV_LOG_VERBOSE, "blur: %.7f\n", blur); in blurdetect_filter_frame()
315 set_meta(metadata, "lavfi.blur", blur); in blurdetect_filter_frame()
Dvf_boxblur.c127 static inline void blur ## depth(type *dst, int dst_step, const type *src, \
160 static inline void blur(uint8_t *dst, int dst_step, const uint8_t *src, int src_step, in blur() function
173 blur(a, pixsize, src, src_step, len, radius, pixsize); in blur_power()
176 blur(b, pixsize, a, pixsize, len, radius, pixsize); in blur_power()
180 blur(dst, dst_step, a, pixsize, len, radius, pixsize); in blur_power()
Dvf_smartblur.c169 static void blur(uint8_t *dst, const int dst_linesize, in blur() function
248 blur(outpic->data[0], outpic->linesize[0], in filter_frame()
254 blur(outpic->data[1], outpic->linesize[1], in filter_frame()
258 blur(outpic->data[2], outpic->linesize[2], in filter_frame()
Dvf_deband.c36 int blur; member
63 …{ "blur", "set blur", OFFSET(blur), AV_OPT_TYPE_BOOL, {.i64=1}, …
64 …{ "b", "set blur", OFFSET(blur), AV_OPT_TYPE_BOOL, {.i64=1}, …
161 if (s->blur) { in deband_8_c()
212 if (s->blur) { in deband_8_coupling_c()
277 if (s->blur) { in deband_16_coupling_c()
342 if (s->blur) { in deband_16_c()
Dvf_sab.c217 static void blur(uint8_t *dst, const int dst_linesize, in blur() function
288 blur(outpic->data[0], outpic->linesize[0], inpic->data[0], inpic->linesize[0], in filter_frame()
293blur(outpic->data[1], outpic->linesize[1], inpic->data[1], inpic->linesize[1], cw, ch, &s->chroma); in filter_frame()
294blur(outpic->data[2], outpic->linesize[2], inpic->data[2], inpic->linesize[2], cw, ch, &s->chroma); in filter_frame()
/third_party/skia/modules/skottie/src/text/
DTextAnimator.h41 Vec2Value blur = { 0, 0 }, member
57 SkV2 blur = { 0, 0 }, member
DTextAnimator.cpp127 modulated_props.blur += fTextProps.blur * amount; in modulateProps()
200 fHasBlur = acontainer->bind(*abuilder, jprops["bl"], fTextProps.blur ); in TextAnimator()
/third_party/skia/site/docs/user/
Dtips.md113 SkPaint blur(paint);
114 blur.setAlpha(blurAlpha);
115 blur.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, sigma, 0));
117 canvas->drawTextBlob(blob.get(), x + xDrop, y + yDrop, blur);
/third_party/skia/tests/
DRepeatedClippedBlurTest.cpp93 sk_sp<SkImageFilter> blur = SkImageFilters::Blur(20, 20, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
97 sk_sp<SkImage> filteredImg = smImg->makeWithFilter(dContext, blur.get(), subset, clip, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-fulltext-search/mount-origin/
Dlws-fts.js54 inp.blur();
79 inp.blur();
/third_party/skia/src/effects/
DSkLayerDrawLooper.cpp315 sk_sp<SkMaskFilter> blur = nullptr; in Make() local
317 blur = SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, sigma, true); in Make()
332 paint->setMaskFilter(std::move(blur)); in Make()

12345