/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | stat-shadow.c | 217 count *= counter->scale; in perf_stat__update_shadow_stats() 792 double scale; in prepare_metric() local 804 scale = 1e-9; in prepare_metric() 811 scale = 1.0; in prepare_metric() 832 expr__add_id_val(pctx, n, avg_stats(stats)*scale); in prepare_metric() 858 double ratio, scale; in generic_metric() local 873 &unit, &scale) >= 0) { in generic_metric() 874 ratio *= scale; in generic_metric() 1086 avg / (ratio * evsel->scale)); in perf_stat__print_shadow_stats()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_afwtdn.c | 951 const double scale = sqrt(2.0 * log(length)); in filter_channel() local 954 measure_mean(cp->output_coefs[level], length)) * scale; in filter_channel() 955 absmean[level] = measure_absmean(cp->output_coefs[level], length) * scale; in filter_channel() 960 const double scale = sqrt(2.0 * log(length)); in filter_channel() local 962 stddev[level] = 0.5 * s->sigma * scale; in filter_channel() 963 absmean[level] = 0.5 * s->sigma * scale; in filter_channel() 987 const double scale = sqrt(2.0 * log(length)); in filter_channel() local 990 stddev[level] = new_stddev[level] * scale; in filter_channel() 991 absmean[level] = new_absmean[level] * scale; in filter_channel()
|
H A D | avf_avectorscope.c | 65 int scale; member 102 { "scale", "set amplitude scale mode", OFFSET(scale), AV_OPT_TYPE_INT, {.i64=LIN}, 0, SCALE_NB-1, TFLAGS, "scale" }, 103 { "lin", "linear", 0, AV_OPT_TYPE_CONST, {.i64=LIN}, 0, 0, TFLAGS, "scale" }, 104 { "sqrt", "square root", 0, AV_OPT_TYPE_CONST, {.i64=SQRT}, 0, 0, TFLAGS, "scale" }, 105 { "cbrt", "cube root", 0, AV_OPT_TYPE_CONST, {.i64=CBRT}, 0, 0, TFLAGS, "scale" }, 106 { "log", "logarithmic", 0, AV_OPT_TYPE_CONST, {.i64=LOG}, 0, 0, TFLAGS, "scale" }, 308 switch (s->scale) { in filter_frame() [all...] |
/third_party/python/Lib/tkinter/ |
H A D | ttk.py | 1049 Widget.__init__(self, master, "ttk::scale", kw) 1053 """Modify or query scale options. 1069 x and y are pixel coordinates relative to the scale widget 1482 The Ttk Scale can be accessed through instance.scale, and Ttk Label 1493 Specifies how to display the label relative to the scale. 1504 self.scale = Scale(self, variable=self._variable, from_=from_, to=to) 1505 self.scale.bind('<<RangeChanged>>', self._adjust) 1507 # position scale and label according to the compound option 1510 self.scale.pack(side=scale_side, fill='x') 1517 # update the label as scale o [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | render_xcomponent.cpp | 528 float scale = pipelineContext->GetViewScale(); in NativeXComponentOffset() local 530 [weakNXCompImpl = nativeXComponentImpl_, x, y, scale] { in NativeXComponentOffset() 533 nXCompImpl->SetXComponentOffsetX(x * scale); in NativeXComponentOffset() 534 nXCompImpl->SetXComponentOffsetY(y * scale); in NativeXComponentOffset()
|
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/ |
H A D | render_collapsing_navigation_bar.cpp | 68 double scale = fontSize / bar->lastTitleScale_; in Update() 69 transformComponent->Scale(scale, scale); in Update() 70 bar->lastTitleScale_ = scale * bar->lastTitleScale_; in Update()
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | touch_event.h | 127 TouchEvent CloneWith(float scale) const; 128 TouchEvent CloneWith(float scale, float offsetX, float offsetY, std::optional<int32_t> pointId) const; 134 TouchEvent CreateScalePoint(float scale) const; 135 TouchEvent UpdateScalePoint(float scale, float offsetX, float offsetY, int32_t pointId) const;
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | wm8350-core.c | 188 int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale, int vref) in wm8350_read_auxadc() argument 195 && (scale != 0 || vref != 0)) in wm8350_read_auxadc() 204 if (scale || vref) { in wm8350_read_auxadc() 205 reg = scale << 13; in wm8350_read_auxadc()
|
/kernel/linux/linux-5.10/drivers/iio/accel/ |
H A D | kxsd9.c | 70 * @scale: the current scaling setting 77 u8 scale; member 117 /* Cached scale when the sensor is powered down */ in kxsd9_write_scale() 118 st->scale = i; in kxsd9_write_scale() 350 st->scale); in kxsd9_power_up() 438 st->scale = KXSD9_CTRL_C_FS_2G; in kxsd9_common_probe()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | wm8350-core.c | 188 int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale, int vref) in wm8350_read_auxadc() argument 195 && (scale != 0 || vref != 0)) in wm8350_read_auxadc() 204 if (scale || vref) { in wm8350_read_auxadc() 205 reg = scale << 13; in wm8350_read_auxadc()
|
/kernel/linux/linux-6.6/drivers/iio/accel/ |
H A D | kxsd9.c | 70 * @scale: the current scaling setting 77 u8 scale; member 117 /* Cached scale when the sensor is powered down */ in kxsd9_write_scale() 118 st->scale = i; in kxsd9_write_scale() 350 st->scale); in kxsd9_power_up() 438 st->scale = KXSD9_CTRL_C_FS_2G; in kxsd9_common_probe()
|
/third_party/ffmpeg/libavcodec/ |
H A D | asvenc.c | 313 const int scale = avctx->codec_id == AV_CODEC_ID_ASV1 ? 1 : 2; in encode_init() local 322 a->inv_qscale = (32 * scale * FF_QUALITY_SCALE + in encode_init() 334 int q = 32LL * scale * ff_mpeg1_default_intra_matrix[i] * ff_aanscales[i]; in encode_init() 337 int q = 32 * scale * ff_mpeg1_default_intra_matrix[i]; in encode_init()
|
/third_party/ffmpeg/tests/fate/ |
H A D | hevc.mak | 199 $(HEVC_TESTS_10BIT): SCALE_OPTS := -pix_fmt yuv420p10le -vf scale 200 $(HEVC_TESTS_422_10BIT) $(HEVC_TESTS_422_10BIN): SCALE_OPTS := -pix_fmt yuv422p10le -vf scale 201 $(HEVC_TESTS_444_12BIT): SCALE_OPTS := -pix_fmt yuv444p12le -vf scale 254 fate-hevc-small422chroma: CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/hevc/food.hevc -pix_fmt yuv422p10le -vf scale
|
H A D | vpx.mak | 2 fate-truemotion1-15: CMD = framecrc -i $(TARGET_SAMPLES)/duck/phant2-940.duk -pix_fmt rgb24 -an -vf scale 5 fate-truemotion1-24: CMD = framecrc -i $(TARGET_SAMPLES)/duck/sonic3dblast_intro-partial.avi -pix_fmt rgb24 -an -vf scale 118 $(foreach BD,$(VP9_HIGH_BITDEPTH),$(eval $(call FATE_VP9_PROFILE_SUITE,20-$(BD)bit-yuv420,2,-pix_fmt yuv420p$(BD)le -vf scale, SCALE_FILTER))) 119 $(foreach BD,$(VP9_HIGH_BITDEPTH),$(eval $(foreach SS,$(VP9_CHROMA_SUBSAMPLE),$(eval $(call FATE_VP9_PROFILE_SUITE,20-$(BD)bit-yuv$(SS),3,-pix_fmt yuv$(SS)p$(BD)le -vf scale, SCALE_FILTER)))))
|
/third_party/ffmpeg/tests/checkasm/ |
H A D | h264dsp.c | 88 static const int scale[] = { 13107 * 10, 8066 * 13, 5243 * 16 }; \ 90 coef[y*4 + x] = (coef[y*4 + x] * scale[idx] + (1 << 14)) >> 15; \ 135 static const int scale[] = { \ 147 scale[idx] + (1 << 17)) >> 18; \
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
H A D | NumberPropertyMapper.java | 178 if (minFrac > roundingIncrement.scale()) { in oldToNew() 310 macros.scale = RoundingUtils.scaleFromProperties(properties); in oldToNew() 340 minFrac_ = increment_.scale(); in oldToNew() 341 maxFrac_ = increment_.scale(); in oldToNew()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_state.c | 216 viewport->translate[0] - fabsf(viewport->scale[0]); in lima_set_viewport_states() 218 viewport->translate[0] + fabsf(viewport->scale[0]); in lima_set_viewport_states() 220 viewport->translate[1] - fabsf(viewport->scale[1]); in lima_set_viewport_states() 222 viewport->translate[1] + fabsf(viewport->scale[1]); in lima_set_viewport_states()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | Layout.cpp | 53 void Layout::operator*=(size_t scale) in operator *=() argument 55 sizeOf *= scale; in operator *=() 65 Layout Layout::operator*(size_t scale) const in operator *() 68 self *= scale; in operator *()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrTriangulator.h | 346 double scale = 1.0f / len; in normalize() local 347 fA *= scale; in normalize() 348 fB *= scale; in normalize() 349 fC *= scale; in normalize()
|
/third_party/skia/third_party/externals/libwebp/extras/ |
H A D | get_disto.c | 224 " -scale .... scale the difference map to fit [0..255] range\n" in Help() 225 " -gray ..... use grayscale for difference map (-scale)\n" in Help() 238 int scale = 0; in main() local 258 } else if (!strcmp(argv[c], "-scale")) { in main() 259 scale = 1; in main() 317 4, pic1.width, pic1.height, scale) : in main() 320 4, pic1.width, pic1.height, scale); in main()
|
/third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/ |
H A D | CubeActivity.java | 49 Matrix asMatrix(float scale) { in asMatrix() argument 50 return new Matrix().rotateY(rotY).rotateX(rotX).translate(0, 0, scale); in asMatrix() 205 .scale(vsz/2, vsz/2, 1) in onSurfaceInitialized() 226 canvas.scale(mZoom, mZoom); in onRenderFrame()
|
/foundation/ai/ai_engine/services/common/platform/os_wrapper/feature/interfaces/ |
H A D | norm_processor.h | 67 float scale = 1.0f;
member
|
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_universal_painter.h | 46 static double NormalizeToPx(const Dimension& dimension, double scale);
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_transition.h | 41 ArkUI_ScaleOptions* scale; member
|
/foundation/graphic/graphic_3d/3d_widget_adapter/include/ |
H A D | texture_info.h | 39 float scale = 1.0f; member
|