Lines Matching refs:sourceW
428 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()
506 int lx = wrapI(wrapS, iPixelU, sourceW); in sample_LOD_LinearPixel()
519 int sourceW = alloc->mHal.drvState.lod[lod].dimX; in sample_LOD_NearestPixel() local
523 dimF.x = (float)(sourceW); in sample_LOD_NearestPixel()
528 location.x = wrapI(wrapS, iPixel.x, sourceW); in sample_LOD_NearestPixel()