Home
last modified time | relevance | path

Searched refs:norm (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dautocorr.c38 Word32 i, norm, shift; in Autocorr() local
66 norm = norm_l(L_sum); in Autocorr()
67 shift = 4 - (norm >> 1); in Autocorr()
94 norm = norm_l(L_sum); in Autocorr()
95 L_sum = (L_sum << norm); in Autocorr()
115 L_sum1 = L_sum1<<norm; in Autocorr()
116 L_sum = L_sum<<norm; in Autocorr()
Dpitch_f4.c171 Word32 corr, exp_corr, norm, exp, scale; in Norm_Corr() local
232 norm = extract_h(L_tmp); in Norm_Corr()
236 L_tmp = vo_L_mult(corr, norm); in Norm_Corr()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dautocorr.cpp311 register 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/ml/bordeaux/learning/multiclass_pa/native/
Dmulticlass_pa.cpp90 float norm = 0; in L2NormSquare() local
92 norm += inputs[i] * inputs[i]; in L2NormSquare()
94 return norm; in L2NormSquare()
99 float norm = 0; in SparseL2NormSquare() local
101 norm += inputs[i].second * inputs[i].second; in SparseL2NormSquare()
103 return norm; in SparseL2NormSquare()
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DElement.java726 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { in Element() argument
741 mNormalized = norm; in Element()
760 boolean norm = false; in createUser()
762 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser()
763 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
798 boolean norm = false; in createVector()
799 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createVector()
800 return new Element(id, rs, dt, dk, norm, size); in createVector()
860 boolean norm = true; in createPixel()
861 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createPixel()
[all …]
DRenderScript.java152 native int rsnElementCreate(int con, int type, int kind, boolean norm, int vecSize); in rsnElementCreate() argument
153 synchronized int nElementCreate(int type, int kind, boolean norm, int vecSize) { in nElementCreate() argument
155 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate()
/frameworks/base/graphics/java/android/renderscript/
DElement.java765 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { in Element() argument
780 mNormalized = norm; in Element()
840 boolean norm = false; in createUser()
842 int id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser()
843 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
878 boolean norm = false; in createVector()
879 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createVector()
880 return new Element(id, rs, dt, dk, norm, size); in createVector()
948 boolean norm = true; in createPixel()
949 int id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createPixel()
[all …]
DRenderScript.java221 native int rsnElementCreate(int con, int type, int kind, boolean norm, int vecSize); in rsnElementCreate() argument
222 synchronized int nElementCreate(int type, int kind, boolean norm, int vecSize) { in nElementCreate() argument
224 return rsnElementCreate(mContext, type, kind, norm, vecSize); in nElementCreate()
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dsparse_weight_vector.h71 void SetNormalizer(const double norm) { in SetNormalizer() argument
72 normalizer_ = norm; in SetNormalizer()
158 int32 Reproject(const double norm, const RegularizationType r);
Dsparse_weight_vector.cpp361 int32 SparseWeightVector<Key, Hash>::Reproject(const double norm, in Reproject() argument
363 CHECK_GT(norm, 0); in Reproject()
365 ReprojectL0(norm); in Reproject()
367 ReprojectL1(norm); in Reproject()
369 ReprojectL2(norm); in Reproject()
Dstochastic_linear_ranker.h117 void SetNormConstraint(const double norm) { in SetNormConstraint() argument
118 norm_constraint_ = norm; in SetNormConstraint()
/frameworks/support/renderscript/v8/rs_support/
DrsComponent.cpp29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { in set() argument
32 mNormalized = norm; in set()
DrsComponent.h34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
DrsElement.cpp387 bool norm, in rsi_ElementCreate() argument
389 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); in rsi_ElementCreate()
/frameworks/rs/
DrsComponent.cpp29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) { in set() argument
32 mNormalized = norm; in set()
DrsComponent.h34 void set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize=1);
DrsElement.cpp387 bool norm, in rsi_ElementCreate() argument
389 return (RsElement)Element::create(rsc, dt, dk, norm, vecSize); in rsi_ElementCreate()
/frameworks/base/libs/androidfw/
DVelocityTracker.cpp475 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/rs/cpp/
DElement.cpp226 RsDataType dt, RsDataKind dk, bool norm, uint32_t size) : in Element() argument
243 mNormalized = norm; in Element()
DElement.h161 Element(void *id, RenderScript *rs, RsDataType dt, RsDataKind dk, bool norm, uint32_t size);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
DNorm_Corr_opt.s168 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/
DMathUtils.java151 public static float norm(float start, float stop, float value) { in norm() method in MathUtils
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
DNorm_Corr_neon.s208 MOV r6, r6, ASR #16 @norm = extract_h(L_tmp)
210 ADD r12, r12, r12 @L_tmp = vo_L_mult(corr, norm)
/frameworks/base/docs/html/tools/help/
Ddraw9patch.jd13 <img src="{@docRoot}images/draw9patch-norm.png" style="float:right" alt="" height="300" width="341"
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_fixup.cpp584 GLboolean norm = glGetVertexAttrib(context, index, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED); in trace_VertexAttribPointerData() local
590 index, size, type, norm, stride, ptr, in trace_VertexAttribPointerData()

12