Home
last modified time | relevance | path

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

1234567891011

/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/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/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/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/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/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/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/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/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/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;
/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/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/eigen/bench/btl/libs/gmm/
Dgmm_interface.hh106 gmm::add(gmm::scaled(X,coef), Y); in axpy()
110 gmm::add(gmm::scaled(X,a), gmm::scaled(Y,b), Y); in axpby()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c607 uint64_t scaled[brw->shader_time.num_entries]; in brw_report_shader_time() local
616 sorted[i] = &scaled[i]; in brw_report_shader_time()
642 scaled[i] = time / written * (written + reset); in brw_report_shader_time()
644 scaled[i] = time; in brw_report_shader_time()
656 total_by_type[type] += scaled[i]; in brw_report_shader_time()
662 total += scaled[i]; in brw_report_shader_time()
677 int i = sorted[s] - scaled; in brw_report_shader_time()
679 if (scaled[i] == 0) in brw_report_shader_time()
716 scaled[i], total); in brw_report_shader_time()
/external/angle/src/common/
DPackedEnums.h305 GLenum scaled = (from - GL_UNSIGNED_BYTE); variable
310 GLenum packed = (scaled >> 1) | (scaled << 31);
375 const GLenum scaled = (from - GL_FUNC_ADD); variable
376 return (scaled == static_cast<GLenum>(BlendEquationType::Unused))
378 : static_cast<BlendEquationType>(scaled);
382 const GLenum scaled = variable
384 return (scaled == static_cast<GLenum>(BlendEquationType::Unused2) ||
385 scaled == static_cast<GLenum>(BlendEquationType::Unused3))
387 : static_cast<BlendEquationType>(scaled);
/external/libchrome/base/metrics/
Dhistogram_unittest.cc745 ScaledLinearHistogram scaled("SLH", 1, 5, 6, 100, HistogramBase::kNoFlags); in TEST_P() local
747 scaled.AddScaledCount(0, 1); in TEST_P()
748 scaled.AddScaledCount(1, 49); in TEST_P()
749 scaled.AddScaledCount(2, 50); in TEST_P()
750 scaled.AddScaledCount(3, 101); in TEST_P()
751 scaled.AddScaledCount(4, 160); in TEST_P()
752 scaled.AddScaledCount(5, 130); in TEST_P()
753 scaled.AddScaledCount(6, 140); in TEST_P()
756 SnapshotAllSamples(scaled.histogram()); in TEST_P()

1234567891011