Home
last modified time | relevance | path

Searched refs:smooth (Results 1 - 25 of 55) sorted by relevance

123

/third_party/ffmpeg/libavfilter/
H A Dvf_libopencv.c86 SmoothContext *smooth = s->priv; in smooth_init() local
89 smooth->param1 = 3; in smooth_init()
90 smooth->param2 = 0; in smooth_init()
91 smooth->param3 = 0.0; in smooth_init()
92 smooth->param4 = 0.0; in smooth_init()
95 sscanf(args, "%127[^|]|%d|%d|%lf|%lf", type_str, &smooth->param1, &smooth->param2, &smooth->param3, &smooth->param4); in smooth_init()
97 if (!strcmp(type_str, "blur" )) smooth in smooth_init()
129 SmoothContext *smooth = s->priv; smooth_end_frame_filter() local
[all...]
H A Dvf_xfade.c725 const float smooth = atan2f(x - width / 2, y - height / 2) - \
732 dst[x] = mix(xf1[x], xf0[x], smoothstep(0.f, 1.f, smooth)); \
753 const float smooth = 1.f + x / w - progress * 2.f; \
760 dst[x] = mix(xf1[x], xf0[x], smoothstep(0.f, 1.f, smooth)); \
781 const float smooth = 1.f + (w - 1 - x) / w - progress * 2.f; \
788 dst[x] = mix(xf1[x], xf0[x], smoothstep(0.f, 1.f, smooth)); \
808 const float smooth = 1.f + y / h - progress * 2.f; \
815 dst[x] = mix(xf1[x], xf0[x], smoothstep(0.f, 1.f, smooth)); \
835 const float smooth = 1.f + (h - 1 - y) / h - progress * 2.f; \
842 dst[x] = mix(xf1[x], xf0[x], smoothstep(0.f, 1.f, smooth)); \
[all...]
H A Daf_anlmdn.c82 { "smooth", "set smooth factor", OFFSET(m), AV_OPT_TYPE_FLOAT, {.dbl=11.}, 1, 1000, AFT },
83 { "m", "set smooth factor", OFFSET(m), AV_OPT_TYPE_FLOAT, {.dbl=11.}, 1, 1000, AFT },
215 const float smooth = fminf(s->m, WEIGHT_LUT_SIZE / pdiff_lut_scale); in filter_channel() local
247 if (w >= smooth) in filter_channel()
/third_party/skia/third_party/externals/freetype/src/smooth/
H A Drules.mk2 # FreeType 2 smooth renderer module build rules
16 # smooth driver directory
18 SMOOTH_DIR := $(SRC_DIR)/smooth
29 # smooth driver sources (i.e., C files)
35 # smooth driver headers
41 # smooth driver object(s)
47 SMOOTH_DRV_OBJ_S := $(OBJ_DIR)/smooth.$O
49 # smooth driver source file for single build
51 SMOOTH_DRV_SRC_S := $(SMOOTH_DIR)/smooth.c
54 # smooth drive
[all...]
H A Dmodule.mk2 # FreeType 2 smooth renderer module definition
20 $(ECHO_DRIVER)smooth $(ECHO_DRIVER_DESC)anti-aliased bitmap renderer$(ECHO_DRIVER_DONE)
/third_party/libsnd/tests/
H A Dlossy_comp_test.c1430 short *orig, *data, *smooth ; in sdlcomp_test_short() local
1441 smooth = smooth_buffer.s ; in sdlcomp_test_short()
1524 memcpy (smooth, orig, datalen * sizeof (short)) ; in sdlcomp_test_short()
1526 smoothed_diff_short (smooth, (unsigned int) datalen) ; in sdlcomp_test_short()
1530 { if (error_function (1.0 * data [k], 1.0 * smooth [k], margin)) in sdlcomp_test_short()
1531 { printf ("\nLine %d: Incorrect sample (#%d : %d should be %d).\n", __LINE__, k, data [k], smooth [k]) ; in sdlcomp_test_short()
1532 oct_save_short (orig, smooth, (int) datalen) ; in sdlcomp_test_short()
1567 memcpy (smooth, orig + m * datalen / 7, datalen / 7 * sizeof (short)) ; in sdlcomp_test_short()
1568 smoothed_diff_short (smooth, (unsigned int) (datalen / 7)) ; in sdlcomp_test_short()
1571 if (error_function (1.0 * data [k], 1.0 * smooth [ in sdlcomp_test_short()
1650 int *orig, *data, *smooth ; sdlcomp_test_int() local
1874 float *orig, *data, *smooth ; sdlcomp_test_float() local
2121 double *orig, *data, *smooth, half_max_abs, scale ; sdlcomp_test_double() local
[all...]
/third_party/ffmpeg/libavcodec/mips/
H A Dvp9dsp_mips.h104 VP9_8TAP_MIPS_MSA_FUNC(64, smooth, FILTER_8TAP_SMOOTH);
105 VP9_8TAP_MIPS_MSA_FUNC(32, smooth, FILTER_8TAP_SMOOTH);
106 VP9_8TAP_MIPS_MSA_FUNC(16, smooth, FILTER_8TAP_SMOOTH);
107 VP9_8TAP_MIPS_MSA_FUNC(8, smooth, FILTER_8TAP_SMOOTH);
108 VP9_8TAP_MIPS_MSA_FUNC(4, smooth, FILTER_8TAP_SMOOTH);
283 VP9_8TAP_MIPS_MMI_FUNC(64, smooth, FILTER_8TAP_SMOOTH);
284 VP9_8TAP_MIPS_MMI_FUNC(32, smooth, FILTER_8TAP_SMOOTH);
285 VP9_8TAP_MIPS_MMI_FUNC(16, smooth, FILTER_8TAP_SMOOTH);
286 VP9_8TAP_MIPS_MMI_FUNC(8, smooth, FILTER_8TAP_SMOOTH);
287 VP9_8TAP_MIPS_MMI_FUNC(4, smooth, FILTER_8TAP_SMOOT
[all...]
H A Dvp9_mc_mmi.c596 VP9_8TAP_MIPS_MMI_FUNC(64, smooth, FILTER_8TAP_SMOOTH);
597 VP9_8TAP_MIPS_MMI_FUNC(32, smooth, FILTER_8TAP_SMOOTH);
598 VP9_8TAP_MIPS_MMI_FUNC(16, smooth, FILTER_8TAP_SMOOTH);
599 VP9_8TAP_MIPS_MMI_FUNC(8, smooth, FILTER_8TAP_SMOOTH);
600 VP9_8TAP_MIPS_MMI_FUNC(4, smooth, FILTER_8TAP_SMOOTH);
/third_party/ffmpeg/libavcodec/arm/
H A Dvp9dsp_init_arm.c63 decl_mc_func(op, smooth, dir, sz)
88 define_8tap_2d_fn(put, smooth, sz) \
91 define_8tap_2d_fn(avg, smooth, sz)
121 init_mc_func(idx, 0, put, FILTER_8TAP_SMOOTH, smooth, dir, mx, my, sz, pfx); \ in vp9dsp_mc_init_arm()
124 init_mc_func(idx, 1, avg, FILTER_8TAP_SMOOTH, smooth, dir, mx, my, sz, pfx) in vp9dsp_mc_init_arm()
H A Dvp9dsp_init_16bpp_arm_template.c59 decl_mc_func(op, smooth, dir, sz, bpp)
89 define_8tap_2d_fn(put, smooth, sz, bpp) \
92 define_8tap_2d_fn(avg, smooth, sz, bpp)
122 init_mc_func(idx, 0, put, FILTER_8TAP_SMOOTH, smooth, dir, mx, my, sz, pfx, bpp); \ in vp9dsp_mc_init_arm()
125 init_mc_func(idx, 1, avg, FILTER_8TAP_SMOOTH, smooth, dir, mx, my, sz, pfx, bpp) in vp9dsp_mc_init_arm()
/third_party/ffmpeg/libavcodec/loongarch/
H A Dvp9dsp_loongarch.h77 VP9_8TAP_LOONGARCH_LSX_FUNC(64, smooth, FILTER_8TAP_SMOOTH);
78 VP9_8TAP_LOONGARCH_LSX_FUNC(32, smooth, FILTER_8TAP_SMOOTH);
79 VP9_8TAP_LOONGARCH_LSX_FUNC(16, smooth, FILTER_8TAP_SMOOTH);
80 VP9_8TAP_LOONGARCH_LSX_FUNC(8, smooth, FILTER_8TAP_SMOOTH);
81 VP9_8TAP_LOONGARCH_LSX_FUNC(4, smooth, FILTER_8TAP_SMOOTH);
/third_party/ffmpeg/libavcodec/aarch64/
H A Dvp9dsp_init_aarch64.c63 decl_mc_func(op, smooth, dir, sz)
91 define_8tap_2d_fn(put, smooth, sz) \
94 define_8tap_2d_fn(avg, smooth, sz)
134 init_mc_func(idx, 0, put, FILTER_8TAP_SMOOTH, smooth, dir, mx, my, sz, pfx); \ in vp9dsp_mc_init_aarch64()
137 init_mc_func(idx, 1, avg, FILTER_8TAP_SMOOTH, smooth, dir, mx, my, sz, pfx) in vp9dsp_mc_init_aarch64()
H A Dvp9dsp_init_16bpp_aarch64_template.c59 decl_mc_func(op, smooth, dir, sz, bpp)
93 define_8tap_2d_fn(put, smooth, sz, bpp) \
96 define_8tap_2d_fn(avg, smooth, sz, bpp)
137 init_mc_func(idx, 0, put, FILTER_8TAP_SMOOTH, smooth, dir, mx, my, sz, pfx, bpp); \ in vp9dsp_mc_init_aarch64()
140 init_mc_func(idx, 1, avg, FILTER_8TAP_SMOOTH, smooth, dir, mx, my, sz, pfx, bpp) in vp9dsp_mc_init_aarch64()
/third_party/ltp/testcases/realtime/tools/
H A Dftqviz.py38 def smooth(x, wlen): function
83 # smooth the signal (low pass filter)
85 y = smooth(xi, wlen)
/third_party/skia/gm/
H A Dmac_aa_explorer.cpp89 for (bool smooth : {false, true}) { in test_mac_fonts()
91 CGContextSetShouldSmoothFonts(ctx, smooth); in test_mac_fonts()
/third_party/ffmpeg/libavcodec/
H A Dqcelpdec.c115 float tmp_lspf, smooth, erasure_coeff; in decode_lspf() local
133 smooth = q->octave_count < 10 ? .875 : 0.1; in decode_lspf()
147 smooth = 0.125; in decode_lspf()
160 ff_weighted_vector_sumf(lspf, lspf, q->prev_lspf, smooth, 1.0 - smooth, 10); in decode_lspf()
/third_party/skia/third_party/externals/freetype/builds/amiga/
H A Dmakefile168 smooth.ppc.o: $(FTSRC)/smooth/smooth.c
282 RASTERPPC = raster.ppc.o smooth.ppc.o
/third_party/backends/include/sane/
H A Dsanei_ir.h362 * @brief Dilate clean image parts into dirty ones and smooth int inner,
370 * @param[in] smooth triangular filter whole image for grain removal
389 SANE_Bool smooth, int inner,
/third_party/libinput/src/
H A Devdev-tablet.c684 struct tablet_axes smooth = { 0 }; in tablet_smoothen_axes() local
689 smooth.point.x += a->point.x; in tablet_smoothen_axes()
690 smooth.point.y += a->point.y; in tablet_smoothen_axes()
692 smooth.tilt.x += a->tilt.x; in tablet_smoothen_axes()
693 smooth.tilt.y += a->tilt.y; in tablet_smoothen_axes()
696 axes->point.x = smooth.point.x/count; in tablet_smoothen_axes()
697 axes->point.y = smooth.point.y/count; in tablet_smoothen_axes()
699 axes->tilt.x = smooth.tilt.x/count; in tablet_smoothen_axes()
700 axes->tilt.y = smooth.tilt.y/count; in tablet_smoothen_axes()
752 /* The delta relies on the last *smooth* poin in tablet_check_notify_axes()
[all...]
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_widgets.py771 for smooth in 1, True, '1', 'true', 'yes', 'on':
772 i = factory(smooth=smooth)
773 self.assertEqual(c.itemcget(i, 'smooth'), 'true')
774 for smooth in 0, False, '0', 'false', 'no', 'off':
775 i = factory(smooth=smooth)
776 self.assertEqual(c.itemcget(i, 'smooth'), '0')
777 i = factory(smooth=True, splinestep=30)
778 self.assertEqual(c.itemcget(i, 'smooth'), 'tru
[all...]
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dfttrace.h50 FT_TRACE_DEF( smooth ) /* anti-aliasing raster (ftgrays.c) */
/third_party/ffmpeg/libavcodec/x86/
H A Dvp9dsp_init.h104 filter_8tap_1d_fn(op, sz, FILTER_8TAP_SMOOTH, f_opt, smooth, dir, dvar, bpp, opt)
134 filter_8tap_2d_fn(op, sz, FILTER_8TAP_SMOOTH, f_opt, smooth, align, bpp, bytes, opt)
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Danalysis_enc.c211 const int smooth = (enc->config_->preprocessing & 1); in AssignSegments() local
212 if (smooth) SmoothSegmentMap(enc); in AssignSegments()
/third_party/backends/sanei/
H A Dsanei_ir.c1112 /* Dilate clean image parts into dirty ones and smooth
1119 SANE_Bool smooth, int inner, in sanei_ir_dilate_mean()
1131 DBG (10, "sanei_ir_dilate_mean(): dist max = %d, expand = %d, win size = %d, smooth = %d, inner = %d\n", in sanei_ir_dilate_mean()
1132 dist_max, expand, win_size, smooth, inner); in sanei_ir_dilate_mean()
1169 * smooth the whole image or the replaced pixels only */ in sanei_ir_dilate_mean()
1175 if (smooth) in sanei_ir_dilate_mean()
1115 sanei_ir_dilate_mean(const SANE_Parameters * params, SANE_Uint **in_img, SANE_Uint * mask_img, int dist_max, int expand, int win_size, SANE_Bool smooth, int inner, int *crop) sanei_ir_dilate_mean() argument
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_ossl.c610 int ret = 0, smooth = 0; in rsa_ossl_mod_exp() local
669 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont) in rsa_ossl_mod_exp()
681 if (smooth) { in rsa_ossl_mod_exp()

Completed in 20 milliseconds

123