/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/libavfilter/ |
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/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()
|
/third_party/mesa3d/src/imgui/ |
H A D | imgui_draw.cpp | 1290 // Helper to scale the ClipRect field of each ImDrawCmd. 1291 // Use if your final output buffer is at a different scale than draw_data->DisplaySize, 1333 const ImVec2 scale = ImVec2( in ShadeVertsLinearUV() local 1344 vertex->uv = ImClamp(uv_a + ImMul(ImVec2(vertex->pos.x, vertex->pos.y) - a, scale), min, max); in ShadeVertsLinearUV() 1349 vertex->uv = uv_a + ImMul(ImVec2(vertex->pos.x, vertex->pos.y) - a, scale); in ShadeVertsLinearUV() 1914 const float scale = (cfg.SizePixels > 0) ? stbtt_ScaleForPixelHeight(&src_tmp.FontInfo, cfg.SizePixels) : stbtt_ScaleForMappingEmToPixels(&src_tmp.FontInfo, -cfg.SizePixels); in ImFontAtlasBuildWithStbTruetype() local 1921 stbtt_GetGlyphBitmapBoxSubpixel(&src_tmp.FontInfo, glyph_index_in_font, scale * cfg.OversampleH, scale * cfg.OversampleV, 0, 0, &x0, &y0, &x1, &y1); in ImFontAtlasBuildWithStbTruetype() 2542 const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const in CalcWordWrapPositionA() argument 2562 wrap_width /= scale; // W in CalcWordWrapPositionA() 2647 const float scale = size / FontSize; CalcTextSizeA() local 2741 float scale = (size >= 0.0f) ? (size / FontSize) : 1.0f; RenderChar() local 2762 const float scale = size / FontSize; RenderText() local 2948 RenderMouseCursor(ImDrawList* draw_list, ImVec2 pos, float scale, ImGuiMouseCursor mouse_cursor) RenderMouseCursor() argument [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/web/ |
H A D | web_pattern_test_ng.cpp | 1663 double scale = 1.0; in HWTEST_F() local 1665 auto ret = webPattern->CheckZoomStatus(scale); in HWTEST_F() 1691 double scale = -2.0; in HWTEST_F() local 1694 auto ret = webPattern->CheckZoomStatus(scale); in HWTEST_F() 1720 double scale = -2.0; in HWTEST_F() local 1723 auto ret = webPattern->CheckZoomStatus(scale); in HWTEST_F() 1749 double scale = 1.0; in HWTEST_F() local 1752 auto ret = webPattern->CheckZoomStatus(scale); in HWTEST_F() 1778 double scale = 1.0; in HWTEST_F() local 1781 auto ret = webPattern->CheckZoomStatus(scale); in HWTEST_F() 1807 double scale = -2.0; HWTEST_F() local 1836 double scale = -2.0; HWTEST_F() local 1865 double scale = 1.0; HWTEST_F() local 1894 double scale = 1.0; HWTEST_F() local 4465 double scale = 1; HWTEST_F() local 4495 double scale = 1; HWTEST_F() local 4526 double scale = 1; HWTEST_F() local 4556 double scale = 1; HWTEST_F() local 4587 double scale = 1; HWTEST_F() local 4618 double scale = 1; HWTEST_F() local 4794 double scale = 10; HWTEST_F() local 4823 double scale = 3; HWTEST_F() local 4852 double scale = 3; HWTEST_F() local 4882 double scale = 3; HWTEST_F() local 4911 double scale = 0.1; HWTEST_F() local 4941 double scale = 0.1; HWTEST_F() local [all...] |
/third_party/skia/src/core/ |
H A D | SkBlurMF.cpp | 822 SkScalar scale = kProfileTextureWidth / *textureRadius; in create_profile_effect() local 824 bm.getAddr8(0, 0), sigma * scale, circleR * scale, kProfileTextureWidth); in create_profile_effect() 937 // The view matrix may scale, perhaps anisotropically. But we want to apply our device space in make_rect_blur() 939 // to define a space that is purely rotation/translation from device space (and scale from in make_rect_blur() 940 // src space) We'll meet in the middle: pre-scale the src rect to be in this space and then in make_rect_blur() 943 SkSize scale; in make_rect_blur() local 944 if (!viewMatrix.decomposeScale(&scale, &m)) { in make_rect_blur() 950 rect = {srcRect.left() * scale.width(), in make_rect_blur() 951 srcRect.top() * scale in make_rect_blur() 1528 SkSize scale; directFilterMaskGPU() local [all...] |
/applications/sample/camera/launcher/launcher/src/main/cpp/ |
H A D | view_group_page.h | 38 void SetScale(double scale);
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scroll_fade_effect.h | 46 void SetOpacityAndScale(double opacity, double scale);
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | scoped_canvas_state.h | 77 canvas_->scale(-1.0, 1.0); in FlipHorizontal()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
H A D | geometry_arc.h | 62 * @param scale Is the ratio between viewport coordinates and logical coordinates. 67 void SetApproximationScale(float scale); 71 * @param scale Is the ratio between viewport coordinates and logical coordinates.
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | ipp.h | 54 uint16_t scale; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/zram/ |
H A D | zram01.sh | 55 echo "zram compression ratio: $(echo "scale=2; $v / 100 " | bc):1: OK"
|