/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | VectorUtil.java | 39 public static double norm(double[] a) { in norm() method in VectorUtil 53 double norm = norm(a); in normalize() local 54 a[0] /= norm; in normalize() 55 a[1] /= norm; in normalize() 56 a[2] /= norm; in normalize()
|
D | Quaternion.java | 49 double norm = Math.sqrt(dot(a, a)); in normal() local 50 return new double[]{a[0] / norm, a[1] / norm, a[2] / norm}; in normal()
|
D | ViewMatrix.java | 281 VectorUtil.norm(zv); in look() 282 VectorUtil.norm(rv); in look() 301 VectorUtil.norm(zv); in lookAt() 302 VectorUtil.norm(rv); in lookAt()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | autocorr.c | 40 Word32 i, norm, shift; in Autocorr() local 70 norm = norm_l(L_sum); in Autocorr() 71 shift = 4 - (norm >> 1); in Autocorr() 98 norm = norm_l(L_sum); in Autocorr() 99 L_sum = (L_sum << norm); in Autocorr() 119 L_sum1 = L_sum1<<norm; in Autocorr() 120 L_sum = L_sum<<norm; in Autocorr()
|
D | pitch_f4.c | 173 Word32 corr, exp_corr, norm, exp, scale; in Norm_Corr() local 235 norm = extract_h(L_tmp); in Norm_Corr() 239 L_tmp = L_mult(corr, norm); in Norm_Corr()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | autocorr.cpp | 311 Word16 norm; in Autocorr() local 414 norm = norm_l(sum); in Autocorr() 416 sum <<= norm; in Autocorr() 448 sum <<= (norm + 1); in Autocorr() 455 norm -= overfl_shft; in Autocorr() 457 return (norm); in Autocorr()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioMixerOps.h | 84 static const float norm = 1. / (1 << 12); 85 return value * volume * norm; 90 static const float norm = 1. / (1 << 28); 91 return value * volume * norm; 106 static const float norm = 1. / (1 << (15 + 12)); 107 return static_cast<float>(value) * static_cast<float>(volume) * norm; 112 static const float norm = 1. / (1ULL << (15 + 28)); 113 return static_cast<float>(value) * static_cast<float>(volume) * norm; 191 static const float norm = 1. / (1 << 15); 192 *auxaccum += norm * value; [all …]
|
D | AudioResamplerFirGen.h | 550 double norm = 1./((1ULL<<(sizeof(T)*8-1))*L); 552 firMin = fmin * norm; 553 firMax = fmax * norm;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | NormFilter.java | 56 float norm = (float) Math.hypot(xValue, yValue); in onProcess() local 57 if (mLogVerbose) Log.v(TAG, "Norm = " + norm); in onProcess() 60 outFrame.setValue(norm); in onProcess()
|
/frameworks/native/libs/math/include/math/ |
D | TQuatHelpers.h | 175 constexpr T PURE norm(const QUATERNION<T>& q) { in norm() function 181 return norm(q); in length() 226 const T nq(norm(q.xyz)); in exp() 232 const T nq(norm(q)); in log() 233 return QUATERNION<T>((std::acos(q.w/nq)/norm(q.xyz))*q.xyz, log(nq)); in log() 239 const T nq(norm(q)); in pow()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | Vector3Test.java | 70 assertTrue(nearlyEqual(unitXAxis.norm(), 1.0f)); in testVector3Norm() 71 assertTrue(nearlyEqual(unitYAxis.norm(), 1.0f)); in testVector3Norm() 72 assertTrue(nearlyEqual(unitZAxis.norm(), 1.0f)); in testVector3Norm() 73 assertTrue(nearlyEqual(x1y1.norm(), (float)Math.sqrt(2))); in testVector3Norm()
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | Element.java | 734 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { in Element() argument 749 mNormalized = norm; in Element() 774 boolean norm = false; in createUser() 776 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser() 777 return new Element(id, rs, dt, dk, norm, vecSize); in createUser() 812 boolean norm = false; in createVector() 813 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createVector() 814 return new Element(id, rs, dt, dk, norm, size); in createVector() 880 boolean norm = true; in createPixel() 881 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createPixel() [all …]
|
D | RenderScript.java | 353 native long rsnElementCreate(long con, long type, int kind, boolean norm, int vecSize); in rsnElementCreate() argument 354 synchronized long nElementCreate(long type, int kind, boolean norm, int vecSize) { in nElementCreate() argument 356 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate() 1029 native long rsnIncElementCreate(long con, long type, int kind, boolean norm, int vecSize); in rsnIncElementCreate() argument 1030 synchronized long nIncElementCreate(long type, int kind, boolean norm, int vecSize) { in nIncElementCreate() argument 1032 return rsnIncElementCreate(mIncCon, type, kind, norm, vecSize); in nIncElementCreate()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 1076 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { in Element() argument 1091 mNormalized = norm; in Element() 1151 boolean norm = false; in createUser() 1153 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser() 1154 return new Element(id, rs, dt, dk, norm, vecSize); in createUser() 1190 boolean norm = false; in createVector() 1191 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createVector() 1192 return new Element(id, rs, dt, dk, norm, size); in createVector() 1261 boolean norm = true; in createPixel() 1262 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createPixel() [all …]
|
/frameworks/rs/ |
D | rsComponent.cpp | 29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { in set() argument 32 mNormalized = norm; in set()
|
D | rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
D | rsScriptC_Lib.cpp | 335 bool norm, uint32_t vecSize) { in rsrElementCreate() argument 336 return rsi_ElementCreate(rsc, dt, dk, norm, vecSize); in rsrElementCreate()
|
D | rsElement.cpp | 415 bool norm, in rsi_ElementCreate() argument 417 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); in rsi_ElementCreate()
|
D | rsRuntime.h | 163 bool norm, uint32_t vecSize);
|
/frameworks/base/services/core/java/com/android/server/ |
D | AnyMotionDetector.java | 377 public float norm() { in norm() method in AnyMotionDetector.Vector3 382 float mag = norm(); in normalized() 396 Math.atan2(crossVector.norm(), dotProduct(other)))); in angleBetween()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 475 float norm = vectorNorm(&q[j][0], m); in solveLeastSquares() local 476 if (norm < 0.000001f) { in solveLeastSquares() 479 ALOGD(" - no solution, norm=%f", norm); in solveLeastSquares() 484 float invNorm = 1.0f / norm; in solveLeastSquares()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
D | Norm_Corr_opt.s | 168 MOV r6, r6, ASR #16 @norm = extract_h(L_tmp) 170 ADD r12, r12, r12 @L_tmp = vo_L_mult(corr, norm)
|
/frameworks/base/core/java/android/util/ |
D | MathUtils.java | 177 public static float norm(float start, float stop, float value) { in norm() method in MathUtils
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
D | Norm_Corr_neon.s | 208 MOV r6, r6, ASR #16 @norm = extract_h(L_tmp) 210 ADD r12, r12, r12 @L_tmp = vo_L_mult(corr, norm)
|
/frameworks/rs/cpp/ |
D | Element.cpp | 274 RsDataType dt, RsDataKind dk, bool norm, uint32_t size) : in Element() argument 291 mNormalized = norm; in Element()
|