/third_party/skia/gm/ |
H A D | fontcache.cpp | 100 canvas->scale(10, 10); in drawText()
|
H A D | strokerect.cpp | 137 canvas->scale(10, 1); in DEF_SIMPLE_GM()
|
H A D | rsxtext.cpp | 60 canvas->scale(kScale, kScale);
|
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);
|
/third_party/astc-encoder/Source/ |
H A D | stb_image.h | 282 // to LDR, assuming gamma 2.2 and an arbitrary scale factor defaulting to 1; 467 STBIDEF void stbi_hdr_to_ldr_scale(float scale); 472 STBIDEF void stbi_ldr_to_hdr_scale(float scale); 1574 STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } in stbi_ldr_to_hdr_scale() argument 1580 STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } in stbi_hdr_to_ldr_scale() argument 2502 // loop, plus horizontal and vertical each scale by sqrt(8) so together in stbi__idct_block() 4783 stbi_uc scale = (color == 0) ? stbi__depth_scale_table[depth] : 1; // scale grayscal in stbi__create_png_image_raw() local [all...] |
/third_party/skia/src/opts/ |
H A D | SkRasterPipeline_opts.h | 134 SI U32 round (F v, F scale) { return (uint32_t)(v*scale + 0.5f); } in round() argument 217 SI U32 round(F v, F scale) { return vcvtnq_u32_f32(v*scale); } 232 SI U32 round(F v, F scale) { 233 return vcvtq_u32_f32(mad(v,scale,0.5f)); 380 SI U32 round (F v, F scale) { return _mm256_cvtps_epi32(v*scale); } 711 SI U32 round(F v, F scale) { return _mm_cvtps_epi32(v*scale); } [all...] |
/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()
|