Home
last modified time | relevance | path

Searched refs:w1 (Results 1 – 7 of 7) sorted by relevance

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dsparse_weight_vector.cpp50 const SparseWeightVector<Key, Hash> &w1, in AdditiveWeightUpdate() argument
52 for (Witer_const iter = w1.w_.begin(); in AdditiveWeightUpdate()
53 iter != w1.w_.end(); in AdditiveWeightUpdate()
55 w_[iter->first] += ((multiplier * iter->second) / w1.normalizer_ in AdditiveWeightUpdate()
64 const SparseWeightVector<Key, Hash> &w1, in AdditiveSquaredWeightUpdate() argument
66 for (Witer_const iter = w1.w_.begin(); in AdditiveSquaredWeightUpdate()
67 iter != w1.w_.end(); in AdditiveSquaredWeightUpdate()
70 (w1.normalizer_ * w1.normalizer_) in AdditiveSquaredWeightUpdate()
79 const SparseWeightVector<Key, Hash> &w1, in AdditiveInvSqrtWeightUpdate() argument
81 for (Witer_const iter = w1.w_.begin(); in AdditiveInvSqrtWeightUpdate()
[all …]
Dsparse_weight_vector.h133 const SparseWeightVector<Key, Hash> &w1,
136 const SparseWeightVector<Key, Hash> &w1,
139 const SparseWeightVector<Key, Hash> &w1,
141 void MultWeightUpdate(const SparseWeightVector<Key, Hash> &w1);
150 const SparseWeightVector<Key, Hash> &w1,
152 void MultWeightUpdateBounded(const SparseWeightVector<Key, Hash> &w1);
177 bool GetValue(const Wmap &w1, const Key &fname, double *val) const { in GetValue() argument
178 Witer_const iter = w1.find(fname); in GetValue()
179 if (iter != w1.end()) { in GetValue()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dchvr_filter.cpp40 int w1, w2, w3, w4; in CombinedHorzVertRingFilter() local
56 w1 = width; /* Offset to next row in pixels */ in CombinedHorzVertRingFilter()
58 w3 = w1 + w2; /* Offset to three rows in pixels */ in CombinedHorzVertRingFilter()
124 a3_0 = *ptr - *(ptr - w1); in CombinedHorzVertRingFilter()
131 ptr_n = ptr + w1; /* Points to pixel one row below */ in CombinedHorzVertRingFilter()
134 v[2] = (int)(*(ptr_c - w1)); in CombinedHorzVertRingFilter()
136 v[4] = (int)(*(ptr_c + w1)); in CombinedHorzVertRingFilter()
151 ptr_c += w1; in CombinedHorzVertRingFilter()
162 ptr_c += w1; in CombinedHorzVertRingFilter()
163 ptr_n += w1; in CombinedHorzVertRingFilter()
[all …]
/frameworks/rs/driver/runtime/
Drs_sample.c128 int32_t next, float w0, float w1) { in getSample_A() argument
131 float r = p0 * w0 + p1 * w1; in getSample_A()
138 int32_t next, float w0, float w1) { in getSample_L() argument
141 float r = p0 * w0 + p1 * w1; in getSample_L()
148 int32_t next, float w0, float w1) { in getSample_LA() argument
151 float2 r = p0 * w0 + p1 * w1; in getSample_LA()
158 int32_t next, float w0, float w1) { in getSample_RGB() argument
161 float3 r = p0 * w0 + p1 * w1; in getSample_RGB()
168 int32_t next, float w0, float w1) { in getSample_565() argument
171 float3 r = p0 * w0 + p1 * w1; in getSample_565()
[all …]
/frameworks/native/opengl/libagl/
Dprimitives.cpp768 int32_t w1 = v1->window.w; in lerp_texcoords_w() local
770 int wscale = 32 - gglClz(w0|w1|w2); in lerp_texcoords_w()
773 int sc = lerp.iteratorsScale(itw, w0, w1, w2); in lerp_texcoords_w()
813 s1 = gglMulx(s1, w1, wscale); in lerp_texcoords_w()
814 t1 = gglMulx(t1, w1, wscale); in lerp_texcoords_w()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp47 const float w1 = x * (1.0f - y); in GetTileCoords() local
51 *xt = w0 * b[0] + w1 * b[2] + w2 * b[4] + w3 * b[6]; in GetTileCoords()
52 *yt = w0 * b[1] + w1 * b[3] + w2 * b[5] + w3 * b[7]; in GetTileCoords()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java186 FileWriter w1 = new FileWriter(new File(dir, "DropBoxTest@" + (before + 100000) + ".txt")); in testAddEntriesInTheFuture() local
187 w1.write("FUTURE1"); in testAddEntriesInTheFuture()
188 w1.close(); in testAddEntriesInTheFuture()