Lines Matching refs:scaleFactorX
266 int scaleFactorX, int scaleFactorY, in decimate() argument
271 SkASSERT(SkIsPow2(scaleFactorX) && SkIsPow2(scaleFactorY)); in decimate()
272 SkASSERT(scaleFactorX > 1 || scaleFactorY > 1); in decimate()
284 scale_irect_roundout(&srcRect, 1.0f / scaleFactorX, 1.0f / scaleFactorY); in decimate()
285 scale_irect(&srcRect, scaleFactorX, scaleFactorY); in decimate()
296 for (int i = 1; i < scaleFactorX || i < scaleFactorY; i *= 2) { in decimate()
297 shrink_irect_by_2(&dstRect, i < scaleFactorX, i < scaleFactorY); in decimate()
320 domain.inset((i < scaleFactorX) ? SK_ScalarHalf : 0.0f, in decimate()
355 if (scaleFactorX > 1) { in decimate()
379 int scaleFactorX, int scaleFactorY, in reexpand() argument
442 scale_irect(&dstRect, scaleFactorX, scaleFactorY); in reexpand()
473 int scaleFactorX, radiusX; in GaussianBlur() local
476 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX); in GaussianBlur()
487 SkASSERT((1 == scaleFactorX) && (1 == scaleFactorY)); in GaussianBlur()
496 if (scaleFactorX > 1 || scaleFactorY > 1) { in GaussianBlur()
504 if (scaleFactorX > 1 || scaleFactorY > 1) { in GaussianBlur()
506 scaleFactorX, scaleFactorY, sigmaX > 0.0f, sigmaY > 0.0f, in GaussianBlur()
516 scale_irect_roundout(&srcRect, 1.0f / scaleFactorX, 1.0f / scaleFactorY); in GaussianBlur()
562 if (scaleFactorX > 1 || scaleFactorY > 1) { in GaussianBlur()
564 localSrcBounds, scaleFactorX, scaleFactorY, in GaussianBlur()