Home
last modified time | relevance | path

Searched refs:w2 (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dchvr_filter.cpp40 int w1, w2, w3, w4; in CombinedHorzVertRingFilter() local
57 w2 = width << 1; /* Offset to two rows in pixels */ in CombinedHorzVertRingFilter()
58 w3 = w1 + w2; /* Offset to three rows in pixels */ in CombinedHorzVertRingFilter()
59 w4 = w2 << 1; /* Offset to four rows in pixels */ in CombinedHorzVertRingFilter()
133 v[1] = (int)(*(ptr_c - w2)); in CombinedHorzVertRingFilter()
143 + (*(ptr_c + w2)) in CombinedHorzVertRingFilter()
187 a3_0 += ((*(ptr - w2) - *(ptr + w1)) << 1) + (a3_0 << 2); in CombinedHorzVertRingFilter()
192 a3_1 = *(ptr - w2) - *(ptr - w3); in CombinedHorzVertRingFilter()
195 a3_2 = *(ptr + w2) - *(ptr + w1); in CombinedHorzVertRingFilter()
/frameworks/rs/driver/runtime/
Drs_sample.c190 float w0, float w1, float w2, float w3) { in getSample_A() argument
195 float r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_A()
203 float w0, float w1, float w2, float w3) { in getSample_L() argument
208 float r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_L()
216 float w0, float w1, float w2, float w3) { in getSample_LA() argument
221 float2 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_LA()
229 float w0, float w1, float w2, float w3) { in getSample_RGB() argument
234 float4 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_RGB()
242 float w0, float w1, float w2, float w3) { in getSample_RGBA() argument
247 float4 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_RGBA()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp154 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrix4x4_K() local
173 w2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0xff)); in rsdIntrinsicColorMatrix4x4_K()
178 w2 = _mm_add_epi32(w2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0xff))); in rsdIntrinsicColorMatrix4x4_K()
183 w2 = _mm_srai_epi32(w2, 8); in rsdIntrinsicColorMatrix4x4_K()
186 z2 = packus_epi32(z2, w2); in rsdIntrinsicColorMatrix4x4_K()
210 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrix3x3_K() local
237 w2 = _mm_srli_epi32(zw, 16); in rsdIntrinsicColorMatrix3x3_K()
240 z2 = packus_epi32(z2, w2); in rsdIntrinsicColorMatrix3x3_K()
262 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrixDot_K() local
289 w2 = _mm_srli_epi32(zw, 16); in rsdIntrinsicColorMatrixDot_K()
[all …]
DrsCpuIntrinsics_advsimd_Blend.S595 cmp w2, tablesize >> 1
597 ldrsh x6, [x5, w2, uxtw #1]
600 sub w2, w4, w3
DrsCpuIntrinsics_advsimd_Resize.S172 dup v6.8h, w2
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java530 final int w2 = (int) (w / mView.SCALE / 2);
534 mView.layout(cx - w2, cy - h2, cx + w2, cy + h2);
/frameworks/native/opengl/libagl/
Dprimitives.cpp769 int32_t w2 = v2->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()
815 s2 = gglMulx(s2, w2, wscale); in lerp_texcoords_w()
816 t2 = gglMulx(t2, w2, wscale); in lerp_texcoords_w()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp48 const float w2 = (1.0f - x) * 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()