/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 ); 165 /* scale from 26.6 to 16.16, unless NO_SCALE was requested */
|
/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/libopus/silk/fixed/ |
H A D | find_pitch_lags_FIX.c | 45 opus_int buf_len, i, scale; local 88 silk_autocorr( auto_corr, &scale, Wsig, psEnc->sCmn.pitch_LPC_win_length, psEnc->sCmn.pitchEstimationLPCOrder + 1, arch );
|
H A D | warped_autocorrelation_FIX.c | 42 opus_int *scale, /* O Scaling of the correlation vector */ 78 *scale = -( QC + lsh ); 79 silk_assert( *scale >= -30 && *scale <= 12 ); 40 silk_warped_autocorrelation_FIX_c( 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 | 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/libxaac/decoder/ |
H A D | ixheaacd_thumb_ps_dec.c | 89 VOID ixheaacd_scale_ps_states(ia_ps_dec_struct *ptr_ps_dec, WORD16 scale) { argument 93 if (scale > 0) { 94 WORD16 scale1 = scale; 95 if (scale > 15) scale1 = 15; 124 scale); 126 scale = (scale + scale); 129 scale); 132 if (scale ! [all...] |
/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;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_sf_state.c | 48 float scale[3], translate[3]; local 72 _mesa_get_viewport_xform(ctx, 0, scale, translate); 73 sfv->viewport.m00 = scale[0]; 74 sfv->viewport.m11 = scale[1] * y_scale; 75 sfv->viewport.m22 = scale[2];
|
H A D | gen7_viewport_state.c | 65 float scale[3], translate[3]; local 66 _mesa_get_viewport_xform(ctx, i, scale, translate); 69 vp[i].viewport.m00 = scale[0]; 70 vp[i].viewport.m11 = scale[1] * y_scale; 71 vp[i].viewport.m22 = scale[2];
|
/external/mesa3d/src/mesa/tnl/ |
H A D | t_context.c | 194 float scale[3], translate[3]; local 195 _mesa_get_viewport_xform(ctx, 0, scale, translate); 196 _math_matrix_viewport(&tnl->_WindowMap, scale, translate,
|
/external/mesa3d/src/util/ |
H A D | format_srgb.h | 85 unsigned tab, bias, scale, t; local 100 /* Do the table lookup and unpack bias, scale */ 104 scale = tab & 0xffff; 108 return (uint8_t) ((bias + scale*t) >> 16);
|
/external/pdfium/fxbarcode/pdf417/ |
H A D | BC_PDF417BarcodeRow.cpp | 47 std::vector<uint8_t>& CBC_BarcodeRow::getScaledRow(int32_t scale) { argument 48 m_output.resize(m_row.size() * scale); 50 m_output[i] = m_row[i / scale];
|
/external/skia/bench/ |
H A D | ColorPrivBench.cpp | 53 // depends on scale. Even here, these must be volatile arrays to prevent that 58 const unsigned scale = fScales[j]; variable 61 junk ^= SkFastFourByteInterp(src, dst, scale); 63 junk ^= SkFastFourByteInterp256(src, dst, scale); 65 junk ^= SkFourByteInterp(src, dst, scale); 67 junk ^= SkFourByteInterp256(src, dst, scale);
|
/external/skia/gm/ |
H A D | filltypes.cpp | 40 SkScalar scale, const SkPaint& paint) { 49 canvas->scale(scale, scale); 55 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument 57 scale, paint); 59 scale, paint); 61 scale, paint); 63 scale, paint); 72 const SkScalar scale variable 39 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument [all...] |
/external/skia/src/codec/ |
H A D | SkRawAdapterCodec.cpp | 17 float scale = 1.f / static_cast<float>(sampleSize); local 18 return this->codec()->getScaledDimensions(scale);
|
H A D | SkWebpAdapterCodec.cpp | 17 float scale = get_scale_from_sample_size(sampleSize); local 18 return this->codec()->getScaledDimensions(scale);
|
/external/skia/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 | 34 SkUnPreMultiply::Scale scale = table[a]; local 35 r = SkUnPreMultiply::ApplyScale(scale, r); 36 g = SkUnPreMultiply::ApplyScale(scale, g); 37 b = SkUnPreMultiply::ApplyScale(scale, b);
|
/external/skqp/bench/ |
H A D | ColorPrivBench.cpp | 53 // depends on scale. Even here, these must be volatile arrays to prevent that 58 const unsigned scale = fScales[j]; variable 61 junk ^= SkFastFourByteInterp(src, dst, scale); 63 junk ^= SkFastFourByteInterp256(src, dst, scale); 65 junk ^= SkFourByteInterp(src, dst, scale); 67 junk ^= SkFourByteInterp256(src, dst, scale);
|
/external/skqp/gm/ |
H A D | filltypes.cpp | 40 SkScalar scale, const SkPaint& paint) { 49 canvas->scale(scale, scale); 55 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { argument 57 scale, paint); 59 scale, paint); 61 scale, paint); 63 scale, paint); 72 const SkScalar scale variable 39 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument [all...] |
/external/skqp/src/codec/ |
H A D | SkRawAdapterCodec.cpp | 17 float scale = 1.f / static_cast<float>(sampleSize); local 18 return this->codec()->getScaledDimensions(scale);
|
H A D | SkWebpAdapterCodec.cpp | 17 float scale = get_scale_from_sample_size(sampleSize); local 18 return this->codec()->getScaledDimensions(scale);
|