Searched refs:scaleFactorY (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() 321 (i < scaleFactorY) ? SK_ScalarHalf : 0.0f); in decimate() 363 if (scaleFactorY > 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 | 324 final float scaleFactorY = dstHeight / (float) inHeight; in getTransformationMatrix() local 329 final float scaleFactor = Math.max(scaleFactorX, scaleFactorY); in getTransformationMatrix() 333 matrix.postScale(scaleFactorX, scaleFactorY); in getTransformationMatrix()
|