Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/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/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/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rs86 rsSetElementAt_float2(rect, r.zw, 1);
/frameworks/rs/scriptc/
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 );