Searched defs:norm (Results 51 - 75 of 81) sorted by relevance

1234

/external/opencv/cvaux/src/
H A Dcvlevmarprojbandle.cpp1051 /* !!! may be useful to return norm of error */
1350 double norm = cvNorm(vectorX_points4D); local
1351 fprintf(file," test 6.01 prev normPnts=%lf\n",norm);
1355 double norm = cvNorm(vectorX_projMatrs[i]); local
1356 fprintf(file," test 6.01 prev normProj=%lf\n",norm);
1384 double norm = cvNorm(matrsUk[i]); local
1385 fprintf(file," test 6.01 prev matrsUk=%lf\n",norm);
1390 double norm = cvNorm(matrsVi[i]); local
1391 fprintf(file," test 6.01 prev matrsVi=%lf\n",norm);
1427 double norm local
1433 double norm = cvNorm(matrsVi[i]); local
[all...]
H A Dcvlmeds.cpp682 double norm, summ, best_norm; local
806 norm = 0;
819 norm += summ * summ;
822 norm = sqrt( norm );
824 if( best_norm == -1 || norm < best_norm )
830 best_norm = norm;
H A Dcvtrifocal.cpp2417 double norm; local
2421 norm = 0;
2423 norm += vectorX[i]*vectorX[i];
2424 norm = sqrt(norm);
2426 vectorX[i] /= norm;
2429 norm = 0;
2431 norm += vectorY[i]*vectorY[i];
2432 norm = sqrt(norm);
[all...]
/external/opencv/cxcore/src/
H A Dcxutils.cpp716 double norm = 0, v; local
728 norm += v*v;
730 norm = sqrt(norm);
736 norm += v;
742 norm = MAX(norm,v);
745 norm = norm > DBL_EPSILON ? 1./norm
[all...]
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Ddwt.c491 /* Get norm of 5-3 wavelet. */
514 /* Get norm of 9-7 wavelet. */
534 OPJ_FLOAT64 norm = opj_dwt_norms_real[orient][level]; local
535 stepsize = (1 << (gain)) / norm;
/external/qemu/android/skin/
H A Dtrackball.c90 norm( int dx, int dy ) function
421 if ( norm( ball->acc_x, ball->acc_y ) > ball->acc_threshold )
/external/skia/src/core/
H A DSkStroke.cpp261 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/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dlpc_masking_model.c84 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;
/external/chromium_org/third_party/cld/encodings/compact_lang_det/
H A Dcompact_lang_det_impl.cc1746 void MakeChar4(const char* str, char* norm) { argument
1747 memcpy(norm, "____", 4); // four underscores
1753 norm[l_ptr] = kCharsetToLowerTbl[uc];
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dssearch.cpp182 const UnicodeString *norm = testCase->getAttribute("norm"); local
183 TEST_ASSERT (norm==NULL || *norm=="ON" || *norm=="OFF");
184 if (norm!=NULL && *norm=="ON") {
/external/chromium_org/third_party/icu/source/tools/gennorm2/
H A Dn2builder.cpp407 UBool Normalizer2DataBuilder::combinesWithCCBetween(const Norm &norm, argument
411 const CompositionPair *pairs=norm.getCompositionPairs(length);
422 UChar32 Normalizer2DataBuilder::combine(const Norm &norm, UChar32 trail) const { argument
424 const CompositionPair *pairs=norm.getCompositionPairs(length);
449 Norm &norm=norms[value]; local
450 const UnicodeString &m=*norm.mapping;
467 if(norm.mappingType==Norm::ROUND_TRIP) {
509 if(norm.mappingType==Norm::ROUND_TRIP && prev!=0) {
527 if(norm.rawMapping==NULL) {
529 norm
1057 const Norm &norm=norms[i]; local
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dbands.c119 /* 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
1383 /* No need to allocate norm for the last band because we don't need an
1386 norm
[all...]
H A Dcelt_encoder.c257 opus_val32 norm; local
341 norm = SHL32(EXTEND32(len2),6+14)/ADD32(EPSILON,SHR32(mean,1));
349 id = IMAX(0,IMIN(127,MULT16_32_Q15(tmp[i],norm))); /* Do not round to nearest */
351 id = IMAX(0,IMIN(127,(int)floor(64*norm*tmp[i]))); /* Do not round to nearest */
864 /* Use the L1 norm to model the entropy of the L/R signal vs the M/S signal */
/external/icu/icu4c/source/test/intltest/
H A Dcollationtest.cpp116 UBool getCollationKey(const char *norm, const UnicodeString &line,
119 UBool checkCompareTwo(const char *norm, const UnicodeString &prevFileLine,
1305 UBool CollationTest::getCollationKey(const char *norm, const UnicodeString &line,
1313 norm, errorCode.errorName());
1322 norm);
1343 errln("Collator(%s).getCollationKey() contains a 00 byte", norm);
1353 norm, (int)numLevelSeparators, (int)numLevels);
1416 norm);
1431 norm, (int)partSize, errorCode.errorName());
1438 norm, (in
1477 checkCompareTwo(const char *norm, const UnicodeString &prevFileLine, const UnicodeString &prevString, const UnicodeString &s, UCollationResult expectedOrder, Collation::Level expectedLevel, IcuTestErrorCode &errorCode) argument
[all...]
H A Dssearch.cpp182 const UnicodeString *norm = testCase->getAttribute("norm"); local
183 TEST_ASSERT (norm==NULL || *norm=="ON" || *norm=="OFF");
184 if (norm!=NULL && *norm=="ON") {
/external/icu/icu4c/source/tools/gennorm2/
H A Dn2builder.cpp407 UBool Normalizer2DataBuilder::combinesWithCCBetween(const Norm &norm, argument
411 const CompositionPair *pairs=norm.getCompositionPairs(length);
422 UChar32 Normalizer2DataBuilder::combine(const Norm &norm, UChar32 trail) const { argument
424 const CompositionPair *pairs=norm.getCompositionPairs(length);
449 Norm &norm=norms[value]; local
450 const UnicodeString &m=*norm.mapping;
467 if(norm.mappingType==Norm::ROUND_TRIP) {
509 if(norm.mappingType==Norm::ROUND_TRIP && prev!=0) {
527 if(norm.rawMapping==NULL) {
529 norm
1057 const Norm &norm=norms[i]; local
[all...]
/external/libopus/celt/
H A Dbands.c119 /* 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
1383 /* No need to allocate norm for the last band because we don't need an
1386 norm
[all...]
H A Dcelt_encoder.c257 opus_val32 norm; local
341 norm = SHL32(EXTEND32(len2),6+14)/ADD32(EPSILON,SHR32(mean,1));
349 id = IMAX(0,IMIN(127,MULT16_32_Q15(tmp[i],norm))); /* Do not round to nearest */
351 id = IMAX(0,IMIN(127,(int)floor(64*norm*tmp[i]))); /* Do not round to nearest */
864 /* Use the L1 norm to model the entropy of the L/R signal vs the M/S signal */
/external/opencv/ml/src/
H A Dml_inner_functions.cpp330 float rad, norm, coefficient; local
357 norm = (float) cvNorm (&sample, 0, CV_L2);
358 coefficient = rad / norm;
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dlibtommath.c1695 int res, n, t, i, norm, neg; local
1741 norm = mp_count_bits(&y) % DIGIT_BIT;
1742 if (norm < (int)(DIGIT_BIT-1)) {
1743 norm = (DIGIT_BIT-1) - norm;
1744 if ((res = mp_mul_2d (&x, norm, &x)) != MP_OKAY) {
1747 if ((res = mp_mul_2d (&y, norm, &y)) != MP_OKAY) {
1751 norm = 0;
1861 mp_div_2d (&x, norm, &x, NULL);
/external/wpa_supplicant_8/src/tls/
H A Dlibtommath.c1695 int res, n, t, i, norm, neg; local
1741 norm = mp_count_bits(&y) % DIGIT_BIT;
1742 if (norm < (int)(DIGIT_BIT-1)) {
1743 norm = (DIGIT_BIT-1) - norm;
1744 if ((res = mp_mul_2d (&x, norm, &x)) != MP_OKAY) {
1747 if ((res = mp_mul_2d (&y, norm, &y)) != MP_OKAY) {
1751 norm = 0;
1861 mp_div_2d (&x, norm, &x, NULL);
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dlibtommath.c1695 int res, n, t, i, norm, neg; local
1741 norm = mp_count_bits(&y) % DIGIT_BIT;
1742 if (norm < (int)(DIGIT_BIT-1)) {
1743 norm = (DIGIT_BIT-1) - norm;
1744 if ((res = mp_mul_2d (&x, norm, &x)) != MP_OKAY) {
1747 if ((res = mp_mul_2d (&y, norm, &y)) != MP_OKAY) {
1751 norm = 0;
1861 mp_div_2d (&x, norm, &x, NULL);
/external/chromium_org/third_party/icu/source/i18n/
H A Dusearch.cpp858 UChar *norm = NULL; local
867 norm = (UChar *)allocateMemory((size + 1) * sizeof(UChar),
872 size = unorm_normalize(text, safeoffset, UNORM_NFD, 0, norm,
874 if (U_FAILURE(*status) && norm != NULL) {
875 uprv_free(norm);
880 norm = buffer;
884 ucol_setText(coleiter, norm, size, status);
896 U16_PREV(norm, 0, offset, codepoint);
899 if (norm != buffer) {
900 uprv_free(norm);
[all...]
/external/icu/icu4c/source/i18n/
H A Dusearch.cpp845 UChar *norm = NULL; local
854 norm = (UChar *)allocateMemory((size + 1) * sizeof(UChar),
859 size = unorm_normalize(text, safeoffset, UNORM_NFD, 0, norm,
861 if (U_FAILURE(*status) && norm != NULL) {
862 uprv_free(norm);
867 norm = buffer;
871 ucol_setText(coleiter, norm, size, status);
883 U16_PREV(norm, 0, offset, codepoint);
886 if (norm != buffer) {
887 uprv_free(norm);
[all...]
/external/chromium_org/third_party/libxml/src/
H A Dxmlschemastypes.c2131 xmlChar *norm = NULL; local
2154 norm = xmlSchemaWhiteSpaceReplace(value);
2156 norm = xmlSchemaCollapseString(value);
2157 if (norm != NULL)
2158 value = norm;
2206 norm = xmlSchemaCollapseString(value);
2208 norm = xmlSchemaWhiteSpaceReplace(value);
2209 if (norm != NULL)
2210 value = norm;
2225 norm
5930 xmlSchemaValPtr norm; local
5959 xmlSchemaValPtr norm; local
5987 xmlSchemaValPtr norm; local
[all...]

Completed in 749 milliseconds

1234