Home
last modified time | relevance | path

Searched refs:weight2 (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsic3DLUT.cpp98 int4 weight2 = baseCoord & 0x7fff; in kernel() local
99 int4 weight1 = (int4)0x8000 - weight2; in kernel()
117 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)7; in kernel()
118 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (int4)7; in kernel()
119 uint4 yz01 = ((v001 * weight1.x) + (v101 * weight2.x)) >> (int4)7; in kernel()
120 uint4 yz11 = ((v011 * weight1.x) + (v111 * weight2.x)) >> (int4)7; in kernel()
122 uint4 z0 = ((yz00 * weight1.y) + (yz10 * weight2.y)) >> (int4)15; in kernel()
123 uint4 z1 = ((yz01 * weight1.y) + (yz11 * weight2.y)) >> (int4)15; in kernel()
125 uint4 v = ((z0 * weight1.z) + (z1 * weight2.z)) >> (int4)15; in kernel()
137 ALOGE("weight2 %08x %08x %08x %08x", weight2.x, weight2.y, weight2.z, weight2.w); in kernel()
/frameworks/rs/toolkit/
DLut3d.cpp100 int4 weight2 = baseCoord & 0x7fff; in kernel() local
101 int4 weight1 = (int4)0x8000 - weight2; in kernel()
119 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)7; in kernel()
120 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (int4)7; in kernel()
121 uint4 yz01 = ((v001 * weight1.x) + (v101 * weight2.x)) >> (int4)7; in kernel()
122 uint4 yz11 = ((v011 * weight1.x) + (v111 * weight2.x)) >> (int4)7; in kernel()
124 uint4 z0 = ((yz00 * weight1.y) + (yz10 * weight2.y)) >> (int4)15; in kernel()
125 uint4 z1 = ((yz01 * weight1.y) + (yz11 * weight2.y)) >> (int4)15; in kernel()
127 uint4 v = ((z0 * weight1.z) + (z1 * weight2.z)) >> (int4)15; in kernel()
140 ALOGE("weight2 %08x %08x %08x %08x", weight2.x, weight2.y, weight2.z, weight2.w); in kernel()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dcolorcube.rscript42 int4 weight2 = baseCoord & 0xffff;
43 int4 weight1 = (int4)0x10000 - weight2;
54 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (uint4)8;
55 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (uint4)8;
56 uint4 yz01 = ((v001 * weight1.x) + (v101 * weight2.x)) >> (uint4)8;
57 uint4 yz11 = ((v011 * weight1.x) + (v111 * weight2.x)) >> (uint4)8;
59 uint4 z0 = ((yz00 * weight1.y) + (yz10 * weight2.y)) >> (uint4)16;
60 uint4 z1 = ((yz01 * weight1.y) + (yz11 * weight2.y)) >> (uint4)16;
62 uint4 v = ((z0 * weight1.z) + (z1 * weight2.z)) >> (uint4)16;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dcolorcube.rscript42 int4 weight2 = baseCoord & 0xffff;
43 int4 weight1 = (int4)0x10000 - weight2;
54 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (uint4)8;
55 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (uint4)8;
56 uint4 yz01 = ((v001 * weight1.x) + (v101 * weight2.x)) >> (uint4)8;
57 uint4 yz11 = ((v011 * weight1.x) + (v111 * weight2.x)) >> (uint4)8;
59 uint4 z0 = ((yz00 * weight1.y) + (yz10 * weight2.y)) >> (uint4)16;
60 uint4 z1 = ((yz01 * weight1.y) + (yz11 * weight2.y)) >> (uint4)16;
62 uint4 v = ((z0 * weight1.z) + (z1 * weight2.z)) >> (uint4)16;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dcolorcube.rscript42 int4 weight2 = baseCoord & 0xffff;
43 int4 weight1 = (int4)0x10000 - weight2;
54 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (uint4)8;
55 uint4 yz10 = ((v010 * weight1.x) + (v110 * weight2.x)) >> (uint4)8;
56 uint4 yz01 = ((v001 * weight1.x) + (v101 * weight2.x)) >> (uint4)8;
57 uint4 yz11 = ((v011 * weight1.x) + (v111 * weight2.x)) >> (uint4)8;
59 uint4 z0 = ((yz00 * weight1.y) + (yz10 * weight2.y)) >> (uint4)16;
60 uint4 z1 = ((yz01 * weight1.y) + (yz11 * weight2.y)) >> (uint4)16;
62 uint4 v = ((z0 * weight1.z) + (z1 * weight2.z)) >> (uint4)16;
/frameworks/av/media/module/codecs/amrwb/enc/src/
DvoAMRWBEnc.c1358 Word16 weight1, weight2; in synthesis() local
1474 weight2 = 32767; in synthesis()
1478 weight2 = 0; in synthesis()
1481 tmp = add1(tmp, vo_mult(weight2, gain2)); in synthesis()