Searched refs:scaleFactorX (Results 1 – 3 of 3) sorted by relevance
/external/skqp/src/core/ |
D | SkGpuBlurUtils.cpp | 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 [all …]
|
/external/skia/src/core/ |
D | SkGpuBlurUtils.cpp | 287 int scaleFactorX, in decimate() argument 291 SkASSERT(SkIsPow2(scaleFactorX) && SkIsPow2(scaleFactorY)); in decimate() 292 SkASSERT(scaleFactorX > 1 || scaleFactorY > 1); in decimate() 296 scale_irect_roundout(&srcRect, 1.0f / scaleFactorX, 1.0f / scaleFactorY); in decimate() 297 scale_irect(&srcRect, scaleFactorX, scaleFactorY); in decimate() 303 for (int i = 1; i < scaleFactorX || i < scaleFactorY; i *= 2) { in decimate() 304 shrink_irect_by_2(&dstRect, i < scaleFactorX, i < scaleFactorY); in decimate() 362 int scaleFactorX, in reexpand() argument 397 scale_irect(&dstRect, scaleFactorX, scaleFactorY); in reexpand() 459 int scaleFactorX, radiusX; in GaussianBlur() local [all …]
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
D | ImageUtils.java | 323 final float scaleFactorX = dstWidth / (float) inWidth; in getTransformationMatrix() local 329 final float scaleFactor = Math.max(scaleFactorX, scaleFactorY); in getTransformationMatrix() 333 matrix.postScale(scaleFactorX, scaleFactorY); in getTransformationMatrix()
|