Home
last modified time | relevance | path

Searched refs:mDot (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicHistogram.cpp44 float mDot[4]; member in android::renderscript::RsdCpuScriptIntrinsicHistogram
85 memcpy(mDot, data, 16); in setGlobalVar()
86 mDotI[0] = (int)((mDot[0] * 256.f) + 0.5f); in setGlobalVar()
87 mDotI[1] = (int)((mDot[1] * 256.f) + 0.5f); in setGlobalVar()
88 mDotI[2] = (int)((mDot[2] * 256.f) + 0.5f); in setGlobalVar()
89 mDotI[3] = (int)((mDot[3] * 256.f) + 0.5f); in setGlobalVar()
298 mDot[0] = 0.299f; in RsdCpuScriptIntrinsicHistogram()
299 mDot[1] = 0.587f; in RsdCpuScriptIntrinsicHistogram()
300 mDot[2] = 0.114f; in RsdCpuScriptIntrinsicHistogram()
301 mDot[3] = 0; in RsdCpuScriptIntrinsicHistogram()
[all …]
/frameworks/rs/toolkit/
DHistogram.cpp51 float mDot[4]; member in android::renderscript::HistogramDotTask
160 mDot[0] = 0.299f;
161 mDot[1] = 0.587f;
162 mDot[2] = 0.114f;
163 mDot[3] = 0;
165 memcpy(mDot, coefficients, 16);
167 mDotI[0] = (int)((mDot[0] * 256.f) + 0.5f);
168 mDotI[1] = (int)((mDot[1] * 256.f) + 0.5f);
169 mDotI[2] = (int)((mDot[2] * 256.f) + 0.5f);
170 mDotI[3] = (int)((mDot[3] * 256.f) + 0.5f);