/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | autocorr.c | 38 Word32 i, norm, shift; local 66 norm = norm_l(L_sum); 67 shift = 4 - (norm >> 1); 94 norm = norm_l(L_sum); 95 L_sum = (L_sum << norm); 115 L_sum1 = L_sum1<<norm; 116 L_sum = L_sum<<norm;
|
H A D | pitch_f4.c | 171 Word32 corr, exp_corr, norm, exp, scale; local 232 norm = extract_h(L_tmp); 236 L_tmp = vo_L_mult(corr, norm);
|
/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 register Word16 norm; local 414 norm 416 sum <<= norm; local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | NormFilter.java | 28 * Filter to calculate the 2-norm of the inputs. i.e. sqrt(x^2 + y^2) 45 .addOutputPort("norm", Signature.PORT_REQUIRED, floatT) 56 float norm = (float) Math.hypot(xValue, yValue); 57 if (mLogVerbose) Log.v(TAG, "Norm = " + norm); 58 OutputPort outPort = getConnectedOutputPort("norm"); 60 outFrame.setValue(norm);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BaseCluster.java | 189 double norm = 0; 191 norm += mCenter[i] * mCenter[i]; 193 norm = Math.sqrt(norm); 195 mCenter[i] /= norm; 203 double norm = 0; 206 norm += mCenter[i] * mCenter[i]; 208 norm = Math.sqrt(norm); 210 mCenter[i] /= norm; [all...] |
H A D | LocationCluster.java | 122 double norm = 0f; 125 norm += vector[i] * vector[i]; 127 norm = Math.sqrt(norm); 132 (vector[i] / norm) * Math.sin(radian);
|
/frameworks/rs/ |
H A D | rsComponent.h | 34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
|
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 | 381 bool norm, 383 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); 378 rsi_ElementCreate(Context *rsc, RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) argument
|
/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
H A D | multiclass_pa.cpp | 90 float norm = 0; local 92 norm += inputs[i] * inputs[i]; 94 return norm; 99 float norm = 0; local 101 norm += inputs[i].second * inputs[i].second; 103 return norm;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | stochastic_linear_ranker.h | 117 void SetNormConstraint(const double norm) { argument 118 norm_constraint_ = norm;
|
H A D | sparse_weight_vector.h | 64 // 4. its L0 norm is close to zero. 71 void SetNormalizer(const double norm) { argument 72 normalizer_ = norm; 142 // L-x norm. eg. L1, L2. 156 // Reproject using the given norm. 158 int32 Reproject(const double norm, const RegularizationType r);
|
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);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Element.java | 779 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { argument 794 mNormalized = norm; 854 boolean norm = false; 856 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 857 return new Element(id, rs, dt, dk, norm, vecSize); 892 boolean norm = false; 893 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); 894 return new Element(id, rs, dt, dk, norm, size); 963 boolean norm = true; 964 int id = rs.nElementCreate(dt.mID, dk.mID, norm, siz [all...] |
H A D | RenderScript.java | 276 native int rsnElementCreate(int con, int type, int kind, boolean norm, int vecSize); argument 277 synchronized int nElementCreate(int type, int kind, boolean norm, int vecSize) { argument 279 return rsnElementCreate(mContext, type, kind, norm, vecSize);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Element.java | 726 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { argument 741 mNormalized = norm; 763 boolean norm = false; 765 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); 766 return new Element(id, rs, dt, dk, norm, vecSize); 805 boolean norm = false; 806 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); 807 return new Element(id, rs, dt, dk, norm, size); 878 boolean norm = true; 879 int id = rs.nElementCreate(dt.mID, dk.mID, norm, siz [all...] |
H A D | RenderScript.java | 192 native int rsnElementCreate(int con, int type, int kind, boolean norm, int vecSize); argument 193 synchronized int nElementCreate(int type, int kind, boolean norm, int vecSize) { argument 195 return rsnElementCreate(mContext, type, kind, norm, vecSize);
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 151 public static float norm(float start, float stop, float value) { method in class:MathUtils
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
H A 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/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
H A 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/ |
H A D | Element.cpp | 244 RsDataType dt, RsDataKind dk, bool norm, uint32_t size) : 261 mNormalized = norm; 243 Element(void *id, android::RSC::sp<RS> rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size) argument
|
/frameworks/native/libs/input/ |
H A D | VelocityTracker.cpp | 474 float norm = vectorNorm(&q[j][0], m); local 475 if (norm < 0.000001f) { 478 ALOGD(" - no solution, norm=%f", norm); 483 float invNorm = 1.0f / norm;
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 582 GLboolean norm = glGetVertexAttrib(context, index, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED); local 588 index, size, type, norm, stride, ptr,
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 246 nElementCreate(JNIEnv *_env, jobject _this, RsContext con, jint type, jint kind, jboolean norm, jint size) argument 248 LOG_API("nElementCreate, con(%p), type(%i), kind(%i), norm(%i), size(%i)", con, type, kind, norm, size); 249 return (jint)rsElementCreate(con, (RsDataType)type, (RsDataKind)kind, norm, size);
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 350 nElementCreate(JNIEnv *_env, jobject _this, RsContext con, jint type, jint kind, jboolean norm, jint size) argument 352 LOG_API("nElementCreate, con(%p), type(%i), kind(%i), norm(%i), size(%i)", con, type, kind, norm, size); 353 return (jint)rsElementCreate(con, (RsDataType)type, (RsDataKind)kind, norm, size);
|