Home
last modified time | relevance | path

Searched refs:zw (Results 1 – 10 of 10) sorted by relevance

/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rs84 int2 size = roiBounds.zw - roiBounds.xy;
86 int2 maxr = min((int2){imgWidth, imgHeight}, roiBounds.zw + size * (1 + pad));
115 (p - regionInSearch.zw); // positive if outside of exclusion zone
172 noZone.xy -= convert_int2(bounds.zw - bounds.xy);
173 noZone.zw += convert_int2(bounds.zw - bounds.xy);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java144 double zw = x[3] * x[0]; in matrix() local
147 m[1] = 2 * (xy - zw); in matrix()
150 m[4] = 2 * (xy + zw); in matrix()
/frameworks/rs/driver/runtime/
Drs_quaternion.c41 float zw = q->z * q->w; in rsQuaternionGetMatrixUnit() local
44 m->m[4] = 2.0f * ( xy - zw ); in rsQuaternionGetMatrixUnit()
46 m->m[1] = 2.0f * ( xy + zw ); in rsQuaternionGetMatrixUnit()
Drs_sample.c363 result.zw = getElementAt2(p, iPixel); in getNearestSample()
401 result.zw = getElementAt2(p, stride, iPixel.x, iPixel.y); in getNearestSample()
/frameworks/rs/script_api/
Drs_quaternion.spec83 float zw = q->z * q->w;
86 m->m[4] = 2.0f * ( xy - zw );
88 m->m[1] = 2.0f * ( xy + zw );
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp153 __m128i xy, zw; in rsdIntrinsicColorMatrix4x4_K() local
168 zw = _mm_shuffle_epi8(i4, Mzw); in rsdIntrinsicColorMatrix4x4_K()
175 x2 = _mm_add_epi32(x2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x00))); in rsdIntrinsicColorMatrix4x4_K()
176 y2 = _mm_add_epi32(y2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x55))); in rsdIntrinsicColorMatrix4x4_K()
177 z2 = _mm_add_epi32(z2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0xaa))); in rsdIntrinsicColorMatrix4x4_K()
178 w2 = _mm_add_epi32(w2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0xff))); in rsdIntrinsicColorMatrix4x4_K()
209 __m128i xy, zw; in rsdIntrinsicColorMatrix3x3_K() local
224 zw = _mm_shuffle_epi8(i4, Mzw); in rsdIntrinsicColorMatrix3x3_K()
230 x2 = _mm_add_epi32(x2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x00))); in rsdIntrinsicColorMatrix3x3_K()
231 y2 = _mm_add_epi32(y2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x55))); in rsdIntrinsicColorMatrix3x3_K()
[all …]
/frameworks/native/libs/math/include/math/
Dmat3.h355 const U zw = z*q.w; in TMat33() local
356 m_value[0] = col_type(1-yy-zz, xy+zw, xz-yw); // NOLINT in TMat33()
357 m_value[1] = col_type( xy-zw, 1-xx-zz, yz+xw); // NOLINT in TMat33()
Dmat4.h408 const U zw = z*q.w; in TMat44() local
409 m_value[0] = col_type(1-yy-zz, xy+zw, xz-yw, 0); in TMat44()
410 m_value[1] = col_type( xy-zw, 1-xx-zz, yz+xw, 0); // NOLINT in TMat44()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rs86 rsSetElementAt_float2(rect, r.zw, 1);
/frameworks/rs/script_api/include/
Drs_quaternion.rsh100 float zw = q->z * q->w;
103 m->m[4] = 2.0f * ( xy - zw );
105 m->m[1] = 2.0f * ( xy + zw );