Home
last modified time | relevance | path

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

/external/skia/tools/
Dsk_tool_utils.cpp402 int xSamp = x + xOff - halfFilterSize; in blur_pixel() local
404 if (xSamp < 0) { in blur_pixel()
405 xSamp = 0; in blur_pixel()
406 } else if (xSamp > bm.width()-1) { in blur_pixel()
407 xSamp = bm.width()-1; in blur_pixel()
412 SkPMColor c = *bm.getAddr32(xSamp, ySamp); in blur_pixel()