Home
last modified time | relevance | path

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

/frameworks/rs/driver/runtime/
Drs_sample.c482 float fracV = pixelV - iPixelV; in sample_LOD_LinearPixel() local
490 if (fracV < 0.5f) { in sample_LOD_LinearPixel()
492 fracV += 0.5f; in sample_LOD_LinearPixel()
494 fracV -= 0.5f; in sample_LOD_LinearPixel()
497 float oneMinusFracV = 1.0f - fracV; in sample_LOD_LinearPixel()
501 float w2 = oneMinusFracU * fracV; in sample_LOD_LinearPixel()
502 float w3 = fracU * fracV; in sample_LOD_LinearPixel()