Home
last modified time | relevance | path

Searched refs:scale (Results 526 - 550 of 2473) sorted by relevance

1...<<21222324252627282930>>...99

/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_offset.c45 float scale; member
95 mult = MAX2(dzdx, dzdy) * offset->scale; in do_offset_tri()
179 offset->scale = rast->offset_scale; in offset_first_tri()
194 offset->scale = 0.0f; in offset_first_tri()
/third_party/skia/src/gpu/geometry/
H A DGrStyledShape.h143 GrStyledShape applyStyle(GrStyle::Apply apply, SkScalar scale) const { in applyStyle()
144 return GrStyledShape(*this, apply, scale); in applyStyle()
286 GrStyledShape(const GrStyledShape& parentShape, GrStyle::Apply, SkScalar scale);
292 void setInheritedKey(const GrStyledShape& parentShape, GrStyle::Apply, SkScalar scale);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DMatrixStack.cpp98 void MatrixStack::scale(float x, float y, float z) in scale() function in sw::MatrixStack
100 stack[top] *= Matrix::scale(x, y, z); in scale()
103 void MatrixStack::scale(double x, double y, double z) in scale() function in sw::MatrixStack
105 scale((float)x, (float)y, (float)z); in scale()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_utils.cpp192 DecNum::setTo(const uint8_t* bcd, int32_t length, int32_t scale, bool isNegative, UErrorCode& status) { in setTo() argument
211 if (scale > 999999999 - length + 1 || scale < -999999999 - length + 1) { in setTo()
218 fData.getAlias()->exponent = scale; in setTo()
/third_party/skia/modules/skottie/src/
H A DTransform.cpp180 scale = static_cast<SkV3>(fScale), in totalMatrix() local
187 * SkM44::Scale(scale.x / 100, scale.y / 100, scale.z / 100) in totalMatrix()
/third_party/skia/gm/
H A Dskbug_257.cpp88 const SkScalar scale = 1.00168f; in DEF_SIMPLE_GM() local
89 canvas->scale(scale, scale); in DEF_SIMPLE_GM()
H A Dimagescalealigned.cpp52 SkVector scale; member
68 canvas->scale(cfgs[i].scale.x(), cfgs[i].scale.y());
H A Drectangletexture.cpp166 for (auto scale : kScales) {
168 canvas->scale(scale, scale);
196 canvas->translate(0, kPad + 1.5f*h*scale);
H A Ddftext.cpp72 // apply global scale to test glyph positioning
73 canvas->scale(1.05f, 1.05f);
91 canvas->scale(scales[i], scales[i]);
121 canvas->scale(scaleFactor, scaleFactor);
131 canvas->scale(2.0f, 2.0f);
220 canvas->scale(375, 375);
/third_party/skia/bench/
H A DSKPBench.cpp22 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale, in SKPBench() argument
26 , fScale(scale) in SKPBench()
29 fUniqueName.printf("%s_%.2g", name, scale); // Scale makes this unqiue for perf.skia.org traces. in SKPBench()
80 fSurfaces.back()->getCanvas()->scale(fScale, fScale); in onPerCanvasPreDraw()
/third_party/ffmpeg/libavfilter/
H A Dvf_curves.c162 const int scale = lut_size - 1; in parse_points_str() local
179 if ((int)(last->x * scale) >= (int)(point->x * scale)) { in parse_points_str()
226 const int scale = lut_size - 1; in interpolate() local
240 y[i] = CLIP(point->y * scale); in interpolate()
297 for (i = 0; i < (int)(point->x * scale); i++) in interpolate()
298 y[i] = CLIP(point->y * scale); in interpolate()
313 const int x_start = point->x * scale; in interpolate()
314 const int x_end = point->next->x * scale; in interpolate()
320 const double xx = (x - x_start) * 1./scale; in interpolate()
417 const double scale = 1. / (lut_size - 1); dump_curves() local
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dusb4.c2022 static unsigned int usb3_bw_to_mbps(u32 bw, u8 scale) in usb3_bw_to_mbps() argument
2026 uframes = bw * 512UL << scale; in usb3_bw_to_mbps()
2030 static u32 mbps_to_usb3_bw(unsigned int mbps, u8 scale) in mbps_to_usb3_bw() argument
2036 return DIV_ROUND_UP(uframes, 512UL << scale); in mbps_to_usb3_bw()
2043 u32 val, bw, scale; in usb4_usb3_port_read_allocated_bandwidth() local
2051 ret = tb_port_read(port, &scale, TB_CFG_PORT, in usb4_usb3_port_read_allocated_bandwidth()
2056 scale &= ADP_USB3_CS_3_SCALE_MASK; in usb4_usb3_port_read_allocated_bandwidth()
2059 *upstream_bw = usb3_bw_to_mbps(bw, scale); in usb4_usb3_port_read_allocated_bandwidth()
2062 *downstream_bw = usb3_bw_to_mbps(bw, scale); in usb4_usb3_port_read_allocated_bandwidth()
2097 u32 val, bw, scale; in usb4_usb3_port_read_consumed_bandwidth() local
2125 u32 val, ubw, dbw, scale; usb4_usb3_port_write_allocated_bandwidth() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dpmu.c65 /** @scale: Value to scale read counter values by. */
66 double scale; member
86 /** @info_loaded: Have the scale, unit and other values been read from disk? */
249 int perf_pmu__convert_scale(const char *scale, char **end, double *sval) in perf_pmu__convert_scale() argument
272 * scale string is converted correctly. in perf_pmu__convert_scale()
277 *sval = strtod(scale, end); in perf_pmu__convert_scale()
291 char scale[128]; in perf_pmu__parse_scale() local
298 scnprintf(path + len, sizeof(path) - len, "%s/events/%s.scale", pmu->name, alias->name); in perf_pmu__parse_scale()
307 sret = read(fd, scale, sizeo in perf_pmu__parse_scale()
[all...]
/third_party/alsa-lib/src/topology/
H A Dctl.c329 struct snd_soc_tplg_tlv_dbscale *scale; in tplg_parse_tlv_dbscale() local
333 tplg_dbg(" scale: %s", elem->id); in tplg_parse_tlv_dbscale()
337 scale = &tplg_tlv->scale; in tplg_parse_tlv_dbscale()
355 scale->min = val; in tplg_parse_tlv_dbscale()
357 scale->step = val; in tplg_parse_tlv_dbscale()
359 scale->mute = val; in tplg_parse_tlv_dbscale()
387 if (strcmp(id, "scale") == 0) { in tplg_parse_tlv()
406 struct snd_soc_tplg_tlv_dbscale *scale; in tplg_save_tlv() local
414 scale in tplg_save_tlv()
936 struct snd_soc_tplg_tlv_dbscale *scale; init_ctl_hdr() local
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dsi_cmd_buffer.c669 radv_get_viewport_xform(const VkViewport *viewport, float scale[3], float translate[3]) in radv_get_viewport_xform() argument
678 scale[0] = half_width; in radv_get_viewport_xform()
680 scale[1] = half_height; in radv_get_viewport_xform()
683 scale[2] = (f - n); in radv_get_viewport_xform()
690 float scale[3], translate[3]; in si_scissor_from_viewport() local
693 radv_get_viewport_xform(viewport, scale, translate); in si_scissor_from_viewport()
695 rect.offset.x = translate[0] - fabsf(scale[0]); in si_scissor_from_viewport()
696 rect.offset.y = translate[1] - fabsf(scale[1]); in si_scissor_from_viewport()
697 rect.extent.width = ceilf(translate[0] + fabsf(scale[0])) - rect.offset.x; in si_scissor_from_viewport()
698 rect.extent.height = ceilf(translate[1] + fabsf(scale[ in si_scissor_from_viewport()
721 float scale[3], translate[3], guardband_x = INFINITY, guardband_y = INFINITY; si_write_scissors() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dvecemu.c157 static int ctsxs(unsigned int x, int scale, unsigned int *vscrp) in ctsxs() argument
165 exp = exp - 127 + scale; in ctsxs()
170 if (x + (scale << 23) != 0xcf000000) in ctsxs()
179 static unsigned int ctuxs(unsigned int x, int scale, unsigned int *vscrp) in ctuxs() argument
188 exp = exp - 127 + scale; in ctuxs()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dvecemu.c157 static int ctsxs(unsigned int x, int scale, unsigned int *vscrp) in ctsxs() argument
165 exp = exp - 127 + scale; in ctsxs()
170 if (x + (scale << 23) != 0xcf000000) in ctsxs()
179 static unsigned int ctuxs(unsigned int x, int scale, unsigned int *vscrp) in ctuxs() argument
188 exp = exp - 127 + scale; in ctuxs()
/third_party/ffmpeg/libavcodec/
H A Dmpegutils.c109 const int scale = 1 << shift; in ff_print_debug_info2() local
135 mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2()
148 mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2()
161 mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2()
169 mbcount += add_mb(mvs + mbcount, mb_type, sx, sy, mx, my, scale, direction); in ff_print_debug_info2()
/third_party/mesa3d/src/compiler/glsl/
H A Dlinker_util.cpp365 * \param scale Current offset scale.
370 unsigned count, unsigned scale, in _mark_array_elements_referenced()
376 * linearized offset and the scale factor for each array-of-. in _mark_array_elements_referenced()
380 linearized_index += dr[i].index * scale; in _mark_array_elements_referenced()
381 scale *= dr[i].size; in _mark_array_elements_referenced()
394 scale * dr[i].size, in _mark_array_elements_referenced()
395 linearized_index + (j * scale), in _mark_array_elements_referenced()
369 _mark_array_elements_referenced(const struct array_deref_range *dr, unsigned count, unsigned scale, unsigned linearized_index, BITSET_WORD *bits) _mark_array_elements_referenced() argument
/third_party/skia/src/core/
H A DSkDrawShadowInfo.cpp44 SkScalar scale; in GetSpotShadowTransform() local
49 &scale, &translate); in GetSpotShadowTransform()
53 &scale, &translate, isLimitElevation); in GetSpotShadowTransform()
55 shadowTransform->setScaleTranslate(scale, scale, translate.fX, translate.fY); in GetSpotShadowTransform()
H A DSkLatticeIter.cpp83 float scale; in set_points() local
85 // This is the "normal" case, where we scale the "scalable" patches and leave in set_points()
87 scale = (dstLen - ((float) srcFixed)) / ((float) srcScalable); in set_points()
89 // In this case, we eliminate the "scalable" patches and scale the "fixed" patches. in set_points()
90 scale = dstLen / ((float) srcFixed); in set_points()
100 dstDelta = isScalable ? scale * srcDelta : srcDelta; in set_points()
102 dstDelta = isScalable ? 0.0f : scale * srcDelta; in set_points()
/third_party/skia/tests/
H A DMipMapTest.cpp38 SkScalar scale = SK_Scalar1; in DEF_TEST() local
40 scale = scale * 2 / 3; in DEF_TEST()
43 if (mm->extractLevel(SkSize::Make(scale, scale), &level)) { in DEF_TEST()
/third_party/skia/modules/particles/src/
H A DSkParticleDrawable.cpp33 float posX, float posY, float dirX, float dirY, float scale) { in make_rsxform()
34 const float s = dirX * scale; in make_rsxform()
35 const float c = -dirY * scale; in make_rsxform()
61 float* scale = particles.fData[SkParticles::kScale].get(); in DrawAtlasArrays() local
64 fXforms[i] = make_rsxform(center, pos[0][i], pos[1][i], dir[0][i], dir[1][i], scale[i]); in DrawAtlasArrays()
32 make_rsxform(SkPoint ofs, float posX, float posY, float dirX, float dirY, float scale) make_rsxform() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dgradient_style_modifier.cpp225 ColorAnimatableArithmetic ColorAnimatableArithmetic::Multiply(const float scale) const in Multiply()
231 Color color = Color::FromARGB(colors_[index].GetAlpha() * scale, colors_[index].GetRed() * scale, in Multiply()
232 colors_[index].GetGreen() * scale, colors_[index].GetBlue() * scale); in Multiply()
308 ColorStopAnimatableArithmetic ColorStopAnimatableArithmetic::Multiply(const float scale) const in Multiply()
314 auto colorStop = colorStops_[index].Value() * scale; in Multiply()
/kernel/linux/linux-5.10/arch/m68k/math-emu/
H A Dfp_arith.c656 int scale, oldround; in fp_fscale() local
683 scale = fp_conv_ext2long(src); in fp_fscale()
687 scale += dest->exp; in fp_fscale()
689 if (scale >= 0x7fff) { in fp_fscale()
691 } else if (scale <= 0) { in fp_fscale()
693 fp_denormalize(dest, -scale); in fp_fscale()
695 dest->exp = scale; in fp_fscale()

Completed in 20 milliseconds

1...<<21222324252627282930>>...99