Searched refs:ldru (Results 1 – 2 of 2) sorted by relevance
339 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors() local340 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors()341 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f); in setPixelColors()342 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f); in setPixelColors()343 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f); in setPixelColors()
435 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors() local436 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors()437 const int ix1 = deCeilFloatToInt32(ldru.z() * (float)region.w - 0.5f); in setPixelColors()438 const int iy0 = deCeilFloatToInt32(ldru.y() * (float)region.h - 0.5f); in setPixelColors()439 const int iy1 = deCeilFloatToInt32(ldru.w() * (float)region.h - 0.5f); in setPixelColors()