Searched refs:weight1 (Results 1 – 6 of 6) sorted by relevance
/frameworks/rs/toolkit/ |
D | Lut3d.cpp | 101 int4 weight1 = (int4)0x8000 - weight2; in kernel() local 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() 139 ALOGE("weight1 %08x %08x %08x %08x", weight1.x, weight1.y, weight1.z, weight1.w); in kernel()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsic3DLUT.cpp | 99 int4 weight1 = (int4)0x8000 - weight2; in kernel() local 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() 136 ALOGE("weight1 %08x %08x %08x %08x", weight1.x, weight1.y, weight1.z, weight1.w); in kernel()
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | colorcube.rscript | 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/ |
D | colorcube.rscript | 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/ImageProcessing2/src/com/android/rs/image/ |
D | colorcube.rscript | 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/ |
D | voAMRWBEnc.c | 1358 Word16 weight1, weight2; in synthesis() local 1473 weight1 = 0; in synthesis() 1477 weight1 = 32767; in synthesis() 1480 tmp = vo_mult(weight1, gain1); in synthesis()
|