/external/opencv/cxcore/src/ |
H A D | cxnorm.cpp | 57 norm = _update_op_( norm, t0 ); \ 58 norm = _update_op_( norm, t1 ); \ 64 norm = _update_op_( norm, t0 ); \ 65 norm = _update_op_( norm, t1 ); \ 72 norm = _update_op_( norm, t 971 double norm = 0, norm_diff = 0; local [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | rotation_test.cc | 73 *result_listener << "squared norm is " << norm2; 318 double norm = 0; local 321 norm += axis_angle[i] * axis_angle[i]; 323 norm = sqrt(norm); 328 axis_angle[i] = axis_angle[i] * theta / norm; 350 double norm = 0; local 353 norm += quaternion[i] * quaternion[i]; 355 norm = sqrt(norm); 427 double norm = 0; local 526 double norm = 0; local 559 double norm = 0; local [all...] |
/external/chromium_org/third_party/libyuv/util/ |
H A D | psnr_main.cc | 534 const double norm = 1. / static_cast<double>(number_of_frames); local 535 cur_distortion_psnr->y *= norm; 536 cur_distortion_psnr->u *= norm; 537 cur_distortion_psnr->v *= norm; 538 cur_distortion_psnr->all *= norm; 539 cur_distortion_ssim->y *= norm; 540 cur_distortion_ssim->u *= norm; 541 cur_distortion_ssim->v *= norm; 542 cur_distortion_ssim->all *= norm;
|
/external/eigen/Eigen/src/Core/ |
H A D | VectorwiseOp.h | 120 EIGEN_MEMBER_FUNCTOR(norm, (Size+5) * NumTraits<Scalar>::MulCost + (Size-1)*NumTraits<Scalar>::AddCost); 303 /** \returns a row (or column) vector expression of the squared norm 313 /** \returns a row (or column) vector expression of the norm 319 * \sa DenseBase::norm() */ 320 const typename ReturnType<internal::member_norm,RealScalar>::Type norm() const function in class:Eigen::VectorwiseOp 324 /** \returns a row (or column) vector expression of the norm 333 /** \returns a row (or column) vector expression of the norm 342 /** \returns a row (or column) vector expression of the norm 542 normalized() const { return m_matrix.cwiseQuotient(extendedToOpposite(this->norm())); }
|
/external/eigen/Eigen/src/Geometry/ |
H A D | Quaternion.h | 111 /** \returns the squared norm of the quaternion's coefficients 112 * \sa QuaternionBase::norm(), MatrixBase::squaredNorm() 116 /** \returns the norm of the quaternion's coefficients 117 * \sa QuaternionBase::squaredNorm(), MatrixBase::norm() 119 inline Scalar norm() const { return coeffs().norm(); } function in class:Eigen::QuaternionBase 567 * do not need to have the same norm. 617 * do not need to have the same norm.
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | CollisionSystem.java | 686 public void set(Vector2 start, Vector2 end, Vector2 norm) { argument 689 mNormal.set(norm);
|
/external/stlport/src/ |
H A D | num_get_float.cpp | 232 static void _Stl_norm_and_round(uint64& p, int& norm, uint64 prodhi, uint64 prodlo) { argument 233 norm = 0; 247 norm = 1; 300 int norm; /* number of bits of normalization */ local 308 _Stl_norm_and_round(p, norm, prodhi, prodlo); 309 bexp += _Stl_twoexp[hi] - norm; 315 _Stl_norm_and_round(p, norm, prodhi, prodlo); 316 bexp += _Stl_twoexp[lo] - norm;
|
/external/svox/pico/lib/ |
H A D | picosig2.c | 1006 picoos_int32 *norm; local 1009 norm = sig_inObj->norm_window_p; 1011 norm[0] = 80224; 1012 norm[1] = 320832; 1013 norm[2] = 721696; 1014 norm[3] = 1282560; 1015 norm[4] = 2003104; 1016 norm[5] = 2882880; 1017 norm[6] = 3921376; 1018 norm[ [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | ucol_res.cpp | 374 UColAttributeValue norm; local 398 norm = normalizationMode; 498 ucol_setAttribute(result, UCOL_NORMALIZATION_MODE, norm, status);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | callcoll.c | 279 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 345 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 382 if(getTestOption(QUICK_OPTION) <= 0 && norm != UCOL_ON) { 386 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
|
H A D | cnormtst.c | 664 UChar norm[100]; local 673 norm + normsize, 100 - normsize, &status); 688 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) {
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | tstnorm.cpp | 166 Normalizer* norm = new Normalizer("", UNORM_NFD); local 171 backAndForth(norm, canonTests[i][0]); 175 norm->setMode(UNORM_NFC); 177 backAndForth(norm, canonTests[i][0]); 180 delete norm; 185 Normalizer* norm = new Normalizer("", UNORM_NFD); local 186 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); 188 delete norm; 193 Normalizer* norm = new Normalizer("", UNORM_NFKD); local 194 iterateTest(norm, compatTest 203 Normalizer* norm = new Normalizer("", UNORM_NFC); local 213 Normalizer* norm = new Normalizer("", UNORM_NFKC); local 233 Normalizer* norm = new Normalizer("", UNORM_NFC); local 255 Normalizer* norm = new Normalizer("", UNORM_NFD); local [all...] |
/external/chromium_org/third_party/icu/source/tools/dumpce/ |
H A D | dumpce.cpp | 1133 UChar norm[32]; local 1135 int size = unorm_normalize(ch1, se.count, UNORM_NFD, 0, norm, 32, 1140 if (u_strstr(norm, ch2) != NULL) {
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | arc.c | 205 double norm = vector_normalize(v); local 206 double cosa = v[0] / norm; 207 double sina = v[1] / norm;
|
H A D | bezier.c | 232 static INLINE void bezier_normal_at(const struct bezier *bez, float t, float *norm) argument 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[ [all...] |
H A D | matrix.h | 400 static INLINE void line_normal(float *l, float *norm) argument 402 norm[0] = l[0]; 403 norm[1] = l[1]; 405 norm[2] = l[0] + (l[3] - l[1]); 406 norm[3] = l[1] - (l[2] - l[0]);
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkStroke.cpp | 261 SkVector norm, unit; local 264 this->quad_to(&tmp[0], normalAB, unitNormalAB, &norm, &unit, subDivide); 265 this->quad_to(&tmp[2], norm, unit, normalBC, unitNormalBC, subDivide); 329 SkVector norm, unit, dummy, unitDummy; local 332 this->cubic_to(&tmp[0], normalAB, unitNormalAB, &norm, &unit, 336 this->cubic_to(&tmp[3], norm, unit, &dummy, &unitDummy, subDivide);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | 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;
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | callcoll.c | 279 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 345 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 382 if(getTestOption(QUICK_OPTION) <= 0 && norm != UCOL_ON) { 386 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
|
H A D | cnormtst.c | 664 UChar norm[100]; local 673 norm + normsize, 100 - normsize, &status); 688 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) {
|
/external/icu/icu4c/source/test/intltest/ |
H A D | tstnorm.cpp | 166 Normalizer* norm = new Normalizer("", UNORM_NFD); local 171 backAndForth(norm, canonTests[i][0]); 175 norm->setMode(UNORM_NFC); 177 backAndForth(norm, canonTests[i][0]); 180 delete norm; 185 Normalizer* norm = new Normalizer("", UNORM_NFD); local 186 iterateTest(norm, canonTests, ARRAY_LENGTH(canonTests), 1); 188 delete norm; 193 Normalizer* norm = new Normalizer("", UNORM_NFKD); local 194 iterateTest(norm, compatTest 203 Normalizer* norm = new Normalizer("", UNORM_NFC); local 213 Normalizer* norm = new Normalizer("", UNORM_NFKC); local 233 Normalizer* norm = new Normalizer("", UNORM_NFC); local 255 Normalizer* norm = new Normalizer("", UNORM_NFD); local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | arc.c | 205 double norm = vector_normalize(v); local 206 double cosa = v[0] / norm; 207 double sina = v[1] / norm;
|
H A D | bezier.c | 232 static INLINE void bezier_normal_at(const struct bezier *bez, float t, float *norm) argument 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[ [all...] |
H A D | matrix.h | 400 static INLINE void line_normal(float *l, float *norm) argument 402 norm[0] = l[0]; 403 norm[1] = l[1]; 405 norm[2] = l[0] + (l[3] - l[1]); 406 norm[3] = l[1] - (l[2] - l[0]);
|
/external/opencv/cvaux/src/ |
H A D | cvhmm.cpp | 1501 float norm; local 1508 norm = gamma_total ? (1.f/(float)gamma_total) : 0.f; 1512 first_state[i].weight[m] = ((int*)(first_state[i].weight))[m] * norm;
|