Searched refs:yf (Results 1 – 7 of 7) sorted by relevance
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 87 float xf, float yf, int width) { in OneBiCubic() argument 116 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic() 122 float xf, float yf, int width) { in OneBiCubic() argument 151 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic() 157 float xf, float yf, int width) { in OneBiCubic() argument 175 float p = cubicInterpolate(p0, p1, p2, p3, yf); in OneBiCubic() 225 static void mkYCoeff(int32_t *yr, float yf) { in mkYCoeff() argument 226 int32_t yf1 = rint(yf * 0x10000); in mkYCoeff() 227 int32_t yf2 = rint(yf * yf * 0x10000); in mkYCoeff() 228 int32_t yf3 = rint(yf * yf * yf * 0x10000); in mkYCoeff() [all …]
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | resize.rs | 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.rs | 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.rs | 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/f32/ |
D | KernelDataForRenderScriptF32.java | 104 float yf = y - kernelRadius + dy; in generateDiskKernelArray() local 107 if (yf * yf + xf * xf <= diskRadius2) { in generateDiskKernelArray()
|
/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/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 2184 WindowState getTouchableWinAtPointLocked(float xf, float yf) { in getTouchableWinAtPointLocked() argument 2186 final int y = (int) yf; in getTouchableWinAtPointLocked()
|