Home
last modified time | relevance | path

Searched refs:scale (Results 1501 - 1525 of 1997) sorted by relevance

1...<<61626364656667686970>>...80

/kernel/linux/linux-6.6/drivers/iio/common/st_sensors/
H A Dst_sensors_core.c373 dev_info(&indio_dev->dev, "Full-scale not possible\n"); in st_sensors_init_sensor()
472 int st_sensors_set_fullscale_by_gain(struct iio_dev *indio_dev, int scale) in st_sensors_set_fullscale_by_gain() argument
478 if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) && in st_sensors_set_fullscale_by_gain()
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Dcxd2820r_core.c225 if (c->strength.stat[0].scale == FE_SCALE_RELATIVE) in cxd2820r_read_signal_strength()
241 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL) in cxd2820r_read_snr()
/kernel/linux/linux-6.6/tools/iio/
H A Diio_utils.c421 current->scale = 1.0; in build_channel_array()
473 /* Find the scale */ in build_channel_array()
474 ret = iioutils_get_param_float(&current->scale, in build_channel_array()
475 "scale", in build_channel_array()
/third_party/ffmpeg/libavcodec/
H A Dsiren.c393 const float scale = 1.0f / (22.f * 32768.f); in siren_init() local
436 return av_tx_init(&s->tx_ctx, &s->tx_fn, AV_TX_FLOAT_MDCT, 1, FRAME_SIZE, &scale, 0); in siren_init()
/third_party/astc-encoder/Source/
H A Dastcenc_find_best_partitioning.cpp35 * - The best partitioning assuming same chroma colors (RGB + scale endpoints).
43 * (RGB + scale) color representation.
240 float scale = 1.0f / static_cast<float>(partition_texel_count[i]); in kmeans_update() local
241 cluster_centers[i] = color_sum[i] * scale; in kmeans_update()
668 // 3: scale the vector by a constant that estimates average quantization error
734 // 3: scale the vector by a constant that estimates average quantization error
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DNumberFormatterImpl.java287 if (macros.scale != null) { in macrosToMicroGenerator()
288 chain = new MultiplierFormatHandler(macros.scale, chain); in macrosToMicroGenerator()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
H A DNumberFormatterImpl.java251 if (macros.scale != null) { in macrosToMicroGenerator()
252 chain = new MultiplierFormatHandler(macros.scale, chain); in macrosToMicroGenerator()
/third_party/icu/icu4c/source/i18n/
H A Dnumber_formatimpl.cpp266 if (macros.scale.isValid()) { in macrosToMicroGenerator()
267 fMicros.helpers.multiplier.setAndChain(macros.scale, chain); in macrosToMicroGenerator()
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_formatimpl.cpp266 if (macros.scale.isValid()) { in macrosToMicroGenerator()
267 fMicros.helpers.multiplier.setAndChain(macros.scale, chain); in macrosToMicroGenerator()
/third_party/mesa3d/src/panfrost/util/
H A Dpan_lower_framebuffer.c264 nir_ssa_def *scale = nir_imm_vec4(b, 1023.0, 1023.0, 1023.0, 3.0); in pan_pack_unorm_1010102() local
265 nir_ssa_def *s = nir_f2u32(b, nir_fround_even(b, nir_fmul(b, nir_fsat(b, v), scale))); in pan_pack_unorm_1010102()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
H A DSwapChainPanelNativeWindow_unittest.cpp497 // Add a valid scale factor to the property set in TEST()
513 // Check native window init fails, since we shouldn't be able to set a size and a scale in TEST()
521 // Tests that the scale property works as expected in a property set with a SwapChainPanel
527 float scale = GetParam().first; in TEST_P() local
544 // Add a valid scale factor to the property set in TEST_P()
547 scale, reinterpret_cast<IInspectable **>(singleValue.GetAddressOf())); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DANGLEPerfTest.cpp486 double scale = gCalibrationTimeSeconds / elapsedTime; in calibrateStepsToRun() local
487 int stepsToRun = static_cast<int>(static_cast<double>(stepsPerformed) * scale); in calibrateStepsToRun()
/third_party/skia/src/core/
H A DSkPixmap.cpp218 // and mark the destination as opaque. This odd combination allows us to scale unpremul in scalePixels()
238 SkMatrix scale = SkMatrix::RectToRect(SkRect::Make(src.bounds()), SkRect::Make(dst.bounds())); in scalePixels() local
244 &scale, in scalePixels()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_formatimpl.cpp266 if (macros.scale.isValid()) { in macrosToMicroGenerator()
267 fMicros.helpers.multiplier.setAndChain(macros.scale, chain); in macrosToMicroGenerator()
/third_party/skia/tests/
H A DBlurTest.cpp288 static void write_as_csv(const char* label, SkScalar scale, int* data, int count) { in write_as_csv() argument
289 SkDebugf("%s_%.2f,", label, scale); in write_as_csv()
/third_party/skia/modules/particles/src/
H A DSkParticleEffect.cpp71 float scale;
84 float scale;
266 float scale, SkVector velocity, float spin, SkColor4f color, in start()
285 fState.fScale = scale; in start()
409 // Using setNormalize to prevent scale drift in advanceTime()
265 start(double now, bool looping, SkPoint position, SkVector heading, float scale, SkVector velocity, float spin, SkColor4f color, float frame, float seed) start() argument
/third_party/vk-gl-cts/framework/common/
H A DtcuTestLog.cpp76 // Implicit scale and bias in LogImage()
81 // Pack D and S bias and scale to R and G in LogImage()
97 LogImage::LogImage (const std::string& name, const std::string& description, const ConstPixelBufferAccess& access, const Vec4& scale, const Vec4& bias, qpImageCompressionMode compression) in LogImage() argument
101 , m_scale (scale) in LogImage()
105 // Cannot set scale and bias of combined formats in LogImage()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c287 cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_SCALE, ent->tlbi.scale); in arm_smmu_cmdq_build_cmd()
297 cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_SCALE, ent->tlbi.scale); in arm_smmu_cmdq_build_cmd()
1708 unsigned long scale, num; in arm_smmu_tlb_inv_range() local
1711 scale = __ffs(num_pages); in arm_smmu_tlb_inv_range()
1712 cmd.tlbi.scale = scale; in arm_smmu_tlb_inv_range()
1714 /* Determine how many chunks of 2^scale size we have */ in arm_smmu_tlb_inv_range()
1715 num = (num_pages >> scale) & CMDQ_TLBI_RANGE_NUM_MAX; in arm_smmu_tlb_inv_range()
1718 /* range is num * 2^scale * pgsize */ in arm_smmu_tlb_inv_range()
1719 inv_range = num << (scale in arm_smmu_tlb_inv_range()
[all...]
/kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c278 cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_SCALE, ent->tlbi.scale); in arm_smmu_cmdq_build_cmd()
287 cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_SCALE, ent->tlbi.scale); in arm_smmu_cmdq_build_cmd()
1909 * where both scale and num could be 0 as well. in __arm_smmu_tlb_inv_range()
1928 unsigned long scale, num; in __arm_smmu_tlb_inv_range() local
1931 scale = __ffs(num_pages); in __arm_smmu_tlb_inv_range()
1932 cmd->tlbi.scale = scale; in __arm_smmu_tlb_inv_range()
1934 /* Determine how many chunks of 2^scale size we have */ in __arm_smmu_tlb_inv_range()
1935 num = (num_pages >> scale) & CMDQ_TLBI_RANGE_NUM_MAX; in __arm_smmu_tlb_inv_range()
1938 /* range is num * 2^scale * pgsiz in __arm_smmu_tlb_inv_range()
[all...]
/third_party/libinput/src/
H A Dlibinput.c205 double scale; member
1104 return event->scale; in libinput_event_gesture_get_scale()
3002 double scale, in gesture_notify()
3018 .scale = scale, in gesture_notify()
3057 double scale, in gesture_notify_pinch()
3061 delta, unaccel, scale, angle); in gesture_notify_pinch()
3068 double scale, in gesture_notify_pinch_end()
3074 finger_count, cancelled, &zero, &zero, scale, 0.0); in gesture_notify_pinch_end()
2995 gesture_notify(struct libinput_device *device, uint64_t time, enum libinput_event_type type, int finger_count, bool cancelled, const struct normalized_coords *delta, const struct normalized_coords *unaccel, double scale, double angle) gesture_notify() argument
3051 gesture_notify_pinch(struct libinput_device *device, uint64_t time, enum libinput_event_type type, int finger_count, const struct normalized_coords *delta, const struct normalized_coords *unaccel, double scale, double angle) gesture_notify_pinch() argument
3065 gesture_notify_pinch_end(struct libinput_device *device, uint64_t time, int finger_count, double scale, bool cancelled) gesture_notify_pinch_end() argument
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_eu_emit.c2896 int scale = 16 / brw_jump_scale(devinfo); in while_jumps_before_offset() local
2900 return while_offset + jip * scale <= start_offset; in while_jumps_before_offset()
2986 int scale = 16 / br; in brw_set_uip_jip() local
3000 brw_inst_set_jip(devinfo, insn, (block_end_offset - offset) / scale); in brw_set_uip_jip()
3004 (devinfo->ver == 6 ? 16 : 0)) / scale); in brw_set_uip_jip()
3011 brw_inst_set_jip(devinfo, insn, (block_end_offset - offset) / scale); in brw_set_uip_jip()
3013 (brw_find_loop_end(p, offset) - offset) / scale); in brw_set_uip_jip()
3023 1 * br : (block_end_offset - offset) / scale; in brw_set_uip_jip()
3047 brw_inst_set_jip(devinfo, insn, (block_end_offset - offset) / scale); in brw_set_uip_jip()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_context.cpp1307 if (state[i].scale[1] < 0) {
1309 ctx->viewports[start_slot + i].TopLeftY = state[i].translate[1] + state[i].scale[1];
1310 ctx->viewports[start_slot + i].Height = -state[i].scale[1] * 2;
1313 ctx->viewports[start_slot + i].TopLeftY = state[i].translate[1] - state[i].scale[1];
1314 ctx->viewports[start_slot + i].Height = state[i].scale[1] * 2;
1316 ctx->viewports[start_slot + i].TopLeftX = state[i].translate[0] - state[i].scale[0];
1317 ctx->viewports[start_slot + i].Width = state[i].scale[0] * 2;
1320 float far_depth = state[i].translate[2] + state[i].scale[2];
1335 near_depth -= state[i].scale[2];
/third_party/python/Lib/test/
H A Dtest_math.py830 scale = FLOAT_MIN / 2.0 ** exp
831 self.assertEqual(math.hypot(4*scale, 3*scale), 5*scale)
1003 scale = FLOAT_MIN / 2.0 ** exp variable in MathTests.testDist.T
1004 p = (4*scale, 3*scale)
1006 self.assertEqual(math.dist(p, q), 5*scale)
1007 self.assertEqual(math.dist(q, p), 5*scale)
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Dcore.c398 * scale it to units of 8 ppm. in dwc3_ref_clk_period()
1031 u32 scale; in dwc3_set_power_down_clk_scale() local
1038 * The power down scale field specifies how many suspend_clk in dwc3_set_power_down_clk_scale()
1042 * The power down scale value is calculated using the fastest in dwc3_set_power_down_clk_scale()
1045 * rate of the suspend_clk, so only update the power down scale in dwc3_set_power_down_clk_scale()
1050 scale = DIV_ROUND_UP(clk_get_rate(dwc->susp_clk), 16000); in dwc3_set_power_down_clk_scale()
1052 if ((reg & DWC3_GCTL_PWRDNSCALE_MASK) < DWC3_GCTL_PWRDNSCALE(scale) || in dwc3_set_power_down_clk_scale()
1053 (reg & DWC3_GCTL_PWRDNSCALE_MASK) > DWC3_GCTL_PWRDNSCALE(scale*3)) { in dwc3_set_power_down_clk_scale()
1055 reg |= DWC3_GCTL_PWRDNSCALE(scale); in dwc3_set_power_down_clk_scale()
1234 /* Set power down scale o in dwc3_core_init()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dmm_init.c2443 * Adaptive scale is meant to reduce sizes of hash tables on large memory
2444 * machines. As memory size is increased the scale is also increased but at
2446 * quadruples the scale is increased by one, which means the size of hash table
2466 int scale, in alloc_large_system_hash()
2496 scale++; in alloc_large_system_hash()
2500 /* limit to 1 bucket per 2^scale bytes of low memory */ in alloc_large_system_hash()
2501 if (scale > PAGE_SHIFT) in alloc_large_system_hash()
2502 numentries >>= (scale - PAGE_SHIFT); in alloc_large_system_hash()
2504 numentries <<= (PAGE_SHIFT - scale); in alloc_large_system_hash()
2463 alloc_large_system_hash(const char *tablename, unsigned long bucketsize, unsigned long numentries, int scale, int flags, unsigned int *_hash_shift, unsigned int *_hash_mask, unsigned long low_limit, unsigned long high_limit) alloc_large_system_hash() argument

Completed in 46 milliseconds

1...<<61626364656667686970>>...80