Home
last modified time | relevance | path

Searched refs:scaled (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
DNordsieckStepInterpolator.java61 private double[] scaled; field in NordsieckStepInterpolator
85 if (interpolator.scaled != null) { in NordsieckStepInterpolator()
86 scaled = interpolator.scaled.clone(); in NordsieckStepInterpolator()
130 this.scaled = scaledDerivative; in reinitialize()
146 for (int i = 0; i < scaled.length; ++i) { in rescale()
147 scaled[i] *= ratio; in rescale()
210 stateVariation[j] += scaled[j] * normalizedAbscissa; in computeInterpolatedStateAndDerivatives()
213 (interpolatedDerivatives[j] + scaled[j] * normalizedAbscissa) / x; in computeInterpolatedStateAndDerivatives()
231 if (scaled == null) { in writeExternal()
236 out.writeDouble(scaled[j]); in writeExternal()
[all …]
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dremote_estimate.cc41 int64_t scaled = ByteReader<uint32_t, kFieldValueSize>::ReadBigEndian(src); in Read() local
42 if (scaled == kMaxEncoded) { in Read()
45 *field_getter_(target) = kDataRateResolution * scaled; in Read()
56 int64_t scaled; in Write() local
58 scaled = kMaxEncoded; in Write()
60 scaled = value / kDataRateResolution; in Write()
61 if (scaled >= kMaxEncoded) { in Write()
62 scaled = kMaxEncoded; in Write()
68 ByteWriter<uint32_t, kFieldValueSize>::WriteBigEndian(target, scaled); in Write()
/external/mesa3d/src/freedreno/vulkan/
Dvk_format_parse.py55 def __init__(self, type, norm, pure, scaled, size, name = ''): argument
60 self.scaled = scaled
70 if self.scaled:
81 self.scaled == other.scaled)
169 if channel.scaled != ref_channel.scaled:
190 if channel.scaled != ref_channel.scaled:
308 scaled = False
313 scaled = False
318 scaled = True
323 scaled = False
[all …]
/external/mesa3d/src/amd/vulkan/
Dvk_format_parse.py55 def __init__(self, type, norm, pure, scaled, size, name = ''): argument
60 self.scaled = scaled
70 if self.scaled:
79 … other.norm and self.pure == other.pure and self.size == other.size and self.scaled == other.scaled
177 if channel.scaled != ref_channel.scaled:
198 if channel.scaled != ref_channel.scaled:
316 scaled = False
321 scaled = False
326 scaled = True
331 scaled = False
[all …]
/external/skia/modules/pathkit/tests/
Deffects.spec.js65 let scaled = drawStar();
66 let notACopy = scaled.transform(3, 0, 0,
74 expect(scaled === notACopy).toBe(true);
75 expect(scaled.equals(scaled2)).toBe(true);
76 expect(scaled.equals(orig)).toBe(false);
78 reportPath(scaled, 'transformed_scale', () => {
81 scaled.delete();
/external/skqp/modules/pathkit/tests/
Deffects.spec.js81 let scaled = drawStar();
82 let notACopy = scaled.transform(3, 0, 0,
90 expect(scaled === notACopy).toBe(true);
91 expect(scaled.equals(scaled2)).toBe(true);
92 expect(scaled.equals(orig)).toBe(false);
94 reportPath(scaled, 'transformed_scale', () => {
97 scaled.delete();
/external/llvm-project/llvm/utils/benchmark/src/
Dstring_util.cc51 double scaled = val; in ToExponentAndMantissa() local
53 scaled /= one_k; in ToExponentAndMantissa()
54 if (scaled <= big_threshold) { in ToExponentAndMantissa()
55 mantissa_stream << scaled; in ToExponentAndMantissa()
66 double scaled = val; in ToExponentAndMantissa() local
68 scaled *= one_k; in ToExponentAndMantissa()
69 if (scaled >= small_threshold) { in ToExponentAndMantissa()
70 mantissa_stream << scaled; in ToExponentAndMantissa()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DAdamsMoultonIntegrator.java237 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
264 updateHighOrderDerivativesPhase2(scaled, predictedScaled, nordsieckTmp); in integrate()
295 scaled = correctedScaled; in integrate()
307 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
350 private final double[] scaled; field in AdamsMoultonIntegrator.Corrector
363 public Corrector(final double[] previous, final double[] scaled, final double[] state) { in Corrector() argument
365 this.scaled = scaled; in Corrector()
398 after[i] += previous[i] + scaled[i]; in end()
DAdamsBashforthIntegrator.java217 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
270 updateHighOrderDerivativesPhase2(scaled, predictedScaled, nordsieckTmp); in integrate()
276 scaled = predictedScaled; in integrate()
278 interpolator.reinitialize(stepEnd, stepSize, scaled, nordsieck); in integrate()
289 interpolator.reinitialize(stepStart, stepSize, scaled, nordsieck); in integrate()
/external/pdfium/core/fxcrt/
Dfx_string.cpp103 int scaled = round_func(value); in ToString() local
104 while (scaled < 100000) { in ToString()
109 scaled = round_func(value * scale); in ToString()
111 if (scaled == 0) { in ToString()
119 int i = scaled / scale; in ToString()
124 int fraction = scaled % scale; in ToString()
/external/google-benchmark/src/
Dstring_util.cc54 double scaled = val; in ToExponentAndMantissa() local
56 scaled /= one_k; in ToExponentAndMantissa()
57 if (scaled <= big_threshold) { in ToExponentAndMantissa()
58 mantissa_stream << scaled; in ToExponentAndMantissa()
69 double scaled = val; in ToExponentAndMantissa() local
71 scaled *= one_k; in ToExponentAndMantissa()
72 if (scaled >= small_threshold) { in ToExponentAndMantissa()
73 mantissa_stream << scaled; in ToExponentAndMantissa()
/external/webrtc/test/testsupport/
Dvideo_frame_writer.cc36 rtc::scoped_refptr<I420Buffer> scaled(I420Buffer::Create(width, height)); in ExtractI420BufferWithSize() local
37 scaled->ScaleFrom(*frame.video_frame_buffer()->ToI420()); in ExtractI420BufferWithSize()
40 CalcBufferSize(VideoType::kI420, scaled->width(), scaled->height()); in ExtractI420BufferWithSize()
42 RTC_CHECK_NE(ExtractBuffer(scaled, length, buffer.data()), -1); in ExtractI420BufferWithSize()
/external/libcxx/utils/google-benchmark/src/
Dstring_util.cc51 double scaled = val; in ToExponentAndMantissa() local
53 scaled /= one_k; in ToExponentAndMantissa()
54 if (scaled <= big_threshold) { in ToExponentAndMantissa()
55 mantissa_stream << scaled; in ToExponentAndMantissa()
66 double scaled = val; in ToExponentAndMantissa() local
68 scaled *= one_k; in ToExponentAndMantissa()
69 if (scaled >= small_threshold) { in ToExponentAndMantissa()
70 mantissa_stream << scaled; in ToExponentAndMantissa()
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dstring_util.cc51 double scaled = val; in ToExponentAndMantissa() local
53 scaled /= one_k; in ToExponentAndMantissa()
54 if (scaled <= big_threshold) { in ToExponentAndMantissa()
55 mantissa_stream << scaled; in ToExponentAndMantissa()
66 double scaled = val; in ToExponentAndMantissa() local
68 scaled *= one_k; in ToExponentAndMantissa()
69 if (scaled >= small_threshold) { in ToExponentAndMantissa()
70 mantissa_stream << scaled; in ToExponentAndMantissa()
/external/webrtc/examples/peerconnection/client/linux/
Dmain_wnd.cc456 uint32_t* scaled = reinterpret_cast<uint32_t*>(draw_buffer_.get()); in OnRedraw() local
460 scaled[x] = scaled[x + 1] = image[c]; in OnRedraw()
463 uint32_t* prev_line = scaled; in OnRedraw()
464 scaled += width_ * 2; in OnRedraw()
465 memcpy(scaled, prev_line, (width_ * 2) * 4); in OnRedraw()
468 scaled += width_ * 2; in OnRedraw()
474 scaled = reinterpret_cast<uint32_t*>(draw_buffer_.get()); in OnRedraw()
476 scaled += (width_ * 2) - (local_renderer->width() / 2); in OnRedraw()
478 scaled -= 10; in OnRedraw()
480 scaled += (height_ * width_ * 4) - ((local_renderer->height() / 2) * in OnRedraw()
[all …]
/external/skia/docs/examples/
DPoint_scale.cpp9 SkPoint point = {40, -15}, scaled; in draw() local
14 point.scale(scale, &scaled); in draw()
15 canvas->drawLine(origin, origin + scaled, paint); in draw()
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DUniformSupport.h106 APFloat scaled = (expressedValue / scale); in quantizeFloatToInt() local
107 scaled.roundToIntegral(roundMode); in quantizeFloatToInt()
108 scaled.add(zeroPoint, roundMode); in quantizeFloatToInt()
109 APFloat fixedpoint = llvm::minimum(scaled, clampMax); in quantizeFloatToInt()
135 const double scaled = realValue / scaleDouble + zeroPointDouble; in quantizeF32ToInt8() local
137 const double scaledRounded = std::round(scaled); in quantizeF32ToInt8()
/external/webrtc/common_video/
Dvideo_frame_unittest.cc588 VideoFrame::UpdateRect scaled = in TEST() local
590 EXPECT_EQ(scaled, VideoFrame::UpdateRect({100, 50, 100, 200})); in TEST()
597 VideoFrame::UpdateRect scaled = a.ScaleWithFrame( in TEST() local
599 EXPECT_EQ(scaled, VideoFrame::UpdateRect({90, 40, 100, 200})); in TEST()
606 VideoFrame::UpdateRect scaled = a.ScaleWithFrame( in TEST() local
608 EXPECT_EQ(scaled, VideoFrame::UpdateRect({94, 44, 102, 202})); in TEST()
615 VideoFrame::UpdateRect scaled = a.ScaleWithFrame( in TEST() local
618 EXPECT_EQ(scaled, VideoFrame::UpdateRect({48, 28, 54, 104})); in TEST()
625 VideoFrame::UpdateRect scaled = a.ScaleWithFrame( in TEST() local
628 EXPECT_EQ(scaled, VideoFrame::UpdateRect({0, 0, 0, 0})); in TEST()
[all …]
/external/llvm-project/mlir/docs/
DQuantization.md33 We will call the result of the divided real the *scaled value*.
35 $$ real\_value = scaled\_value * scale $$
38 scaled values. For example, if the scale is $$ \pi $$, then fixed point values
45 Multiplication can be performed on scaled values with different scales, using
46 the same algorithm as multiplication of real values (note that product scaled
48 \mbox{ } operand} $$). Addition can be performed on scaled values, so long as
50 This makes it convenient to represent scaled values on a computer as signed
52 will be correct scaled values.
57 [adding a Real-valued *zero point*, to a scaled value](https://en.wikipedia.org/wiki/Affine_transfo…
59 scaled value:
[all …]
/external/webrtc/docs/native-code/rtp-hdrext/color-space/
DREADME.md67 * Luminance min, scaled by a factor of 10000 and specified in the unit 1/10000
69 * CIE 1931 xy chromaticity coordinates of the primary red, scaled by a factor of 50000.
71 * CIE 1931 xy chromaticity coordinates of the primary green, scaled by a factor of 50000.
73 * CIE 1931 xy chromaticity coordinates of the primary blue, scaled by a factor of 50000.
75 * CIE 1931 xy chromaticity coordinates of the white point, scaled by a factor of 50000.
/external/freetype/src/cid/
Dcidgload.c256 ((CID_GlyphSlot)decoder->builder.glyph)->scaled = force_scaling; in cid_load_glyph()
346 FT_Bool scaled; in cid_slot_load_glyph() local
371 scaled = FT_BOOL( ( load_flags & FT_LOAD_NO_SCALE ) == 0 ); in cid_slot_load_glyph()
374 glyph->scaled = scaled; in cid_slot_load_glyph()
403 scaled = glyph->scaled; in cid_slot_load_glyph()
480 if ( ( load_flags & FT_LOAD_NO_SCALE ) == 0 || scaled ) in cid_slot_load_glyph()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
DMultistepIntegrator.java65 protected double[] scaled; field in MultistepIntegrator
334 scaled = interpolator.getInterpolatedDerivatives().clone(); in handleStep()
336 scaled[j] *= stepSize; in handleStep()
349 nordsieck = initializeHighOrderDerivatives(scaled, multistep); in handleStep()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ops/
DResizeOp.java68 Bitmap scaled = in apply() local
70 image.load(scaled); in apply()
/external/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp28 SkScalar from_font_units(SkScalar scaled, uint16_t emSize) { in from_font_units() argument
30 return scaled; in from_font_units()
32 return scaled * 1000 / emSize; in from_font_units()
/external/skia/experimental/docs/
DanimationCommon.js176 var scaled = action.range[0] + (action.range[1] - action.range[0]) * value;
196 scaled = action.func(scaled, action.funcParams);
198 if (targetObject[targetField] != scaled) {
204 targetObject[targetField] = scaled;

12345678910>>...14