Searched refs:stepsY (Results 1 – 3 of 3) sorted by relevance
31 int stepsY; in SkRescaleAndReadPixels() local35 stepsY = static_cast<int>((sy > 1.f) ? std::ceil(std::log2f(sy)) in SkRescaleAndReadPixels()39 stepsY = sy != 1.f; in SkRescaleAndReadPixels()44 if (stepsX < 0 || stepsY < 0) { in SkRescaleAndReadPixels()93 while (stepsX || stepsY) { in SkRescaleAndReadPixels()105 if (stepsY < 0) { in SkRescaleAndReadPixels()106 nextH = resultInfo.height() << (-stepsY - 1); in SkRescaleAndReadPixels()107 stepsY++; in SkRescaleAndReadPixels()108 } else if (stepsY != 0) { in SkRescaleAndReadPixels()109 if (stepsY > 1) { in SkRescaleAndReadPixels()[all …]
109 int stepsY; in onAsyncRescaleAndReadPixels() local113 stepsY = static_cast<int>((sy > 1.f) ? std::ceil(std::log2f(sy)) in onAsyncRescaleAndReadPixels()117 stepsY = sy != 1.f; in onAsyncRescaleAndReadPixels()122 if (stepsX < 0 || stepsY < 0) { in onAsyncRescaleAndReadPixels()157 while (stepsX || stepsY) { in onAsyncRescaleAndReadPixels()169 if (stepsY < 0) { in onAsyncRescaleAndReadPixels()170 nextH = info.height() << (-stepsY - 1); in onAsyncRescaleAndReadPixels()171 stepsY++; in onAsyncRescaleAndReadPixels()172 } else if (stepsY != 0) { in onAsyncRescaleAndReadPixels()173 if (stepsY > 1) { in onAsyncRescaleAndReadPixels()[all …]
471 int stepsY; in rescale() local474 stepsY = static_cast<int>((sy > 1.f) ? ceil(log2f(sy)) : floor(log2f(sy))); in rescale()477 stepsY = sy != 1.f; in rescale()479 SkASSERT(stepsX || stepsY); in rescale()506 while (stepsX || stepsY) { in rescale()518 if (stepsY < 0) { in rescale()519 nextH = info.height() << (-stepsY - 1); in rescale()520 stepsY++; in rescale()521 } else if (stepsY != 0) { in rescale()522 if (stepsY > 1) { in rescale()[all …]