Searched refs:yf (Results 1 – 7 of 7) sorted by relevance
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 102 float xf, float yf, int width) { in OneBiCubic() argument 131 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic() 137 float xf, float yf, int width) { in OneBiCubic() argument 166 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic() 172 float xf, float yf, int width) { in OneBiCubic() argument 190 float p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic() 240 static void mkYCoeff(int32_t *yr, float yf) { in mkYCoeff() argument 241 int32_t yf1 = rint(yf * 0x10000); in mkYCoeff() 242 int32_t yf2 = rint(yf * yf * 0x10000); in mkYCoeff() 243 int32_t yf3 = rint(yf * yf * yf * 0x10000); in mkYCoeff() [all …]
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | resize.rscript | 28 float yf = clamp(y * scale, 0.f, (float)gHeightIn - 1.f); 30 uint32_t iy = yf; 45 float yf = (y + 0.5f) * scale - 0.5f; 48 int starty = (int) floor(yf - 1); 50 yf = yf - floor(yf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | resize.rscript | 28 float yf = clamp(y * scale, 0.f, (float)gHeightIn - 1.f); 30 uint32_t iy = yf; 45 float yf = (y + 0.5f) * scale - 0.5f; 48 int starty = (int) floor(yf - 1); 50 yf = yf - floor(yf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | resize.rscript | 28 float yf = clamp(y * scale, 0.f, (float)gHeightIn - 1.f); 30 uint32_t iy = yf; 45 float yf = (y + 0.5f) * scale - 0.5f; 48 int starty = (int) floor(yf - 1); 50 yf = yf - floor(yf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/ |
D | KernelDataForRenderScriptd1new.java | 106 float yf = y - kernelRadius + dy; in generateDiskKernelArray() local 109 if (yf * yf + xf * xf <= diskRadius2) { in generateDiskKernelArray()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/ |
D | KernelDataForRenderScriptF32.java | 104 float yf = y - kernelRadius + dy; in generateDiskKernelArray() local 107 if (yf * yf + xf * xf <= diskRadius2) { in generateDiskKernelArray()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 3298 WindowState getTouchableWinAtPointLocked(float xf, float yf) { in getTouchableWinAtPointLocked() argument 3300 final int y = (int) yf; in getTouchableWinAtPointLocked()
|