Home
last modified time | relevance | path

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

/frameworks/rs/driver/runtime/
Drs_sample.c477 float fracU = pixelU - iPixelU; in sample_LOD_LinearPixel() local
480 if (fracU < 0.5f) { in sample_LOD_LinearPixel()
482 fracU += 0.5f; in sample_LOD_LinearPixel()
484 fracU -= 0.5f; in sample_LOD_LinearPixel()
492 float oneMinusFracU = 1.0f - fracU; in sample_LOD_LinearPixel()
496 float w1 = fracU * oneMinusFracV; in sample_LOD_LinearPixel()
498 float w3 = fracU * fracV; in sample_LOD_LinearPixel()