Searched defs:w1 (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dchvr_filter.cpp40 int w1, w2, w3, w4; local
56 w1 = width; /* Offset to next row in pixels */
58 w3 = w1 + w2; /* Offset to three rows in pixels */
124 a3_0 = *ptr - *(ptr - w1);
131 ptr_n = ptr + w1; /* Points to pixel one row below */
134 v[2] = (int)(*(ptr_c - w1));
136 v[4] = (int)(*(ptr_c + w1));
151 ptr_c += w1;
162 ptr_c += w1;
163 ptr_n += w1;
[all...]
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dsparse_weight_vector.cpp50 const SparseWeightVector<Key, Hash> &w1,
52 for (Witer_const iter = w1.w_.begin();
53 iter != w1.w_.end();
55 w_[iter->first] += ((multiplier * iter->second) / w1.normalizer_
64 const SparseWeightVector<Key, Hash> &w1,
66 for (Witer_const iter = w1.w_.begin();
67 iter != w1.w_.end();
70 (w1.normalizer_ * w1.normalizer_)
79 const SparseWeightVector<Key, Hash> &w1,
48 AdditiveWeightUpdate( const double multiplier, const SparseWeightVector<Key, Hash> &w1, const double additive_const) argument
62 AdditiveSquaredWeightUpdate( const double multiplier, const SparseWeightVector<Key, Hash> &w1, const double additive_const) argument
77 AdditiveInvSqrtWeightUpdate( const double multiplier, const SparseWeightVector<Key, Hash> &w1, const double additive_const) argument
94 AdditiveWeightUpdateBounded( const double multiplier, const SparseWeightVector<Key, Hash> &w1, const double additive_const) argument
122 MultWeightUpdate( const SparseWeightVector<Key, Hash> &w1) argument
134 MultWeightUpdateBounded( const SparseWeightVector<Key, Hash> &w1) argument
[all...]
H A Dsparse_weight_vector.h132 const SparseWeightVector<Key, Hash> &w1,
135 const SparseWeightVector<Key, Hash> &w1,
138 const SparseWeightVector<Key, Hash> &w1,
140 void MultWeightUpdate(const SparseWeightVector<Key, Hash> &w1);
149 const SparseWeightVector<Key, Hash> &w1,
151 void MultWeightUpdateBounded(const SparseWeightVector<Key, Hash> &w1);
176 bool GetValue(const Wmap &w1, const Key &fname, double *val) const { argument
177 Witer_const iter = w1.find(fname);
178 if (iter != w1.end()) {
/frameworks/rs/driver/runtime/
H A Drs_sample.c128 int32_t next, float w0, float w1) {
131 float r = p0 * w0 + p1 * w1;
138 int32_t next, float w0, float w1) {
141 float r = p0 * w0 + p1 * w1;
148 int32_t next, float w0, float w1) {
151 float2 r = p0 * w0 + p1 * w1;
158 int32_t next, float w0, float w1) {
161 float3 r = p0 * w0 + p1 * w1;
168 int32_t next, float w0, float w1) {
171 float3 r = p0 * w0 + p1 * w1;
127 getSample_A(const uint8_t *p, int32_t iPixel, int32_t next, float w0, float w1) argument
137 getSample_L(const uint8_t *p, int32_t iPixel, int32_t next, float w0, float w1) argument
147 getSample_LA(const uint8_t *p, int32_t iPixel, int32_t next, float w0, float w1) argument
157 getSample_RGB(const uint8_t *p, int32_t iPixel, int32_t next, float w0, float w1) argument
167 getSample_565(const uint8_t *p, int32_t iPixel, int32_t next, float w0, float w1) argument
177 getSample_RGBA(const uint8_t *p, int32_t iPixel, int32_t next, float w0, float w1) argument
188 getSample_A(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
201 getSample_L(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
214 getSample_LA(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
227 getSample_RGB(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
240 getSample_RGBA(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
252 getSample_565(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
318 getBilinearSample2D(const Allocation_t *alloc, float w0, float w1, float w2, float w3, int lx, int ly, int nx, int ny, rs_data_kind dk, rs_data_type dt, uint32_t lod) argument
500 float w1 = fracU * oneMinusFracV; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp50 const float w1 = x * (1.0f - y); local
54 *xt = w0 * b[0] + w1 * b[2] + w2 * b[4] + w3 * b[6];
55 *yt = w0 * b[1] + w1 * b[3] + w2 * b[5] + w3 * b[7];
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp768 int32_t w1 = v1->window.w; local
770 int wscale = 32 - gglClz(w0|w1|w2);
773 int sc = lerp.iteratorsScale(itw, w0, w1, w2);
813 s1 = gglMulx(s1, w1, wscale);
814 t1 = gglMulx(t1, w1, wscale);

Completed in 3287 milliseconds