/external/eigen/Eigen/src/SparseCore/ |
SparseDot.h | 87 SparseMatrixBase<Derived>::norm() const function in class:Eigen::SparseMatrixBase
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
whitebalancetest.cpp | 111 float norm = color/ 255.0f; local 115 if (norm > 0.04045f) { 116 linearColor = pow(((norm + 0.055f) / 1.055f), 2.4f); 118 linearColor = norm / 12.92f;
|
/external/eigen/Eigen/src/Core/ |
Dot.h | 58 * \sa squaredNorm(), norm() 104 //---------- implementation of L2 norm and related functions ---------- 106 /** \returns, for vectors, the squared \em l2 norm of \c *this, and for matrices the Frobenius norm. 110 * \sa dot(), norm() 118 /** \returns, for vectors, the \em l2 norm of \c *this, and for matrices the Frobenius norm. 125 inline typename NumTraits<typename internal::traits<Derived>::Scalar>::Real MatrixBase<Derived>::norm() const function in class:Eigen::MatrixBase 131 /** \returns an expression of the quotient of *this by its own norm. 135 * \sa norm(), normalize( [all...] |
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
levinson_durbin.c | 38 int16_t norm; local 42 norm = WebRtcSpl_NormW32(R[0]); 46 temp1W32 = WEBRTC_SPL_LSHIFT_W32(R[i], norm); 142 norm = WebRtcSpl_NormW32(temp3W32); 143 if ((Alpha_exp <= norm) || (temp3W32 == 0)) 224 norm = WebRtcSpl_NormW32(temp1W32); 225 temp1W32 = WEBRTC_SPL_LSHIFT_W32(temp1W32, norm); 232 Alpha_exp = Alpha_exp + norm;
|
/external/eigen/blas/ |
level1_impl.h | 113 RealScalar norm,scale; local 123 norm = scale*sqrt((numext::abs2(a/scale)) + (numext::abs2(b/scale))); 125 *c = abs(a)/norm; 126 *s = alpha*numext::conj(b)/norm; 127 a = alpha*norm;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Image.cpp | 107 FloatRect norm = rect; local 108 if (norm.width() < 0) { 109 norm.setX(norm.x() + norm.width()); 110 norm.setWidth(-norm.width()); 112 if (norm.height() < 0) { 113 norm.setY(norm.y() + norm.height()) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_type.h | 109 unsigned norm:1; member in struct:lp_type 271 res_type.norm = TRUE; 344 type.norm = FALSE; 360 type.norm = FALSE; 376 type.norm = TRUE;
|
/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/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_type.h | 109 unsigned norm:1; member in struct:lp_type 271 res_type.norm = TRUE; 344 type.norm = FALSE; 360 type.norm = FALSE; 376 type.norm = TRUE;
|
/external/ceres-solver/internal/ceres/ |
incomplete_lq_factorization.cc | 44 // Normalize a row and return it's norm. 50 double norm = 0.0; local 52 norm += values[i] * values[i]; 55 norm = sqrt(norm); 56 const double inverse_norm = 1.0 / norm; 61 return norm;
|
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/icu/source/test/intltest/ |
tscoll.cpp | 162 UColAttributeValue norm = ucol_getAttribute(myCollation, UCOL_NORMALIZATION_MODE, &status); local 200 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); 234 if(norm != UCOL_ON && !quick) { 238 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status);
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_rasterpos.c | 378 GLfloat *norm, eyenorm[3]; local 438 norm = eyenorm; 441 norm = objnorm; 447 shade_rastpos( ctx, vObj, norm, 466 compute_texgen(ctx, vObj, eye, norm, u, tc);
|
t_vb_texgen.c | 107 const GLfloat *norm = normal->start; local 110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 114 two_nu = 2.0F * DOT3(norm,u); 115 fx = f[i][0] = u[0] - norm[0] * two_nu; 116 fy = f[i][1] = u[1] - norm[1] * two_nu; 117 fz = f[i][2] = u[2] - norm[2] * two_nu; 135 GLfloat *norm = normal->start; local 138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 143 two_nu = 2.0F * DOT3(norm,u); 144 fx = f[i][0] = u[0] - norm[0] * two_nu 184 GLfloat *norm = normal->start; local 210 GLfloat *norm = normal->start; local 284 const GLfloat *norm = normal->start; local 389 const GLfloat *norm = normal->start; local 422 const GLfloat *norm = normal->start; local 451 const GLfloat *norm = normal->start; local [all...] |
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/ |
content_analysis.cc | 252 const float norm = (float)pixelMSA; local 255 spatial_pred_err_ = spatialErr / norm; 257 spatial_pred_err_h_ = spatialErrH / norm; 259 spatial_pred_err_v_ = spatialErrV / norm;
|
content_analysis_sse2.cc | 250 const float norm = (float)pixelMSA; local 253 spatial_pred_err_ = spatialErr / norm; 256 spatial_pred_err_h_ = spatialErrH / norm; 259 spatial_pred_err_v_ = spatialErrV / norm;
|
/external/chromium_org/ui/events/gesture_detection/ |
velocity_tracker.cc | 509 float norm = VectorNorm(&q[j][0], m); local 510 if (norm < 0.000001f) { 515 float invNorm = 1.0f / norm;
|
/external/eigen/Eigen/src/Eigenvalues/ |
RealSchur.h | 237 Index findSmallSubdiagEntry(Index iu, const Scalar& norm); 283 Scalar norm = computeNormOfT(); local 285 if(norm!=0) 289 Index il = findSmallSubdiagEntry(iu, norm); 330 /** \internal Computes and returns vector L1 norm of T */ 336 // Scalar norm = m_matT.upper().cwiseAbs().sum() 338 Scalar norm(0); 340 norm += m_matT.col(j).segment(0, (std::min)(size,j+2)).cwiseAbs().sum(); 341 return norm; 346 inline typename MatrixType::Index RealSchur<MatrixType>::findSmallSubdiagEntry(Index iu, const Scalar& norm) [all...] |
/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/mesa/tnl/ |
t_rasterpos.c | 378 GLfloat *norm, eyenorm[3]; local 438 norm = eyenorm; 441 norm = objnorm; 447 shade_rastpos( ctx, vObj, norm, 466 compute_texgen(ctx, vObj, eye, norm, u, tc);
|
t_vb_texgen.c | 107 const GLfloat *norm = normal->start; local 110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 114 two_nu = 2.0F * DOT3(norm,u); 115 fx = f[i][0] = u[0] - norm[0] * two_nu; 116 fy = f[i][1] = u[1] - norm[1] * two_nu; 117 fz = f[i][2] = u[2] - norm[2] * two_nu; 135 GLfloat *norm = normal->start; local 138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 143 two_nu = 2.0F * DOT3(norm,u); 144 fx = f[i][0] = u[0] - norm[0] * two_nu 184 GLfloat *norm = normal->start; local 210 GLfloat *norm = normal->start; local 284 const GLfloat *norm = normal->start; local 389 const GLfloat *norm = normal->start; local 422 const GLfloat *norm = normal->start; local 451 const GLfloat *norm = normal->start; local [all...] |
/external/opencv/cxcore/src/ |
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, t0 ); 971 double norm = 0, norm_diff = 0; local [all...] |
/external/chromium_org/third_party/libyuv/util/ |
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/Eigen2Support/Geometry/ |
Quaternion.h | 139 /** \returns the squared norm of the quaternion's coefficients 140 * \sa Quaternion::norm(), MatrixBase::squaredNorm() 144 /** \returns the norm of the quaternion's coefficients 145 * \sa Quaternion::squaredNorm(), MatrixBase::norm() 147 inline Scalar norm() const { return m_coeffs.norm(); } function in class:Eigen::Quaternion
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
Tnaf.java | 75 * Computes the norm of an element <code>λ</code> of 80 * @return The norm of <code>λ</code>. 82 public static BigInteger norm(final byte mu, ZTauElement lambda) method in class:Tnaf 84 BigInteger norm; local 97 norm = s1.add(s2).add(s3); 101 norm = s1.subtract(s2).add(s3); 108 return norm; 112 * Computes the norm of an element <code>λ</code> of 121 * @return The norm of <code>λ</code>. 123 public static SimpleBigDecimal norm(final byte mu, SimpleBigDecimal u method in class:Tnaf 126 SimpleBigDecimal norm; local 321 BigInteger norm = norm(mu, lambda); local 717 BigInteger norm = norm(mu, lambda); local [all...] |