Searched defs:w2 (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dchvr_filter.cpp40 int w1, w2, w3, w4; local
57 w2 = width << 1; /* Offset to two rows in pixels */
58 w3 = w1 + w2; /* Offset to three rows in pixels */
59 w4 = w2 << 1; /* Offset to four rows in pixels */
133 v[1] = (int)(*(ptr_c - w2));
143 + (*(ptr_c + w2))
187 a3_0 += ((*(ptr - w2) - *(ptr + w1)) << 1) + (a3_0 << 2);
192 a3_1 = *(ptr - w2) - *(ptr - w3);
195 a3_2 = *(ptr + w2) - *(ptr + w1);
/frameworks/rs/driver/runtime/
H A Drs_sample.c190 float w0, float w1, float w2, float w3) {
195 float r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3;
203 float w0, float w1, float w2, float w3) {
208 float r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3;
216 float w0, float w1, float w2, float w3) {
221 float2 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3;
229 float w0, float w1, float w2, float w3) {
234 float4 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3;
242 float w0, float w1, float w2, float w3) {
247 float4 r = p0 * w0 + p1 * w1 + p2 * w2
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
501 float w2 = oneMinusFracU * fracV; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp51 const float w2 = (1.0f - x) * 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.cpp769 int32_t w2 = v2->window.w; local
770 int wscale = 32 - gglClz(w0|w1|w2);
773 int sc = lerp.iteratorsScale(itw, w0, w1, w2);
815 s2 = gglMulx(s2, w2, wscale);
816 t2 = gglMulx(t2, w2, wscale);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_x86.c154 __m128i x2, y2, z2, w2; local
173 w2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0xff));
178 w2 = _mm_add_epi32(w2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0xff)));
183 w2 = _mm_srai_epi32(w2, 8);
186 z2 = packus_epi32(z2, w2);
210 __m128i x2, y2, z2, w2; local
237 w2 = _mm_srli_epi32(zw, 16);
240 z2 = packus_epi32(z2, w2);
262 __m128i x2, y2, z2, w2; local
[all...]

Completed in 154 milliseconds