/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Element.java | 726 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { 741 mNormalized = norm; 763 boolean norm = false; 765 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 766 return new Element(id, rs, dt, dk, norm, vecSize); 805 boolean norm = false; 806 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); 807 return new Element(id, rs, dt, dk, norm, size); 878 boolean norm = true; 879 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size) [all...] |
/external/chromium_org/third_party/libxml/src/ |
xmlschemastypes.c | 2131 xmlChar *norm = NULL; local 5930 xmlSchemaValPtr norm; local 5959 xmlSchemaValPtr norm; local 5987 xmlSchemaValPtr norm; local [all...] |
/external/libxml2/ |
xmlschemastypes.c | 2131 xmlChar *norm = NULL; local 5937 xmlSchemaValPtr norm; local 5966 xmlSchemaValPtr norm; local 5994 xmlSchemaValPtr norm; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
bezier.c | 232 static INLINE void bezier_normal_at(const struct bezier *bez, float t, float *norm) 239 norm[0] = (bez->y2-bez->y1) * a + (bez->y3-bez->y2) * b + (bez->y4-bez->y3) * c; 240 norm[1] = -(bez->x2-bez->x1) * a - (bez->x3-bez->x2) * b - (bez->x4-bez->x3) * c; 281 float norm[4]; local 284 line_normal(l, norm); 285 line_normalize(norm); 287 tx = (norm[2] - norm[0]) * offset; 288 ty = (norm[3] - norm[1]) * offset [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
bezier.c | 232 static INLINE void bezier_normal_at(const struct bezier *bez, float t, float *norm) 239 norm[0] = (bez->y2-bez->y1) * a + (bez->y3-bez->y2) * b + (bez->y4-bez->y3) * c; 240 norm[1] = -(bez->x2-bez->x1) * a - (bez->x3-bez->x2) * b - (bez->x4-bez->x3) * c; 281 float norm[4]; local 284 line_normal(l, norm); 285 line_normalize(norm); 287 tx = (norm[2] - norm[0]) * offset; 288 ty = (norm[3] - norm[1]) * offset [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
bands.c | 119 /* We're adding one here to ensure the normalized band isn't larger than unity norm */ 359 opus_val16 norm; local 365 norm = EPSILON + celt_sqrt(EPSILON+MULT16_16(left,left)+MULT16_16(right,right)); 366 a1 = DIV32_16(SHL32(EXTEND32(left),14),norm); 367 a2 = DIV32_16(SHL32(EXTEND32(right),14),norm); 402 /* Compute the norm of X+Y and X-Y as |X|^2 + |Y|^2 +/- sum(xy) */ 699 mid and side because we know that 1) they have unit norm and 1363 celt_norm * OPUS_RESTRICT norm, * OPUS_RESTRICT norm2; local [all...] |
/external/libopus/celt/ |
bands.c | 119 /* We're adding one here to ensure the normalized band isn't larger than unity norm */ 359 opus_val16 norm; local 365 norm = EPSILON + celt_sqrt(EPSILON+MULT16_16(left,left)+MULT16_16(right,right)); 366 a1 = DIV32_16(SHL32(EXTEND32(left),14),norm); 367 a2 = DIV32_16(SHL32(EXTEND32(right),14),norm); 402 /* Compute the norm of X+Y and X-Y as |X|^2 + |Y|^2 +/- sum(xy) */ 699 mid and side because we know that 1) they have unit norm and 1363 celt_norm * OPUS_RESTRICT norm, * OPUS_RESTRICT norm2; local [all...] |
/external/eigen/test/ |
jacobisvd.cpp | 91 RealScalar residual = (m*x-rhs).norm(); 93 if(!test_isMuchSmallerThan(residual,rhs.norm())) 100 RealScalar residual_y = (m*y-rhs).norm(); 104 residual_y = (m*y-rhs).norm(); 117 // check minimal norm solutions 135 // use QR to find a reference minimal norm solution 161 std::cout << x21.norm() << " == " << x3.norm() << "\n";
|
geo_quaternion.cpp | 39 VERIFY(abs(q.norm() - 1) < largeEps); 88 if((q1.coeffs()-q2.coeffs()).norm() > 10*largeEps) 112 && (aa.axis() - v1.normalized()).norm() < 1.99 113 && (aa.axis() + v1.normalized()).norm() < 1.99)
|
sparse_solver.h | 96 // Compute the norm of the relative error 98 res_error = (refX - x).norm()/refX.norm(); 101 // Compute the relative residual norm 102 res_error = (b - A * x).norm()/b.norm();
|
umeyama.cpp | 116 const Scalar error = ( cR_t_umeyama*src - dst ).norm() / dst.norm(); 133 // Also if c is to small compared to t.norm(), problem is ill-posed (cf. Bug 744)
|
/external/eigen/unsupported/test/ |
BVH.cpp | 65 if((b1.center - b2.center).norm() < b1.radius + b2.radius) 82 double minimumOnObjectObject(const BallType &b1, const BallType &b2){ ++calls; return SQR((std::max)(0., (b1.center - b2.center).norm() - b1.radius - b2.radius)); } 84 double minimumOnObjectObject(const BallType &b, const VectorType &v){ ++calls; return SQR((std::max)(0., (b.center - v).norm() - b.radius)); }
|
/external/opencv/cvaux/src/ |
cvlevmarprojbandle.cpp | 1350 double norm = cvNorm(vectorX_points4D); local 1355 double norm = cvNorm(vectorX_projMatrs[i]); local 1384 double norm = cvNorm(matrsUk[i]); local 1390 double norm = cvNorm(matrsVi[i]); local 1427 double norm = cvNorm(matrsUk[i]); local 1433 double norm = cvNorm(matrsVi[i]); local [all...] |
/external/ceres-solver/internal/ceres/ |
normal_prior_test.cc | 76 // Compare the norm of the residual 83 double jacobian_diff_norm = (J - A).norm(); 115 // Compare the norm of the residual 121 // Compare the norm of the residual
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/ |
formatutils9.cpp | 504 // BYTE-norm FLOAT (Normalize) (can't be exactly represented as SHORT-norm) 506 // UNSIGNED_BYTE-norm UBYTE4N (Identity) or FLOAT (Normalize) 508 // SHORT-norm SHORT-norm (Identity) or FLOAT (Normalize) 510 // UNSIGNED_SHORT-norm USHORT-norm (Identity) or FLOAT (Normalize) 601 // Given a GL type & norm flag and a D3D type, ConversionRule provides the type conversion rule (Cast, Normalize, Identity, FixedToFloat). [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tscoll.cpp | 158 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 196 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 230 if(norm != UCOL_ON && !quick) { 234 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_test_conv.c | 179 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) || 188 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) || 331 /* float, fixed, sign, norm, width, len */ 427 } while (src_type == dst_type || src_type->norm != dst_type->norm); 440 /* float, fixed, sign, norm, width, len */
|
/external/eigen/Eigen/src/SparseCore/ |
SparseDot.h | 87 SparseMatrixBase<Derived>::norm() const function in class:Eigen::SparseMatrixBase
|
/external/eigen/bench/spbench/ |
spbenchsolver.h | 257 rel_error = (refX - x).norm()/refX.norm(); 260 // Compute the relative residual norm 263 rel_error = (b-temp).norm()/b.norm();
|
/external/icu/icu4c/source/test/intltest/ |
tscoll.cpp | 144 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 182 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 216 if(norm != UCOL_ON && !quick) { 220 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_conv.c | 179 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) || 188 if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) || 331 /* float, fixed, sign, norm, width, len */ 427 } while (src_type == dst_type || src_type->norm != dst_type->norm); 440 /* float, fixed, sign, norm, width, len */
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
lpc_masking_model.c | 84 int16_t norm; local 88 norm = WebRtcSpl_NormW32(R[0]); 91 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); 182 norm = WebRtcSpl_NormW32(temp3W32); 183 if ((Alpha_exp <= norm)||(temp3W32==0)) { 255 norm = WebRtcSpl_NormW32(temp1W32); 256 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); 262 Alpha_exp = Alpha_exp + norm; [all...] |
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/ |
remote_rate_control.cc | 272 const float norm = std::max(avg_max_bit_rate_, 1.0f); local 275 (avg_max_bit_rate_ - incoming_bit_rate_kbps) / norm;
|
/external/eigen/demos/opengl/ |
camera.cpp | 168 float dist = (position() - mTarget).norm(); 176 float dist = (position() - mTarget).norm();
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
lpc_masking_model.c | 84 WebRtc_Word16 norm; local 88 norm = WebRtcSpl_NormW32(R[0]); 91 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); 182 norm = WebRtcSpl_NormW32(temp3W32); 183 if ((Alpha_exp <= norm)||(temp3W32==0)) { 255 norm = WebRtcSpl_NormW32(temp1W32); 256 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); 262 Alpha_exp = Alpha_exp + norm; [all...] |