Home
last modified time | relevance | path

Searched refs:yr (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp194 int32_t const *yr);
208 int32_t const *yr);
222 int32_t const *yr);
225 static void mkYCoeff(int32_t *yr, float yf) { in mkYCoeff() argument
230 yr[0] = -(2 * yf2 - yf3 - yf1) >> 1; in mkYCoeff()
231 yr[1] = (3 * yf3 - 5 * yf2 + 0x20000) >> 1; in mkYCoeff()
232 yr[2] = (-3 * yf3 + 4 * yf2 + yf1) >> 1; in mkYCoeff()
233 yr[3] = -(yf3 - yf2) >> 1; in mkYCoeff()
348 int32_t yr[4]; in kernelU4() local
350 mkYCoeff(yr, yf); in kernelU4()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp356 float yr = mFy * yc + mCy; in mapCorrectedToRawImpl() local
360 yr = std::min(mArrayHeight - 1, std::max(0.f, yr)); in mapCorrectedToRawImpl()
364 coordPairs[i + 1] = static_cast<T>(std::round(yr)); in mapCorrectedToRawImpl()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java495 final double yr = l > XYZ_KAPPA * XYZ_EPSILON ? Math.pow(fy, 3) : l / XYZ_KAPPA;
501 outXyz[1] = yr * XYZ_WHITE_REFERENCE_Y;
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java865 final double yr = l > XYZ_KAPPA * XYZ_EPSILON ? Math.pow(fy, 3) : l / XYZ_KAPPA;
871 outXyz[1] = yr * XYZ_WHITE_REFERENCE_Y;