Home
last modified time | relevance | path

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

/third_party/skia/tools/gpu/
DYUVUtils.cpp39 static uint8_t look_up(SkPoint normPt, const SkPixmap& pmap, SkColorChannel channel) { in look_up() argument
40 SkASSERT(normPt.x() > 0 && normPt.x() < 1.0f); in look_up()
41 SkASSERT(normPt.y() > 0 && normPt.y() < 1.0f); in look_up()
42 int x = SkScalarFloorToInt(normPt.x() * pmap.width()); in look_up()
43 int y = SkScalarFloorToInt(normPt.y() * pmap.height()); in look_up()