/external/skqp/src/core/ |
H A D | SkPoint3.cpp | 53 float scale; local 55 scale = 1.0f / sk_float_sqrt(magSq); 65 // Casting this to a float would cause the scale to go to zero. Keeping it 66 // as a double for the multiply keeps the scale non-zero. 73 scale = (float)(1.0f / sqrt(xx * xx + yy * yy + zz * zz)); 76 fX *= scale; 77 fY *= scale; 78 fZ *= scale;
|
H A D | SkScaleToSides.h | 21 static void AdjustRadii(double limit, double scale, SkScalar* a, SkScalar* b) { argument 22 SkASSERTF(scale < 1.0 && scale > 0.0, "scale: %g", scale); 24 *a = (float)((double)*a * scale); 25 *b = (float)((double)*b * scale); 60 SkASSERTF(*a >= 0.0f && *b >= 0.0f, "a: %g, b: %g, limit: %g, scale: %g", *a, *b, limit, 61 scale); 64 "\nlimit: %.17f, sum: %.17f, a: %.10f, b: %.10f, scale [all...] |
H A D | SkUnPreMultiplyPriv.h | 33 SkUnPreMultiply::Scale scale = table[a]; local 34 r = SkUnPreMultiply::ApplyScale(scale, r); 35 g = SkUnPreMultiply::ApplyScale(scale, g); 36 b = SkUnPreMultiply::ApplyScale(scale, b);
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
H A D | ImageViewState.java | 8 * Wraps the scale, center and orientation of a displayed image for easy restoration on screen rotate. 13 private final float scale; field in class:ImageViewState 21 public ImageViewState(float scale, PointF center, int orientation) { argument 22 this.scale = scale; 29 return scale;
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
H A D | bfloat16_test.cc | 91 auto scale = builder.ConstantR1<bfloat16>( local 97 auto tuple = builder.BatchNormTraining(operand, scale, offset, 125 auto scale = builder.ConstantR1<bfloat16>( local 140 builder.BatchNormGrad(operand, scale, mean, var, grad_output,
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
H A D | vector_student_t.py | 47 * `scale = Sigma`; a lower-triangular matrix in `R^{k x k}`, 54 The VectorStudentT distribution is a member of the [location-scale family]( 59 X ~ StudentT(df, loc=0, scale=1) 60 Y = loc + scale * X 63 Notice that the `scale` matrix has semantics closer to std. deviation than 89 vector of length `k` and a scale matrix of shape `k x k`. 119 For more examples of how to construct the `scale` matrix, see the 152 scale_diag=scale_tril = None` then `scale += IdentityMatrix`. Otherwise 153 no scaled-identity-matrix is added to `scale`. 156 diagonal matrix. When `None` no diagonal term is added to `scale` 238 def scale(self): member in class:_VectorStudentT [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
H A D | adjust_saturation_op_gpu.cu.cc | 30 const float* const scale, 40 number_of_elements, input, output, nullptr, scale, nullptr); 27 operator ()(GPUDevice* device, const int64 number_of_elements, const float* const input, const float* const scale, float* const output) argument
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
H A D | sampler.cc | 66 ExponentialBuckets(double scale, double growth_factor, int bucket_count) argument 68 ComputeBucketLimits(scale, growth_factor, bucket_count)) {} 75 static std::vector<double> ComputeBucketLimits(double scale, argument 80 double bound = scale; 102 std::unique_ptr<Buckets> Buckets::Exponential(double scale, argument 106 new ExponentialBuckets(scale, growth_factor, bucket_count));
|
/external/webrtc/webrtc/common_audio/ |
H A D | real_fourier_ooura.cc | 81 const float scale = 2.0f / length_; local 82 std::for_each(dest, dest + length_, [scale](float& v) { v *= scale; });
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
H A D | auto_correlation.c | 19 int* scale) { 30 // In order to avoid overflow when computing the sum we should scale the 63 *scale = scaling; 15 WebRtcSpl_AutoCorrelation(const int16_t* in_vector, size_t in_vector_length, size_t order, int32_t* result, int* scale) argument
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | augmented_cb_corr.c | 34 int scale) /* (i) Scale factor to use for 52 (*crossDotPtr) = WebRtcSpl_DotProductWithScale(target, buffer-lagcount, ilow, scale); 55 (*crossDotPtr) += WebRtcSpl_DotProductWithScale(target+ilow, iSPtr, 4, scale); 60 (*crossDotPtr) += WebRtcSpl_DotProductWithScale(targetPtr, buffer-lagcount, SUBL-lagcount, scale); 23 WebRtcIlbcfix_AugmentedCbCorr( int16_t *target, int16_t *buffer, int16_t *interpSamples, int32_t *crossDot, size_t low, size_t high, int scale) argument
|
H A D | cb_mem_energy.c | 37 int scale, /* (i) The scaling of all energy values */ 52 energy = WebRtcSpl_DotProductWithScale( pp, pp, lTarget, scale); 62 WebRtcIlbcfix_CbMemEnergyCalc(energy, range, ppi, ppo, energyW16, energyShifts, scale, 0); 68 energy = WebRtcSpl_DotProductWithScale( pp, pp, lTarget, scale); 78 WebRtcIlbcfix_CbMemEnergyCalc(energy, range, ppi, ppo, energyW16, energyShifts, scale, base_size); 29 WebRtcIlbcfix_CbMemEnergy( size_t range, int16_t *CB, int16_t *filteredCB, size_t lMem, size_t lTarget, int16_t *energyW16, int16_t *energyShifts, int scale, size_t base_size ) argument
|
H A D | cb_mem_energy_augmentation.c | 25 int scale, /* (i) The scaling of all energy values */ 42 nrjRecursive = WebRtcSpl_DotProductWithScale( CBmemPtr-19, CBmemPtr-19, 15, scale); 48 nrjRecursive += (*ppe * *ppe) >> scale; 53 energy += WebRtcSpl_DotProductWithScale(interpSamplesPtr, interpSamplesPtr, 4, scale); 58 energy += WebRtcSpl_DotProductWithScale(pp, pp, SUBL-lagcount, scale); 22 WebRtcIlbcfix_CbMemEnergyAugmentation( int16_t *interpSamples, int16_t *CBmem, int scale, size_t base_size, int16_t *energyW16, int16_t *energyShifts ) argument
|
H A D | cb_mem_energy_calc.c | 31 int scale, /* (i) The scaling of all energy values */ 50 energy += tmp >> scale; 24 WebRtcIlbcfix_CbMemEnergyCalc( int32_t energy, size_t range, int16_t *ppi, int16_t *ppo, int16_t *energyW16, int16_t *energyShifts, int scale, size_t base_size ) argument
|
H A D | frame_classify.c | 32 int16_t max, scale; local 49 scale = WebRtcSpl_GetSizeInBits((uint32_t)(max * max)); 52 scale = scale-24; 53 scale1 = WEBRTC_SPL_MAX(0, scale); 66 scale = WebRtcSpl_GetSizeInBits(maxW32) - 20; 67 scale1 = WEBRTC_SPL_MAX(0, scale);
|
H A D | gain_quant.c | 33 int16_t scale, cblen; local 40 scale = WEBRTC_SPL_MAX(1638, maxIn); 65 measure1 = scale * *cbPtr; 81 measure1 = scale * *cbPtr; 84 measure2 = scale * cbPtr[1]; 90 measure2 = scale * cbPtr[-1]; 102 return (int16_t)((scale * cb[loc] + 8192) >> 14);
|
H A D | simple_lpc_analysis.c | 36 int scale; local 65 WebRtcSpl_AutoCorrelation(windowedData, BLOCKL_MAX, LPC_FILTERORDER, R, &scale);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | filters_unittest.cc | 21 int16_t scale = 0; local 35 kBuffer, kOrder + 1, &scale); 39 EXPECT_EQ(3, scale); 52 kBuffer, kOrder + 1, &scale); 56 EXPECT_EQ(0, scale);
|
/external/webrtc/webrtc/modules/utility/source/ |
H A D | audio_frame_operations.cc | 91 int AudioFrameOperations::ScaleWithSat(float scale, AudioFrame& frame) { argument 97 temp_data = static_cast<int32_t>(scale * frame.data_[i]);
|
/external/capstone/bindings/ocaml/ |
H A D | ppc.ml | 12 scale: int; Record field in type:ppc_op_crx
|
/external/compiler-rt/lib/builtins/ |
H A D | divsf3.c | 33 int scale = 0; local 66 // normal number. Renormalize one or both of a and b, and set scale to 68 if (aAbs < implicitBit) scale += normalize(&aSignificand); 69 if (bAbs < implicitBit) scale -= normalize(&bSignificand); 77 int quotientExponent = aExponent - bExponent + scale;
|
/external/eigen/test/ |
H A D | eigensolver_generic.cpp | 147 double scale = 1e-200; // scale to avoid overflow during the comparisons local 148 VERIFY_IS_APPROX(a * eig.pseudoEigenvectors()*scale, eig.pseudoEigenvectors() * eig.pseudoEigenvalueMatrix()*scale); 149 VERIFY_IS_APPROX(a * eig.eigenvectors()*scale, eig.eigenvectors() * eig.eigenvalues().asDiagonal()*scale);
|
/external/gemmlowp/meta/ |
H A D | quantized_mul_kernels.h | 125 float scale; member in struct:gemmlowp::meta::QuantizedStaticPreprocessedAsFloat 160 std::cout << " kernel.scale: " << params.kernel.scale << std::endl;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/ |
H A D | TimeScaleDataTest.java | 46 private void roundTripTest(long value, int scale) argument 48 long rt = UniversalTimeScale.toLong(UniversalTimeScale.from(value, scale), scale); 51 errln("Round-trip error: time scale = " + scale + ", value = " + value + ", round-trip = " + rt); 55 private void toLimitTest(long toLimit, long fromLimit, int scale) argument 57 long result = UniversalTimeScale.toLong(toLimit, scale); 60 errln("toLimit failure: scale = " + scale + ", toLimit = " + toLimit + 61 ", toLong(toLimit, scale) 65 epochOffsetTest(long epochOffset, long units, int scale) argument [all...] |
/external/iproute2/lib/ |
H A D | dnet_ntop.c | 19 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started) argument 21 u_int16_t tmp = *addr / scale; 26 if (((tmp) > 0) || *started || (scale == 1)) { 30 *addr -= (tmp * scale);
|