/external/compiler-rt/test/asan/TestCases/ |
H A D | debug_mapping.cc | 1 // Checks that the debugging API returns correct shadow scale and offset. 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/ |
H A D | 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);
|
H A D | my_corr.c | 34 int scale; local 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);
|
/external/libopus/silk/fixed/ |
H A D | autocorr_FIX.c | 38 opus_int *scale, /* O Scaling of the correlation vector */ 47 *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch); 36 silk_autocorr( opus_int32 *results, opus_int *scale, const opus_int16 *inputData, const opus_int inputDataSize, const opus_int correlationCount, int arch ) argument
|
H A D | warped_autocorrelation_FIX.c | 46 opus_int *scale, /* O Scaling of the correlation vector */ 82 *scale = -( QC + lsh ); 83 silk_assert( *scale >= -30 && *scale <= 12 ); 44 silk_warped_autocorrelation_FIX( opus_int32 *corr, opus_int *scale, const opus_int16 *input, const opus_int warping_Q16, const opus_int length, const opus_int order ) argument
|
/external/libopus/silk/ |
H A D | inner_prod_aligned.c | 37 const opus_int scale, /* I number of bits to shift */ 44 sum = silk_ADD_RSHIFT32( sum, silk_SMULBB( inVec1[ i ], inVec2[ i ] ), scale ); 34 silk_inner_prod_aligned_scale( const opus_int16 *const inVec1, const opus_int16 *const inVec2, const opus_int scale, const opus_int len ) argument
|
H A D | stereo_find_predictor.c | 44 opus_int scale, scale1, scale2; local 50 scale = silk_max_int( scale1, scale2 ); 51 scale = scale + ( scale & 1 ); /* make even */ 52 nrgy = silk_RSHIFT32( nrgy, scale - scale2 ); 53 nrgx = silk_RSHIFT32( nrgx, scale - scale1 ); 55 corr = silk_inner_prod_aligned_scale( x, y, scale, length ); 65 scale = silk_RSHIFT( scale, [all...] |
/external/skia/fuzz/ |
H A D | 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/skia/gm/ |
H A D | 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);
|
H A D | hittestpath.cpp | 36 int scale = 300; local 43 path.lineTo(randoms[0] * scale, randoms[1] * scale); 44 path.quadTo(randoms[2] * scale, randoms[3] * scale, 45 randoms[4] * scale, randoms[5] * scale); 46 path.cubicTo(randoms[6] * scale, randoms[7] * scale, 47 randoms[8] * scale, random [all...] |
H A D | repeated_bitmap.cpp | 22 SkScalar scale = SkTMin(128.0f / image->width(), local 31 canvas->scale(scale, scale);
|
H A D | scaledstrokes.cpp | 47 SkScalar scale = 4.0f - j; variable 48 paint.setStrokeWidth(4.0f / scale); 51 canvas->scale(scale, scale); 52 draw_path(size / 2.0f / scale, canvas, paint); 57 canvas->scale(scale, scale); 58 canvas->drawCircle(0.0f, 0.0f, size / 2.0f / scale, pain [all...] |
/external/skia/tests/ |
H A D | 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | ScaleXPointMap.java | 5 protected final ECFieldElement scale; field in class:ScaleXPointMap 7 public ScaleXPointMap(ECFieldElement scale) argument 9 this.scale = scale; 14 return p.scaleX(scale);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_viewport.c | 67 float scale[3], translate[3]; local 68 _mesa_get_viewport_xform(ctx, i, scale, translate); 70 st->state.viewport[i].scale[0] = scale[0]; 71 st->state.viewport[i].scale[1] = scale[1] * yScale; 72 st->state.viewport[i].scale[2] = scale[2];
|
/external/skia/include/core/ |
H A D | SkUnPreMultiply.h | 38 SkUnPreMultiply::Scale scale = table[a]; 40 red = SkUnPreMultiply::ApplyScale(scale, red); 45 static U8CPU ApplyScale(Scale scale, U8CPU component) { argument 47 return (scale * component + (1 << 23)) >> 24;
|
/external/skia/src/core/ |
H A D | SkUnPreMultiply.cpp | 12 const Scale scale = GetScale(a); local 14 ApplyScale(scale, SkGetPackedR32(c)), 15 ApplyScale(scale, SkGetPackedG32(c)), 16 ApplyScale(scale, SkGetPackedB32(c))); 21 const Scale scale = GetScale(a); local 23 ApplyScale(scale, SkGetPackedR32(c)), 24 ApplyScale(scale, SkGetPackedG32(c)), 25 ApplyScale(scale, SkGetPackedB32(c))); 66 uint32_t scale; local 69 scale [all...] |
/external/aac/libAACdec/src/arm/ |
H A D | block_arm.cpp | 115 int scale = SpecScale_window-pSfbScale[window*16+band]; local 116 if (scale) 125 tmp0 >>= scale; local 126 tmp1 >>= scale; local 127 tmp2 >>= scale; local 128 tmp3 >>= scale; local
|
/external/aac/libFDK/include/arm/ |
H A D | scale.h | 95 inline static INT shiftRightSat(INT src, int scale) argument 102 : "r"(src>>scale), "M"(SAMPLE_BITS) 108 #define SATURATE_INT_PCM_RIGHT_SHIFT(src, scale) shiftRightSat(src, scale) 110 inline static INT shiftLeftSat(INT src, int scale) argument 117 : "r"(src<<scale), "M"(SAMPLE_BITS) 123 #define SATURATE_INT_PCM_LEFT_SHIFT(src, scale) shiftLeftSat(src, scale) 143 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \ 144 ( (((LONG)(src) ^ ((LONG)(src) >> (DFRACT_BITS-1)))>>(scale)) > (LON [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
H A D | LeastSquaresConverter.java | 70 private final RealMatrix scale; field in class:LeastSquaresConverter 81 this.scale = null; 123 this.scale = null; 130 * objective = y<sup>T</sup>y with y = scale×(observation-objective) 140 * @param scale scaling matrix 141 * @exception IllegalArgumentException if the observations vector and the scale 146 final double[] observations, final RealMatrix scale) 148 if (observations.length != scale.getColumnDimension()) { 151 observations.length, scale.getColumnDimension()); 156 this.scale 145 LeastSquaresConverter(final MultivariateVectorialFunction function, final double[] observations, final RealMatrix scale) argument [all...] |
/external/dng_sdk/source/ |
H A D | dng_xy_coord.cpp | 60 real64 scale = 0.999999 / (temp.x + temp.y); local 61 temp.x *= scale; 62 temp.y *= scale;
|
/external/freetype/src/base/ |
H A D | ftadvanc.c | 32 FT_Fixed scale; local 43 scale = face->size->metrics.y_scale; 45 scale = face->size->metrics.x_scale; 51 advances[nn] = FT_MulDiv( advances[nn], scale, 64 ); 161 /* scale from 26.6 to 16.16 */
|
/external/iproute2/lib/ |
H A D | ipx_ntop.c | 8 static __inline__ int do_digit(char *str, u_int32_t addr, u_int32_t scale, size_t *pos, size_t len) argument 10 u_int32_t tmp = addr >> (scale * 4);
|
/external/libtextclassifier/common/ |
H A D | simple-adder.h | 38 const float scale) const { 39 ScaleAddImpl(source, num_floats_, scale, dest_); 51 // Simple fast while loop to implement dest += scale * source. 53 const float *__restrict source, uint32 size, const float scale, 56 dest[i] += source[i] * scale; 52 ScaleAddImpl( const float *__restrict source, uint32 size, const float scale, float *__restrict dest) argument
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_texture.c | 53 /* Compute sc = +/-scale and tc = +/-scale. 55 * though that can still sometimes happen with this scale factor... 57 * XXX: Yep, there is no safe scale factor that will prevent sampling 63 const float scale = allow_scale ? 0.9999f : 1.0f; local 64 const float sc = (2 * in_st[0] - 1) * scale; 65 const float tc = (2 * in_st[1] - 1) * scale;
|