Home
last modified time | relevance | path

Searched refs:scale (Results 201 - 225 of 2295) sorted by relevance

12345678910>>...92

/third_party/skia/bench/
H A DColorPrivBench.cpp53 // depends on scale. Even here, these must be volatile arrays to prevent that
58 const unsigned scale = fScales[j]; variable
61 junk ^= SkFastFourByteInterp(src, dst, scale);
63 junk ^= SkFastFourByteInterp256(src, dst, scale);
65 junk ^= SkFourByteInterp(src, dst, scale);
67 junk ^= SkFourByteInterp256(src, dst, scale);
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad_depth_test_tmp.h64 const float scale = 65535.0; in NAME() local
67 init_idepth[0] = (ushort)((z0) * scale); in NAME()
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale); in NAME()
69 init_idepth[2] = (ushort)((z0 + dzdy) * scale); in NAME()
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale); in NAME()
72 depth_step = (ushort)(dzdx * scale); in NAME()
/third_party/skia/gm/
H A Dxform.cpp74 canvas->save(); canvas->scale(2, 2);
76 canvas->save(); canvas->scale(2, 2); canvas->translate(10, 10);
78 canvas->save(); canvas->translate(10, 10); canvas->scale(2, 2);
95 float scale = 3 + sinf(TimeUtils::Scaled(1e-9 * nanos, 1, 0)) * 2; variable
96 fRoot->setScale(scale, scale);
H A Dimagefromyuvtextures.cpp238 for (auto scale : {1.f, 4.f, 0.75f}) {
248 canvas->scale(scale, scale);
251 canvas->translate(kPad + SkScalarCeilToScalar(scale*s1.width()), 0);
253 canvas->scale(scale, scale);
256 canvas->translate(kPad + SkScalarCeilToScalar(scale*s2.width()), 0);
260 canvas->translate(0, kPad + SkScalarCeilToScalar(scale*
[all...]
H A Drepeated_bitmap.cpp31 SkScalar scale = std::min(128.0f / image->width(), in draw_rotated_image() local
40 canvas->scale(scale, scale); in draw_rotated_image()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dtopology.c153 u64 core_cnt, const_cnt, scale; in amu_scale_freq_tick() local
169 * scale = ------- * -------------------- in amu_scale_freq_tick()
175 scale = core_cnt - prev_core_cnt; in amu_scale_freq_tick()
176 scale *= this_cpu_read(arch_max_freq_scale); in amu_scale_freq_tick()
177 scale = div64_u64(scale >> SCHED_CAPACITY_SHIFT, in amu_scale_freq_tick()
180 scale = min_t(unsigned long, scale, SCHED_CAPACITY_SCALE); in amu_scale_freq_tick()
181 this_cpu_write(arch_freq_scale, (unsigned long)scale); in amu_scale_freq_tick()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dscmi-hwmon.c33 s8 scale = sensor->scale; in scmi_hwmon_scale() local
40 scale += 3; in scmi_hwmon_scale()
44 scale += 6; in scmi_hwmon_scale()
50 if (scale == 0) in scmi_hwmon_scale()
53 if (abs(scale) > 19) in scmi_hwmon_scale()
56 f = __pow10(abs(scale)); in scmi_hwmon_scale()
57 if (scale > 0) in scmi_hwmon_scale()
/third_party/ffmpeg/libavcodec/
H A Dadxenc.c42 int scale; in adx_encode() local
69 scale = max / 7; in adx_encode()
71 scale = -min / 8; in adx_encode()
73 if (scale == 0) in adx_encode()
74 scale = 1; in adx_encode()
76 AV_WB16(adx, scale); in adx_encode()
85 d = av_clip_intp2(ROUNDED_DIV(d, scale), 3); in adx_encode()
89 s0 = d * scale + ((c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS); in adx_encode()
/third_party/mesa3d/src/mesa/main/
H A Daccum.c163 /* scale */ in accum_scale_or_bias()
231 const GLfloat scale = value * 32767.0f; in accum_or_load() local
245 acc[i * 4 + 0] = (GLshort) (rgba[i][RCOMP] * scale); in accum_or_load()
246 acc[i * 4 + 1] = (GLshort) (rgba[i][GCOMP] * scale); in accum_or_load()
247 acc[i * 4 + 2] = (GLshort) (rgba[i][BCOMP] * scale); in accum_or_load()
248 acc[i * 4 + 3] = (GLshort) (rgba[i][ACOMP] * scale); in accum_or_load()
254 acc[i * 4 + 0] += (GLshort) (rgba[i][RCOMP] * scale); in accum_or_load()
255 acc[i * 4 + 1] += (GLshort) (rgba[i][GCOMP] * scale); in accum_or_load()
256 acc[i * 4 + 2] += (GLshort) (rgba[i][BCOMP] * scale); in accum_or_load()
257 acc[i * 4 + 3] += (GLshort) (rgba[i][ACOMP] * scale); in accum_or_load()
324 const GLfloat scale = value / 32767.0f; accum_return() local
[all...]
/kernel/linux/linux-5.10/drivers/media/common/siano/
H A Dsmsdvb-main.c136 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready()
137 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready()
150 c->post_bit_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
151 c->post_bit_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
152 c->block_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
153 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
251 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
252 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
257 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
258 c->post_bit_count.stat[0].scale in smsdvb_update_per_slices()
[all...]
/kernel/linux/linux-6.6/drivers/media/common/siano/
H A Dsmsdvb-main.c136 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready()
137 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready()
150 c->post_bit_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
151 c->post_bit_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
152 c->block_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
153 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
279 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
280 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
285 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
286 c->post_bit_count.stat[0].scale in smsdvb_update_per_slices()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_vs_variant.c117 const float *scale = viewport->scale; in do_rhw_viewport() local
122 data[0] = data[0] * w * scale[0] + trans[0]; in do_rhw_viewport()
123 data[1] = data[1] * w * scale[1] + trans[1]; in do_rhw_viewport()
124 data[2] = data[2] * w * scale[2] + trans[2]; in do_rhw_viewport()
143 const float *scale = viewport->scale; in do_viewport() local
147 data[0] = data[0] * scale[0] + trans[0]; in do_viewport()
148 data[1] = data[1] * scale[1] + trans[1]; in do_viewport()
149 data[2] = data[2] * scale[ in do_viewport()
[all...]
/third_party/skia/include/core/
H A DSkPoint.h346 /** Sets dst to SkPoint times scale. dst may be SkPoint to modify SkPoint in place.
348 @param scale factor to multiply SkPoint by
353 void scale(SkScalar scale, SkPoint* dst) const;
355 /** Scales SkPoint in place by scale.
359 void scale(SkScalar value) { this->scale(value, this); } in scale() function
394 /** Returns SkPoint multiplied by scale.
396 @param scale scalar to multiply by
397 @return SkPoint as (fX * scale, f
[all...]
H A DSkColor.h284 /** Returns SkRGBA4f multiplied by scale.
286 @param scale value to multiply by
287 @return SkRGBA4f as (fR * scale, fG * scale, fB * scale, fA * scale)
289 SkRGBA4f operator*(float scale) const { in operator *()
290 return { fR * scale, fG * scale, fB * scale, f in operator *()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_ciescope.c753 const float scale = 1.f / (-2.f*xc + 12.f*yc + 3.f); in xy_to_upvp() local
754 *up = 4.f*xc * scale; in xy_to_upvp()
755 *vp = 9.f*yc * scale; in xy_to_upvp()
767 const float scale = 1.f / (-2.f*xc + 12.f*yc + 3.f); in xy_to_uv() local
768 *u = 4.f*xc * scale; in xy_to_uv()
769 *v = 6.f*yc * scale; in xy_to_uv()
851 float scale; in rgb_to_xy() local
857 scale = *x + *y + *z; in rgb_to_xy()
858 if (scale == 0.f) in rgb_to_xy()
859 scale in rgb_to_xy()
1256 const float scale = 1. / 65535.; filter_rgb48() local
1271 const float scale = 1. / 65535.; filter_rgba64() local
1286 const float scale = 1. / 255.; filter_rgb24() local
1301 const float scale = 1. / 255.; filter_rgba() local
[all...]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
H A Dlgdt330x.c290 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init()
292 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init()
294 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init()
608 /* scale the range 0 - 35*2^24 into 0 - 65535 */ in lgdt330x_read_signal_strength()
680 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
681 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
682 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
694 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in lgdt3302_read_status()
697 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
711 p->block_error.stat[0].scale in lgdt3302_read_status()
[all...]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Dlgdt330x.c290 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init()
292 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init()
294 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init()
608 /* scale the range 0 - 35*2^24 into 0 - 65535 */ in lgdt330x_read_signal_strength()
680 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
681 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
682 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
694 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in lgdt3302_read_status()
697 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
711 p->block_error.stat[0].scale in lgdt3302_read_status()
[all...]
/third_party/FreeBSD/contrib/gdtoa/
H A Dstrtod.c66 (x, scale) U *x; int scale; in sulp()
68 (U *x, int scale)
76 if (!scale || (i = 2*P + 1 - ((word0(x) & Exp_mask) >> Exp_shift)) <= 0)
93 int scale; local
440 scale = 0;
529 scale = 2*P;
533 if (scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
605 j = bbe - scale;
635 bd2 += scale;
[all...]
/third_party/musl/src/complex/
H A Dcsqrt.c47 int scale; in csqrt() local
82 scale = 1; in csqrt()
84 scale = 0; in csqrt()
97 if (scale) in csqrt()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_viewport.c58 float *scale = st->state.viewport[i].scale; in st_update_viewport() local
61 _mesa_get_viewport_xform(ctx, i, scale, translate); in st_update_viewport()
66 scale[1] *= -1; in st_update_viewport()
/kernel/linux/linux-6.6/drivers/gpu/drm/sprd/
H A Dmegacores_pll.c219 const u32 scale = 100; in dphy_timing_config() local
226 t_ui = 1000 * scale / (pll->freq / 1000); in dphy_timing_config()
236 range[L] = 50 * scale; in dphy_timing_config()
243 range[L] = 38 * scale; in dphy_timing_config()
244 range[H] = 95 * scale; in dphy_timing_config()
247 range[L] = 40 * scale + 4 * t_ui; in dphy_timing_config()
248 range[H] = 85 * scale + 6 * t_ui; in dphy_timing_config()
254 range[L] = 300 * scale; in dphy_timing_config()
258 range[L] = 145 * scale + 10 * t_ui; in dphy_timing_config()
265 range[L] = 60 * scale; in dphy_timing_config()
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/camera/router/
H A Dindex.js31 scale:0.2,
331 var scale = event.scale
334 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
342 var scale = event.scale
345 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
353 var scale
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/dialog/router1/
H A Dindex.js31 scale:0.2,
296 var scale = event.scale
299 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
307 var scale = event.scale
310 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
318 var scale
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/dialog/router2/
H A Dindex.js31 scale:0.2,
293 var scale = event.scale
296 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
304 var scale = event.scale
307 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
315 var scale
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/dialog/router/
H A Dindex.js31 scale:0.2,
293 var scale = event.scale
296 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
304 var scale = event.scale
307 var message = 'scale--' + scale + ',pinchCenterX--' + pinchCenterX +
315 var scale
[all...]

Completed in 15 milliseconds

12345678910>>...92