Home
last modified time | relevance | path

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

12345678910>>...12

/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/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/ComputeLibrary/tests/validation/reference/
DDeconvolutionLayer.cpp83 SimpleTensor<T> scaled{ scaled_shape, src.data_type(), 1, src.quantization_info() }; in deconvolution_layer() local
87 const int width_scaled = scaled.shape().x(); in deconvolution_layer()
88 const int height_scaled = scaled.shape().y(); in deconvolution_layer()
94 std::fill_n(scaled.data(), scaled.num_elements(), quantized_zero); in deconvolution_layer()
98 std::fill_n(scaled.data(), scaled.num_elements(), T(0)); in deconvolution_layer()
134 T *out = scaled.data() + offset_slice_out + xi + yi * width_scaled; in deconvolution_layer()
141 …return convolution_layer(scaled, weights_flipped, bias, output_shape, conv_info, Size2D(1U, 1U), 1… in deconvolution_layer()
/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/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/pdfium/core/fxcrt/
Dfx_string.cpp96 int scaled = round_func(value); in ToString() local
97 while (scaled < 100000) { in ToString()
102 scaled = round_func(value * scale); in ToString()
104 if (scaled == 0) { in ToString()
112 int i = scaled / scale; in ToString()
117 int fraction = scaled % scale; in ToString()
/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/webrtc/examples/peerconnection/client/linux/
Dmain_wnd.cc440 uint32_t* scaled = reinterpret_cast<uint32_t*>(draw_buffer_.get()); in OnRedraw() local
444 scaled[x] = scaled[x + 1] = image[c]; in OnRedraw()
447 uint32_t* prev_line = scaled; in OnRedraw()
448 scaled += width_ * 2; in OnRedraw()
449 memcpy(scaled, prev_line, (width_ * 2) * 4); in OnRedraw()
452 scaled += width_ * 2; in OnRedraw()
458 scaled = reinterpret_cast<uint32_t*>(draw_buffer_.get()); in OnRedraw()
460 scaled += (width_ * 2) - (local_renderer->width() / 2); in OnRedraw()
462 scaled -= 10; in OnRedraw()
464 scaled += (height_ * width_ * 4) - ((local_renderer->height() / 2) * in OnRedraw()
[all …]
/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/XNNPACK/src/u32-vlog/
Dscalar.c.in62 const uint32_t scaled${N} = vi${N} << input_lshift;
65 …const uint32_t log_value${N} = XNN_LIKELY(scaled${N} != 0) ? xnn_u32_log32(scaled${N}, output_scal…
76 const uint32_t scaled = vi << input_lshift; variable
78 const uint32_t log_value = XNN_LIKELY(scaled != 0) ? xnn_u32_log32(scaled, output_scale) : 0;
/external/webrtc/common_video/
Dvideo_frame_unittest.cc532 VideoFrame::UpdateRect scaled = in TEST() local
534 EXPECT_EQ(scaled, VideoFrame::UpdateRect({100, 50, 100, 200})); in TEST()
541 VideoFrame::UpdateRect scaled = a.ScaleWithFrame( in TEST() local
543 EXPECT_EQ(scaled, VideoFrame::UpdateRect({90, 40, 100, 200})); in TEST()
550 VideoFrame::UpdateRect scaled = a.ScaleWithFrame( in TEST() local
552 EXPECT_EQ(scaled, VideoFrame::UpdateRect({94, 44, 102, 202})); in TEST()
559 VideoFrame::UpdateRect scaled = a.ScaleWithFrame( in TEST() local
562 EXPECT_EQ(scaled, VideoFrame::UpdateRect({48, 28, 54, 104})); in TEST()
569 VideoFrame::UpdateRect scaled = a.ScaleWithFrame( in TEST() local
572 EXPECT_EQ(scaled, VideoFrame::UpdateRect({0, 0, 0, 0})); in TEST()
[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/tensorflow/tensorflow/compiler/mlir/lite/quantization/ir/
DUniformSupport.h128 APFloat scaled = (expressedValue / scale); in quantizeFloatToInt() local
129 scaled.roundToIntegral(roundMode); in quantizeFloatToInt()
130 scaled.add(zeroPoint, roundMode); in quantizeFloatToInt()
131 APFloat fixedpoint = llvm::minimum(scaled, clampMax); in quantizeFloatToInt()
157 const double scaled = realValue / scaleDouble + zeroPointDouble; in quantizeF32ToInt8() local
159 const double scaledRounded = std::round(scaled); in quantizeF32ToInt8()
/external/XNNPACK/src/u32-vlog/gen/
Dscalar-x1.c62 const uint32_t scaled = vi << input_lshift; in xnn_u32_vlog_ukernel__scalar_x1() local
64 const uint32_t log_value = XNN_LIKELY(scaled != 0) ? xnn_u32_log32(scaled, output_scale) : 0; in xnn_u32_vlog_ukernel__scalar_x1()
Dscalar-x2.c81 const uint32_t scaled = vi << input_lshift; in xnn_u32_vlog_ukernel__scalar_x2() local
83 const uint32_t log_value = XNN_LIKELY(scaled != 0) ? xnn_u32_log32(scaled, output_scale) : 0; in xnn_u32_vlog_ukernel__scalar_x2()
Dscalar-x3.c87 const uint32_t scaled = vi << input_lshift; in xnn_u32_vlog_ukernel__scalar_x3() local
89 const uint32_t log_value = XNN_LIKELY(scaled != 0) ? xnn_u32_log32(scaled, output_scale) : 0; in xnn_u32_vlog_ukernel__scalar_x3()
Dscalar-x4.c93 const uint32_t scaled = vi << input_lshift; in xnn_u32_vlog_ukernel__scalar_x4() local
95 const uint32_t log_value = XNN_LIKELY(scaled != 0) ? xnn_u32_log32(scaled, output_scale) : 0; in xnn_u32_vlog_ukernel__scalar_x4()
/external/freetype/src/cid/
Dcidgload.c252 ((CID_GlyphSlot)decoder->builder.glyph)->scaled = force_scaling; in cid_load_glyph()
342 FT_Bool scaled; in cid_slot_load_glyph() local
367 scaled = FT_BOOL( ( load_flags & FT_LOAD_NO_SCALE ) == 0 ); in cid_slot_load_glyph()
370 glyph->scaled = scaled; in cid_slot_load_glyph()
399 scaled = glyph->scaled; in cid_slot_load_glyph()
476 if ( ( load_flags & FT_LOAD_NO_SCALE ) == 0 || scaled ) in cid_slot_load_glyph()
/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/XNNPACK/test/
Dvlog-microkernel-tester.h94 const uint32_t scaled = x_value << input_lshift(); in Test() local
96 if (scaled != 0) { in Test()
102 const uint32_t log2x = math_clz_nonzero_u32(scaled) ^ 31; // log2 of scaled in Test()
110 uint32_t frac = scaled - (UINT32_C(1) << log2x); in Test()
/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()

12345678910>>...12