/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | autocorr.cpp | 171 norm = normalized autocorrelation at lag zero of type Word16 207 Word16 i, j, norm; 252 norm = norm_l (sum); 253 sum = L_shl (sum, norm); 267 sum = L_shl (sum, norm); 271 norm = sub (norm, overfl_shft); 273 return norm; 311 Word16 norm; local 414 norm 416 sum <<= norm; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | autocorr.c | 40 Word32 i, norm, shift; local 70 norm = norm_l(L_sum); 71 shift = 4 - (norm >> 1); 98 norm = norm_l(L_sum); 99 L_sum = (L_sum << norm); 119 L_sum1 = L_sum1<<norm; 120 L_sum = L_sum<<norm;
|
H A D | pitch_f4.c | 173 Word32 corr, exp_corr, norm, exp, scale; local 235 norm = extract_h(L_tmp); 239 L_tmp = L_mult(corr, norm);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | VectorUtil.java | 39 public static double norm(double[] a) {
method in class:VectorUtil 53 double norm = norm(a);
54 a[0] /= norm;
55 a[1] /= norm;
56 a[2] /= norm;
|
/frameworks/rs/ |
H A D | rsComponent.cpp | 29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { argument 32 mNormalized = norm;
|
H A D | rsElement.cpp | 418 bool norm, 420 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); 415 rsi_ElementCreate(Context *rsc, RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) argument
|
H A D | rsScriptC_Lib.cpp | 280 bool norm, uint32_t vecSize) { 281 return rsi_ElementCreate(rsc, dt, dk, norm, vecSize); 279 rsrElementCreate(Context *rsc, RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) argument
|
/frameworks/av/services/audioflinger/ |
H A D | AudioMixerOps.h | 84 static const float norm = 1. / (1 << 12); local 85 return value * volume * norm; 90 static const float norm = 1. / (1 << 28); local 91 return value * volume * norm; 106 static const float norm = 1. / (1 << (15 + 12)); local 107 return static_cast<float>(value) * static_cast<float>(volume) * norm; 112 static const float norm = 1. / (1ULL << (15 + 28)); local 113 return static_cast<float>(value) * static_cast<float>(volume) * norm; 191 static const float norm = 1. / (1 << 15); local 192 *auxaccum += norm * valu 197 static const float norm = 1. / (1 << 27); local [all...] |
H A D | AudioResamplerFirGen.h | 550 double norm = 1./((1ULL<<(sizeof(T)*8-1))*L); local 552 firMin = fmin * norm; 553 firMax = fmax * norm;
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 180 public static float norm(float start, float stop, float value) { method in class:MathUtils
|
/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
H A D | multiclass_pa.cpp | 92 float norm = 0; local 94 norm += inputs[i] * inputs[i]; 96 return norm; 101 float norm = 0; local 103 norm += inputs[i].second * inputs[i].second; 105 return norm;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | sparse_weight_vector.cpp | 267 // and then reprojects to the L0 orthant with the requested norm. 270 // Compute order statistics and the current L0 norm. 310 // Compute order statistics and the current L1 norm. 361 int32 SparseWeightVector<Key, Hash>::Reproject(const double norm, argument 363 CHECK_GT(norm, 0); 365 ReprojectL0(norm); 367 ReprojectL1(norm); 369 ReprojectL2(norm);
|
H A D | sparse_weight_vector.h | 65 // 4. its L0 norm is close to zero. 72 void SetNormalizer(const double norm) { argument 73 normalizer_ = norm; 143 // L-x norm. eg. L1, L2. 157 // Reproject using the given norm. 159 int32 Reproject(const double norm, const RegularizationType r);
|
H A D | stochastic_linear_ranker.h | 118 void SetNormConstraint(const double norm) { argument 119 norm_constraint_ = norm;
|
/frameworks/rs/cpp/ |
H A D | Element.cpp | 275 RsDataType dt, RsDataKind dk, bool norm, uint32_t size) : 292 mNormalized = norm; 274 Element(void *id, android::RSC::sp<RS> rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AnyMotionDetector.java | 324 public float norm() { method in class:AnyMotionDetector.Vector3 329 float mag = norm(); 343 Math.atan2(crossVector.norm(), dotProduct(other))));
|
/frameworks/native/libs/input/ |
H A D | VelocityTracker.cpp | 476 float norm = vectorNorm(&q[j][0], m); local 477 if (norm < 0.000001f) { 480 ALOGD(" - no solution, norm=%f", norm); 485 float invNorm = 1.0f / norm;
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Element.java | 1077 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { argument 1092 mNormalized = norm; 1153 boolean norm = false; 1155 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 1156 return new Element(id, rs, dt, dk, norm, vecSize); 1192 boolean norm = false; 1193 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); 1194 return new Element(id, rs, dt, dk, norm, size); 1263 boolean norm = true; 1264 long id = rs.nElementCreate(dt.mID, dk.mID, norm, siz [all...] |
H A D | RenderScript.java | 408 native long rsnElementCreate(long con, long type, int kind, boolean norm, int vecSize); argument 409 synchronized long nElementCreate(long type, int kind, boolean norm, int vecSize) { argument 411 return rsnElementCreate(mContext, type, kind, norm, vecSize);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Element.java | 734 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { argument 749 mNormalized = norm; 774 boolean norm = false; 776 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 777 return new Element(id, rs, dt, dk, norm, vecSize); 812 boolean norm = false; 813 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); 814 return new Element(id, rs, dt, dk, norm, size); 880 boolean norm = true; 881 long id = rs.nElementCreate(dt.mID, dk.mID, norm, siz [all...] |
H A D | RenderScript.java | 341 native long rsnElementCreate(long con, long type, int kind, boolean norm, int vecSize); argument 342 synchronized long nElementCreate(long type, int kind, boolean norm, int vecSize) { argument 344 return rsnElementCreate(mContext, type, kind, norm, vecSize); 1017 native long rsnIncElementCreate(long con, long type, int kind, boolean norm, int vecSize); argument 1018 synchronized long nIncElementCreate(long type, int kind, boolean norm, int vecSize) { argument 1020 return rsnIncElementCreate(mIncCon, type, kind, norm, vecSize);
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 920 jboolean norm, jint size) 922 LOG_API("nElementCreate, con(%p), type(%i), kind(%i), norm(%i), size(%i)", (RsContext)con, 923 type, kind, norm, size); 927 norm, size); 2167 nIncElementCreate(JNIEnv *_env, jobject _this, jlong con, jlong type, jint kind, jboolean norm, jint size) argument 2169 LOG_API("nElementCreate, con(%p), type(%i), kind(%i), norm(%i), size(%i)", (RsContext)con, 2170 type, kind, norm, size); 2172 (RsDataKind)kind, norm, size); 919 nElementCreate(JNIEnv *_env, jobject _this, jlong con, jlong type, jint kind, jboolean norm, jint size) argument
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1057 nElementCreate(JNIEnv *_env, jobject _this, jlong con, jlong type, jint kind, jboolean norm, argument 1061 ALOGD("nElementCreate, con(%p), type(%" PRId64 "), kind(%i), norm(%i), size(%i)", (RsContext)con, 1062 type, kind, norm, size); 1065 norm, size);
|