Home
last modified time | relevance | path

Searched refs:weight1 (Results 1 – 5 of 5) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsic3DLUT.cpp99 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/ImageProcessing2/src/com/android/rs/image/
Dcolorcube.rscript43 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.rscript43 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.rscript43 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/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c1358 Word16 weight1, weight2; in synthesis() local
1473 weight1 = 0; in synthesis()
1477 weight1 = 32767; in synthesis()
1480 tmp = vo_mult(weight1, gain1); in synthesis()