HomeSort by relevance Sort by last modified time
    Searched full:coeffs (Results 1 - 25 of 157) sorted by null

1 2 3 4 5 6 7

  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSConvolveTest.java 36 native boolean convolveTest(int X, int Y, byte[] input, byte[] output, float[] coeffs, boolean is3x3);
39 float[] coeffs = new float[9]; local
40 coeffs[0] = .5f;
41 coeffs[1] = .35f;
42 coeffs[2] = .1f;
43 coeffs[3] = 1.f;
44 coeffs[4] = 1.f;
45 coeffs[5] = 1.f;
46 coeffs[6] = .1f;
47 coeffs[7] = .35f
80 float[] coeffs = new float[25]; local
    [all...]
RSColorMatrixTest.java 36 native boolean colorMatrixTest(int X, int Y, byte[] input, byte[] output, float[] coeffs, int optionFlag);
46 float[] coeffs = new float[9]; local
47 coeffs[0] = 1.f;
48 coeffs[1] = 0.3f;
49 coeffs[2] = 0.7f;
50 coeffs[3] = 0.2f;
51 coeffs[4] = 1.f;
52 coeffs[5] = -0.1f;
53 coeffs[6] = -0.5f;
54 coeffs[7] = 0.2f
88 float[] coeffs = new float[9]; local
120 float[] coeffs = new float[16]; local
156 float[] coeffs = new float[9]; local
188 float[] coeffs = new float[9]; local
    [all...]
  /external/eigen/bench/
quat_slerp.cpp 13 return Q((a.coeffs() * (1.0-t) + b.coeffs() * t).normalized());
41 return Q(scale0 * a.coeffs() + scale1 * b.coeffs());
72 return Q(scale0 * a.coeffs() + scale1 * b.coeffs());
92 theta = /*M_PI -*/ Scalar(2)*std::asin( (a.coeffs()+b.coeffs()).norm()/2 );
94 theta = Scalar(2)*std::asin( (a.coeffs()-b.coeffs()).norm()/2 )
    [all...]
  /external/eigen/test/eigen2/
eigen2_regression.cpp 23 hyperplane->coeffs().resize(size + 1);
27 hyperplane->coeffs().coeffRef(j) = ei_random<Scalar>();
28 } while(ei_abs(hyperplane->coeffs().coeff(j)) < 0.5);
39 Scalar x = - (hyperplane->coeffs().start(size).cwise()*cur_point).sum();
40 cur_point *= hyperplane->coeffs().coeff(size) / x;
74 result.coeffs() *= original.coeffs().coeff(size)/result.coeffs().coeff(size);
75 typename VectorType::Scalar error = (result.coeffs() - original.coeffs()).norm() / original.coeffs().norm()
    [all...]
  /external/eigen/Eigen/src/Geometry/
Hyperplane.h 57 : m_coeffs(other.coeffs())
166 inline const Coefficients& coeffs() const { return m_coeffs; } function in class:Eigen::Hyperplane
171 inline Coefficients& coeffs() { return m_coeffs; } function in class:Eigen::Hyperplane
182 Scalar det = coeffs().coeff(0) * other.coeffs().coeff(1) - coeffs().coeff(1) * other.coeffs().coeff(0);
187 if(internal::abs(coeffs().coeff(1))>internal::abs(coeffs().coeff(0)))
188 return VectorType(coeffs().coeff(1), -coeffs().coeff(2)/coeffs().coeff(1)-coeffs().coeff(0))
    [all...]
Quaternion.h 60 inline Scalar x() const { return this->derived().coeffs().coeff(0); }
62 inline Scalar y() const { return this->derived().coeffs().coeff(1); }
64 inline Scalar z() const { return this->derived().coeffs().coeff(2); }
66 inline Scalar w() const { return this->derived().coeffs().coeff(3); }
69 inline Scalar& x() { return this->derived().coeffs().coeffRef(0); }
71 inline Scalar& y() { return this->derived().coeffs().coeffRef(1); }
73 inline Scalar& z() { return this->derived().coeffs().coeffRef(2); }
75 inline Scalar& w() { return this->derived().coeffs().coeffRef(3); }
78 inline const VectorBlock<const Coefficients,3> vec() const { return coeffs().template head<3>(); }
81 inline VectorBlock<Coefficients,3> vec() { return coeffs().template head<3>();
84 inline const typename internal::traits<Derived>::Coefficients& coeffs() const { return derived().coeffs(); } function in class:Eigen::QuaternionBase
87 inline typename internal::traits<Derived>::Coefficients& coeffs() { return derived().coeffs(); } function in class:Eigen::QuaternionBase
277 inline Coefficients& coeffs() { return m_coeffs;} function in class:Eigen::Quaternion
278 inline const Coefficients& coeffs() const { return m_coeffs;} function in class:Eigen::Quaternion
368 inline const Coefficients& coeffs() const { return m_coeffs;} function in class:Eigen::Map
404 inline Coefficients& coeffs() { return m_coeffs; } function in class:Eigen::Map
405 inline const Coefficients& coeffs() const { return m_coeffs; } function in class:Eigen::Map
    [all...]
Scaling.h 132 /** Constructs an axis aligned scaling expression from vector expression \a coeffs
133 * This is an alias for coeffs.asDiagonal()
136 static inline const DiagonalWrapper<const Derived> Scaling(const MatrixBase<Derived>& coeffs)
137 { return coeffs.asDiagonal(); }
  /external/eigen/Eigen/src/Eigen2Support/Geometry/
Hyperplane.h 155 inline const Coefficients& coeffs() const { return m_coeffs; } function in class:Eigen::Hyperplane
160 inline Coefficients& coeffs() { return m_coeffs; } function in class:Eigen::Hyperplane
171 Scalar det = coeffs().coeff(0) * other.coeffs().coeff(1) - coeffs().coeff(1) * other.coeffs().coeff(0);
176 if(ei_abs(coeffs().coeff(1))>ei_abs(coeffs().coeff(0)))
177 return VectorType(coeffs().coeff(1), -coeffs().coeff(2)/coeffs().coeff(1)-coeffs().coeff(0))
    [all...]
Scaling.h 72 explicit inline Scaling(const VectorType& coeffs) : m_coeffs(coeffs) {}
74 const VectorType& coeffs() const { return m_coeffs; } function in class:Eigen::Scaling
75 VectorType& coeffs() { return m_coeffs; } function in class:Eigen::Scaling
79 { return Scaling(coeffs().cwise() * other.coeffs()); }
90 { return coeffs().asDiagonal() * other; }
95 { return other * s.coeffs().asDiagonal(); }
103 { return coeffs().asDiagonal() * other; }
107 { return Scaling(coeffs().cwise().inverse());
    [all...]
  /external/eigen/test/
geo_quaternion.cpp 74 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs());
75 q1.coeffs().setRandom();
76 VERIFY_IS_APPROX(q1.coeffs(), (q1*q2).coeffs());
89 if((q1.coeffs()-q2.coeffs()).norm() > 10*largeEps)
167 q1.coeffs() = Vector4::Random().normalized();
168 q2.coeffs() = -q1.coeffs();
    [all...]
geo_hyperplane.cpp 111 CoeffsType converted_coeffs = HLine(pl).coeffs();
112 converted_coeffs *= (line_u.coeffs()[0])/(converted_coeffs[0]);
113 VERIFY(line_u.coeffs().isApprox(converted_coeffs));
131 p1->coeffs().setRandom();
135 VERIFY_IS_APPROX(p1->coeffs(), p2->coeffs());
136 VERIFY_IS_APPROX(p1->coeffs(), p3->coeffs());
  /frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
LVCS_Equaliser.c 66 BQ_C16_Coefs_t Coeffs;
83 Coeffs.A0 = (LVM_INT16) pEqualiserCoefTable[Offset].A0;
84 Coeffs.A1 = (LVM_INT16) pEqualiserCoefTable[Offset].A1;
85 Coeffs.A2 = (LVM_INT16) pEqualiserCoefTable[Offset].A2;
86 Coeffs.B1 = (LVM_INT16)-pEqualiserCoefTable[Offset].B1;
87 Coeffs.B2 = (LVM_INT16)-pEqualiserCoefTable[Offset].B2;
96 &Coeffs);
LVCS_ReverbGenerator.c 71 BQ_C16_Coefs_t Coeffs;
101 Coeffs.A0 = (LVM_INT16)pReverbCoefTable[Offset].A0;
102 Coeffs.A1 = (LVM_INT16)pReverbCoefTable[Offset].A1;
103 Coeffs.A2 = (LVM_INT16)pReverbCoefTable[Offset].A2;
104 Coeffs.B1 = (LVM_INT16)-pReverbCoefTable[Offset].B1;
105 Coeffs.B2 = (LVM_INT16)-pReverbCoefTable[Offset].B2;
113 &Coeffs);
  /external/eigen/Eigen/src/Core/
BandMatrix.h 60 inline const CoefficientsType& coeffs() const { return derived().coeffs(); } function in class:Eigen::internal::BandMatrixBase
63 inline CoefficientsType& coeffs() { return derived().coeffs(); } function in class:Eigen::internal::BandMatrixBase
72 Index len = coeffs().rows();
76 len = (std::min)(rows(),std::max<Index>(0,coeffs().rows() - (supers()-i)));
79 len = std::max<Index>(0,coeffs().rows() - (i + 1 - rows() + subs()));
80 return Block<CoefficientsType,Dynamic,1>(coeffs(), start, i, len, 1);
85 { return Block<CoefficientsType,1,SizeAtCompileTime>(coeffs(),supers(),0,1,(std::min)(rows(),cols())); }
89 { return Block<const CoefficientsType,1,SizeAtCompileTime>(coeffs(),supers(),0,1,(std::min)(rows(),cols()));
225 inline const CoefficientsType& coeffs() const { return m_coeffs; } function in class:Eigen::internal::BandMatrix
226 inline CoefficientsType& coeffs() { return m_coeffs; } function in class:Eigen::internal::BandMatrix
289 inline const CoefficientsType& coeffs() const { return m_coeffs; } function in class:Eigen::internal::BandMatrixWrapper
    [all...]
  /external/eigen/Eigen/src/Geometry/arch/
Geometry_SSE.h 25 __m128 a = _a.coeffs().template packet<Aligned>(0);
26 __m128 b = _b.coeffs().template packet<Aligned>(0);
68 const double* a = _a.coeffs().data();
69 Packet2d b_xy = _b.coeffs().template packet<Aligned>(0);
70 Packet2d b_zw = _b.coeffs().template packet<Aligned>(2);
  /external/skia/tools/
generate_fir_coeff.py 55 coeffs = []
71 coeffs.append(coverage * target_sum)
81 # The coeffs add up to too much. Subtract 1 from the ones which were rounded up the most.
85 # The coeffs add up to too little. Add 1 to the ones which were rounded down the most.
91 for coeff, coeff_rounded in zip(coeffs, coeffs_rounded)]
111 print "Adding %d to index %d to force round %f." % (delta, coeff_pkg[i].index, coeffs[coeff_pkg[i].index])
118 print sum(coeffs), hex(sum(coeffs_rounded))
  /external/chromium_org/third_party/skia/src/pathops/
SkDQuadImplicit.h 27 enum Coeffs {
  /external/skia/src/pathops/
SkDQuadImplicit.h 27 enum Coeffs {
  /external/eigen/Eigen/src/Eigen2Support/
LeastSquares.h 44 Vector3d coeffs; // will store the coefficients a, b, c
48 &coeffs,
53 * Now the vector \a coeffs is approximately
97 result->coeffRef(i) = - h.coeffs()[i] / h.coeffs()[funcOfOthers];
99 result->coeffRef(i) = - h.coeffs()[i+1] / h.coeffs()[funcOfOthers];
140 ei_assert(size+1 == result->coeffs().size());
  /external/eigen/doc/special_examples/
Tutorial_sparse_example_details.cpp 8 void insertCoefficient(int id, int i, int j, double w, std::vector<T>& coeffs,
16 else coeffs.push_back(T(id,id1,w)); // unknown coefficient
  /frameworks/av/media/libeffects/lvm/lib/Reverb/src/
LVREV_ApplyNewSettings.c 80 FO_C32_Coefs_t Coeffs;
83 LVM_FO_HPF(Omega, &Coeffs);
84 FO_1I_D32F32Cll_TRC_WRA_01_Init( &pPrivate->pFastCoef->HPCoefs, &pPrivate->pFastData->HPTaps, &Coeffs);
99 FO_C32_Coefs_t Coeffs;
102 Coeffs.A0 = 0x7FFFFFFF;
103 Coeffs.A1 = 0;
104 Coeffs.B1 = 0;
114 LVM_FO_LPF(Omega, &Coeffs);
117 FO_1I_D32F32Cll_TRC_WRA_01_Init( &pPrivate->pFastCoef->LPCoefs, &pPrivate->pFastData->LPTaps, &Coeffs);
248 FO_C32_Coefs_t Coeffs;
    [all...]
  /cts/tests/tests/rscpp/librscpptest/
rs_jni.cpp 89 jfloat * coeffs = env->GetFloatArrayElements(coeffArray, NULL); local
108 convolve->setCoefficients(coeffs);
113 convolve->setCoefficients(coeffs);
121 env->ReleaseFloatArrayElements(coeffArray, coeffs, JNI_ABORT);
214 jfloat * coeffs = env->GetFloatArrayElements(coeffArray, NULL); local
230 cm->setColorMatrix3(coeffs);
234 cm->setColorMatrix4(coeffs);
240 cm->setColorMatrix4(coeffs);
250 env->ReleaseFloatArrayElements(coeffArray, coeffs, JNI_ABORT);
  /external/opencv/cvaux/src/
cvepilines.cpp 100 CvStereoLineCoeff* coeffs,
116 partX = coeffs->Xcoef + coeffs->XcoefA *alpha +
117 coeffs->XcoefB*betta + coeffs->XcoefAB*alphabetta;
119 partY = coeffs->Ycoef + coeffs->YcoefA *alpha +
120 coeffs->YcoefB*betta + coeffs->YcoefAB*alphabetta;
122 partZ = coeffs->Zcoef + coeffs->ZcoefA *alpha
    [all...]
  /external/speex/libspeex/
cb_search.h 57 int p, /* number of LPC coeffs */
83 int p, /* number of LPC coeffs */
  /external/libvpx/libvpx/vp8/encoder/arm/armv6/
vp8_fast_quantize_b_armv6.asm 39 mov r1, #0 ; flags for quantized coeffs
75 orrne r1, r1, r2, lsr #24 ; add flag for nonzero coeffs
85 orrne r1, r1, r2, lsr #23 ; add flag for nonzero coeffs
107 cmp r1, #0 ; coeffs after quantization?

Completed in 3505 milliseconds

1 2 3 4 5 6 7