/third_party/skia/gm/ |
H A D | resizeimagefilter.cpp | 49 canvas->scale(deviceScaleX, deviceScaleY); in draw()
|
H A D | imagefiltersstroked.cpp | 90 canvas->scale(SkScalarInvert(RESIZE_FACTOR_X),
|
H A D | shadertext3.cpp | 98 canvas->scale(2.f, 2.f);
|
/third_party/skia/modules/particles/include/ |
H A D | SkParticleEffect.h | 62 // float scale = 1; // Size, normalized relative to the drawable's native size 78 // float scale; 133 void start(double now, bool looping, SkPoint position, SkVector heading, float scale, 141 1.0f, // scale in start()
|
/third_party/skia/bench/ |
H A D | TileBench.cpp | 87 canvas->scale(SK_ScalarHalf, SK_ScalarHalf);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/modifier/ |
H A D | rs_render_property.cpp | 296 std::shared_ptr<RSRenderPropertyBase> operator*=(const std::shared_ptr<RSRenderPropertyBase>& value, const float scale) in operator *=() argument 302 return value->Multiply(scale); in operator *=() 326 const std::shared_ptr<const RSRenderPropertyBase>& value, const float scale) in operator *() 332 return value->Clone()->Multiply(scale); in operator *() 325 operator *( const std::shared_ptr<const RSRenderPropertyBase>& value, const float scale) operator *() argument
|
/foundation/window/window_manager/utils/include/ |
H A D | window_helper.h | 401 auto scale = worldMat.GetScale(); in GetTransformFromWorldMat4() local 403 transform.scaleX_ = scale.x_; in GetTransformFromWorldMat4() 404 transform.scaleY_ = scale.y_; in GetTransformFromWorldMat4() 405 transform.scaleZ_ = scale.z_; in GetTransformFromWorldMat4() 414 // set scale in ComputeWorldTransformMat4()
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | si2157.c | 267 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2157_init() 749 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in si2157_get_rf_strength() 804 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in si2157_stat_work() 810 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2157_stat_work()
|
H A D | tda18250.c | 435 unsigned int uval, exp, lopd, scale; in tda18250_pll_calc() local 446 scale = uval & 0x0f; in tda18250_pll_calc() 447 fvco = lopd * scale * ((c->frequency / 1000) + dev->if_frequency); in tda18250_pll_calc() 486 "lopd=%d scale=%u fvco=%lu, rdiv=%d ndiv=%d icp=%d", in tda18250_pll_calc() 487 lopd, scale, fvco, *rdiv, *ndiv, *icp); in tda18250_pll_calc()
|
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | si2157.c | 315 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2157_init() 813 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in si2157_get_rf_strength() 868 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in si2157_stat_work() 874 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in si2157_stat_work()
|
H A D | tda18250.c | 435 unsigned int uval, exp, lopd, scale; in tda18250_pll_calc() local 446 scale = uval & 0x0f; in tda18250_pll_calc() 447 fvco = lopd * scale * ((c->frequency / 1000) + dev->if_frequency); in tda18250_pll_calc() 486 "lopd=%d scale=%u fvco=%lu, rdiv=%d ndiv=%d icp=%d", in tda18250_pll_calc() 487 lopd, scale, fvco, *rdiv, *ndiv, *icp); in tda18250_pll_calc()
|
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-pipe.c | 245 struct v4l2_area in_size, scale; in mxc_isi_pipe_enable() local 278 scale.width = compose->width; in mxc_isi_pipe_enable() 279 scale.height = compose->height; in mxc_isi_pipe_enable() 284 mxc_isi_channel_config(pipe, input, &in_size, &scale, &crop, in mxc_isi_pipe_enable()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 329 unsigned int bpp, bppshift, scale; in mgag200_set_format_regs() local 337 scale = ((1 << bppshift) * 3) - 1; in mgag200_set_format_regs() 340 scale = (1 << bppshift) - 1; in mgag200_set_format_regs() 369 crtcext3 |= scale; in mgag200_set_format_regs()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | ltc2992.c | 408 static int ltc2992_get_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long *val) in ltc2992_get_voltage() argument 417 *val = DIV_ROUND_CLOSEST(reg_val * scale, 1000); in ltc2992_get_voltage() 422 static int ltc2992_set_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long val) in ltc2992_set_voltage() argument 424 val = DIV_ROUND_CLOSEST(val * 1000, scale); in ltc2992_set_voltage()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_reg.h | 1017 unsigned scale = type_sz(reg.type) / type_sz(type); 1018 assert(scale >= 1 && i < scale); 1029 return suboffset(retype(spread(reg, scale), type), i);
|
/third_party/libinput/tools/ |
H A D | libinput-record-verify-yaml.py | 427 keys = ["type", "time", "nfingers", "delta", "unaccel", "angle_delta", "scale"] 449 scale = e["scale"] 450 self.assertTrue(isinstance(scale, list)) 451 self.assertEqual(len(scale), 2) 452 for d in scale:
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-temporal.cc | 471 #define TEMPORAL_GET_NUMBER_AFTER_DIVID(T, M, field, scale, name) \ 480 BigInt::FromUint64(isolate, scale))); \ 486 #define TEMPORAL_GET_BIGINT_AFTER_DIVID(T, M, field, scale, name) \ 495 BigInt::FromUint64(isolate, scale))); \
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_state.c | 344 minx = -viewport->scale[0] + viewport->translate[0]; 345 miny = -viewport->scale[1] + viewport->translate[1]; 346 maxx = viewport->scale[0] + viewport->translate[0]; 347 maxy = viewport->scale[1] + viewport->translate[1];
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_query.c | 406 /* TODO: This discards any fractional bits of the timebase scale. in calculate_result_on_gpu() 410 uint32_t scale = 1000000000ull / devinfo->timestamp_frequency; in calculate_result_on_gpu() local 412 mi_imul_imm(b, start_val, scale)); in calculate_result_on_gpu() 417 uint32_t scale = 1000000000ull / devinfo->timestamp_frequency; in calculate_result_on_gpu() local 418 result = mi_imul_imm(b, mi_isub(b, end_val, start_val), scale); in calculate_result_on_gpu()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_mpeg12_bitstream.c | 704 decode_dct(struct vl_mpg12_bs *bs, struct pipe_mpeg12_macroblock *mb, int scale) in decode_dct() argument 778 dst[i] *= scale; in decode_dct() 784 dst[i] = vl_vlc_get_simsbf(&bs->vlc, 12) * scale; in decode_dct() 791 dst[i] = entry->level * scale; in decode_dct()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_query.c | 436 /* TODO: This discards any fractional bits of the timebase scale. in calculate_result_on_gpu() 440 uint32_t scale = 1000000000ull / devinfo->timestamp_frequency; in calculate_result_on_gpu() local 442 mi_imul_imm(b, start_val, scale)); in calculate_result_on_gpu() 447 uint32_t scale = 1000000000ull / devinfo->timestamp_frequency; in calculate_result_on_gpu() local 448 result = mi_imul_imm(b, mi_isub(b, end_val, start_val), scale); in calculate_result_on_gpu()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingDirectionTests.cpp | 155 // Get matrix to scale a point with the given scale factor. 719 const auto scale = scalingFactors[scalingIdx]; in createDirectionLengthTests() local 736 scale, // float directionScale; in createDirectionLengthTests() 811 const auto scale = scalingFactors[scalingIdx]; in createInsideAABBsTests() local 827 scale, // float directionScale; in createInsideAABBsTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrFilteringTests.cpp | 413 const tcu::Vec4 scale (1.0f); in iterate() 431 log << TestLog::Image("MinBoundImage", "MinBoundImage", minImage, scale, bias); in iterate() 432 log << TestLog::Image("MaxBoundImage", "MaxBoundImage", maxImage, scale, bias); in iterate() 433 log << TestLog::Image("ResImage", "ResImage", resImage, scale, bias); in iterate()
|
/third_party/skia/src/gpu/ |
H A D | GrFragmentProcessor.cpp | 793 uniform float2 scale; // only for medPrecision 800 // scale uniform will be scale, 1/scale. The inverse squared radii uniform values are 803 d *= scale.y; 818 approx_dist *= scale.x; 837 SkV2 scale = {1, 1}; 838 // If we're using a scale factor to work around precision issues, choose the larger radius as 839 // the scale factor. The inv radii need to be pre-adjusted by the scale facto [all...] |
/third_party/skia/tools/perf-canvaskit-puppeteer/ |
H A D | canvas_perf.js | 522 ctx.second = new DOMMatrix().translate(3, 4).scale(1, 2).translate(-3, -4); 538 .multiply(new DOMMatrix().translate(3, 4).scale(1, 2).translate(-3, -4)); 559 .multiply(new DOMMatrix().translate(3, 4).scale(1, 2).translate(-3, -4)); 575 .multiply(new DOMMatrix().translate(3, 4).scale(1, 2).translate(-3, -4));
|