/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
scaling_tab.cpp | 50 const int32 scale[63] = {0, 262145, 131073, 87382, 65537, 52430, 43692, 37450, 32769, 29128, variable
|
/external/compiler-rt/test/asan/TestCases/ |
debug_mapping.cc | 1 // Checks that the debugging API returns correct shadow scale and offset. 10 // CHECK: SHADOW_SCALE: [[SCALE:[0-9]+]] 14 size_t scale, offset; local 15 __asan_get_shadow_mapping(&scale, &offset); 17 fprintf(stderr, "scale: %d\n", (int)scale); 20 // CHECK: scale: [[SCALE]]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
gain_dequant.c | 33 int16_t scale; local 36 /* obtain correct scale factor */ 38 scale=WEBRTC_SPL_ABS_W16(maxIn); 39 scale = WEBRTC_SPL_MAX(1638, scale); /* if lower than 0.1, set it to 0.1 */ 44 return (int16_t)((scale * gain[index] + 8192) >> 14);
|
my_corr.c | 34 int scale; local 36 /* Calculate correlation between the two sequences. Scale the 40 scale=WebRtcSpl_GetSizeInBits(max); 42 scale = 2 * scale - 26; 43 if (scale<0) { 44 scale=0; 50 WebRtcSpl_CrossCorrelation(corr, seq2, seq1, dim2, loops, scale, 1);
|
/device/google/cuttlefish_common/common/libs/time/ |
monotonic_time_test.cpp | 41 int64_t scale = 1000; local 42 TimeDifference td1(10, 1000, scale); 43 TimeDifference td2(100, 10000, scale); 44 EXPECT_EQ((td1+td2).count(), ((110L)*1000000000L + 11000L)/scale); 48 int64_t scale = 1; local 49 TimeDifference td1(-10, 1000, scale); 50 TimeDifference td2(100, 10000, scale); 51 EXPECT_EQ((td1+td2).count(), ((90L)*1000000000L + 11000L)/scale); 69 int64_t scale = 1; local 70 TimeDifference td1(10, 1000, scale); 76 int64_t scale = 1; local 97 int64_t scale = 1; local [all...] |
/external/skia/src/codec/ |
SkRawAdapterCodec.cpp | 17 float scale = 1.f / static_cast<float>(sampleSize); local 18 return this->codec()->getScaledDimensions(scale);
|
SkWebpAdapterCodec.cpp | 17 float scale = get_scale_from_sample_size(sampleSize); local 18 return this->codec()->getScaledDimensions(scale);
|
/external/skqp/src/codec/ |
SkRawAdapterCodec.cpp | 17 float scale = 1.f / static_cast<float>(sampleSize); local 18 return this->codec()->getScaledDimensions(scale);
|
SkWebpAdapterCodec.cpp | 17 float scale = get_scale_from_sample_size(sampleSize); local 18 return this->codec()->getScaledDimensions(scale);
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
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...] |
sinh_arcsinh.py | 45 and control over `scale` as well as a "shift" parameter `loc`. 51 `(loc, scale, skewness, tailweight)`, via the relation: 54 Y := loc + scale * F(Z) * (2 / F_0(2)) 59 This distribution is similar to the location-scale transformation 60 `L(Z) := loc + scale * Z` in the following ways: 65 * The multiplication of `scale` by `2 / F_0(2)` ensures that if `skewness = 0` 66 `P[Y - loc <= 2 * scale] = P[L(Z) - loc <= 2 * scale]`. 68 `loc + 2 * scale` are the same. 70 This distribution is different than `loc + scale * Z` due to th 205 def scale(self): member in class:SinhArcsinh [all...] |
vector_sinh_arcsinh_diag.py | 45 and control over `scale` as well as a "shift" parameter `loc`. 51 `(loc, scale, skewness, tailweight)`, via the relation (with `@` denoting 55 Y := loc + scale @ F(Z) * (2 / F_0(2)) 60 This distribution is similar to the location-scale transformation 61 `L(Z) := loc + scale @ Z` in the following ways: 66 * The multiplication of `scale` by `2 / F_0(2)` ensures that if `skewness = 0` 67 `P[Y - loc <= 2 * scale] = P[L(Z) - loc <= 2 * scale]`. 69 `loc + 2 * scale` are the same. 71 This distribution is different than `loc + scale @ Z` due to th 253 def scale(self): member in class:VectorSinhArcsinhDiag [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_csqrt.c | 54 int scale; local 85 /* Scale to avoid overflow. */ 89 scale = 1; 91 scale = 0; 104 if (scale)
|
s_csqrtl.c | 54 int scale; local 85 /* Scale to avoid overflow. */ 89 scale = 1; 91 scale = 0; 104 if (scale)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
ScaleXPointMap.java | 5 protected final ECFieldElement scale; field in class:ScaleXPointMap 7 public ScaleXPointMap(ECFieldElement scale) 9 this.scale = scale; 14 return p.scaleX(scale);
|
/external/freetype/src/tools/ |
cordic.py | 6 scale = units/math.pi variable 18 angle2 = round(angle*scale) # arctangent in FT_Angle units
|
/external/skia/gm/ |
bitmaprecttest.cpp | 31 // scaling the image down by the matrix' scale 43 SkScalar scale = 0.472560018f; local 45 canvas->scale(scale, scale); 49 canvas->scale(-1, 1);
|
repeated_bitmap.cpp | 22 SkScalar scale = SkTMin(128.0f / image->width(), local 31 canvas->scale(scale, scale);
|
/external/skia/src/core/ |
SkBitmapProcState_filter.h | 30 int scale = 256 - 16*y - 16*x + xy; local 31 uint32_t lo = (a00 & mask) * scale; 32 uint32_t hi = ((a00 >> 8) & mask) * scale; 34 scale = 16*x - xy; 35 lo += (a01 & mask) * scale; 36 hi += ((a01 >> 8) & mask) * scale; 38 scale = 16*y - xy; 39 lo += (a10 & mask) * scale; 40 hi += ((a10 >> 8) & mask) * scale; 60 int scale = 256 - 16*y - 16*x + xy local 90 int scale = 256 - 16*t; local 112 int scale = 256 - 16*t; local [all...] |
/external/skia/tests/ |
ScaleToSidesTest.cpp | 52 double scale = width / ((double)radius1 + (double)radius2); local 55 scale = std::min(scale, interestingValues[s-1]); 57 if (scale < 1.0 && scale > 0.0) { 58 SkScaleToSides::AdjustRadii(width, scale, &radius1, &radius2);
|
/external/skqp/fuzz/ |
FuzzScaleToSides.cpp | 32 double scale = (double)width / ((double)radius1 + (double)radius2); local 33 if (scale >= 1.0 || scale <= 0.0) { 36 SkDebugf("%g %g %g %g\n", radius1, radius2, width, scale); 37 SkScaleToSides::AdjustRadii(width, scale, &radius1, &radius2);
|
/external/skqp/gm/ |
bitmaprecttest.cpp | 31 // scaling the image down by the matrix' scale 43 SkScalar scale = 0.472560018f; local 45 canvas->scale(scale, scale); 49 canvas->scale(-1, 1);
|
repeated_bitmap.cpp | 22 SkScalar scale = SkTMin(128.0f / image->width(), local 31 canvas->scale(scale, scale);
|
/external/skqp/src/core/ |
SkBitmapProcState_filter.h | 30 int scale = 256 - 16*y - 16*x + xy; local 31 uint32_t lo = (a00 & mask) * scale; 32 uint32_t hi = ((a00 >> 8) & mask) * scale; 34 scale = 16*x - xy; 35 lo += (a01 & mask) * scale; 36 hi += ((a01 >> 8) & mask) * scale; 38 scale = 16*y - xy; 39 lo += (a10 & mask) * scale; 40 hi += ((a10 >> 8) & mask) * scale; 60 int scale = 256 - 16*y - 16*x + xy local 90 int scale = 256 - 16*t; local 112 int scale = 256 - 16*t; local [all...] |
/external/skqp/tests/ |
ScaleToSidesTest.cpp | 52 double scale = width / ((double)radius1 + (double)radius2); local 55 scale = std::min(scale, interestingValues[s-1]); 57 if (scale < 1.0 && scale > 0.0) { 58 SkScaleToSides::AdjustRadii(width, scale, &radius1, &radius2);
|