Home
last modified time | relevance | path

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

/frameworks/rs/driver/runtime/
Drs_sample.c428 int32_t sourceW = alloc->mHal.drvState.lod[lod].dimX; in sample_LOD_LinearPixel() local
429 float pixelUV = uv * (float)(sourceW); in sample_LOD_LinearPixel()
446 uint32_t next = wrapI(wrapS, iPixel + 1, sourceW); in sample_LOD_LinearPixel()
447 uint32_t location = wrapI(wrapS, iPixel, sourceW); in sample_LOD_LinearPixel()
458 int32_t sourceW = alloc->mHal.drvState.lod[lod].dimX; in sample_LOD_NearestPixel() local
459 int32_t iPixel = floor(uv * (float)(sourceW)); in sample_LOD_NearestPixel()
460 uint32_t location = wrapI(wrapS, iPixel, sourceW); in sample_LOD_NearestPixel()
474 int sourceW = alloc->mHal.drvState.lod[lod].dimX; in sample_LOD_LinearPixel() local
477 float pixelU = uv.x * sourceW; in sample_LOD_LinearPixel()
504 int nx = wrapI(wrapS, iPixelU + 1, sourceW); in sample_LOD_LinearPixel()
[all …]