Searched refs:scaleFactorX (Results 1 – 2 of 2) 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/tensorflow/tensorflow/tools/android/test/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()
|