Searched refs:vfb (Results 1 – 3 of 3) sorted by relevance
245 float covf[6], vfr, vfg, vfb; in optimize_colors() local294 vfb = (float) (max[2] - min[2]); in optimize_colors()297 float r = vfr * covf[0] + vfg * covf[1] + vfb * covf[2]; in optimize_colors()298 float g = vfr * covf[1] + vfg * covf[3] + vfb * covf[4]; in optimize_colors()299 float b = vfr * covf[2] + vfg * covf[4] + vfb * covf[5]; in optimize_colors()303 vfb = b; in optimize_colors()309 if (fabs(vfb) > magn) in optimize_colors()310 magn = fabs(vfb); in optimize_colors()322 v_b = (int) (vfb * magn); in optimize_colors()
1047 float vfb = static_cast<float>(max[2] - min[2]); in selectEndPointPCA() local1053 float r = vfr * cov[0] + vfg * cov[1] + vfb * cov[2]; in selectEndPointPCA()1054 float g = vfr * cov[1] + vfg * cov[3] + vfb * cov[4]; in selectEndPointPCA()1055 float b = vfr * cov[2] + vfg * cov[4] + vfb * cov[5]; in selectEndPointPCA()1059 vfb = b; in selectEndPointPCA()1067 vfb *= invNorm; in selectEndPointPCA()1087 float magn = std::max(std::max(std::abs(vfr), std::abs(vfg)), std::abs(vfb)); in selectEndPointPCA()1091 vb = static_cast<int>(vfb * magn); in selectEndPointPCA()
28460 vfb48412 vfb