Searched refs:inWidth (Results 1 – 3 of 3) sorted by relevance
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | Downsampler.java | 38 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) { 39 return Math.min(inHeight / outHeight, inWidth / outWidth); 55 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) { 56 return Math.max(inHeight / outHeight, inWidth / outWidth); 70 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) { 134 final int inWidth = inDimens[0]; in decode() local 138 …final int sampleSize = getRoundedSampleSize(degreesToRotate, inWidth, inHeight, outWidth, outHeigh… in decode() 141 downsampleWithSize(stream, options, pool, inWidth, inHeight, sampleSize, in decode() 170 …private int getRoundedSampleSize(int degreesToRotate, int inWidth, int inHeight, int outWidth, int… in getRoundedSampleSize() argument 175 exactSampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight); in getRoundedSampleSize() [all …]
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/distancefield/ |
D | DistanceFieldGenerator.java | 132 final int inWidth = inImage.getWidth(); in generateDistanceField() local 134 final int outWidth = inWidth / downscale; in generateDistanceField() 139 final boolean[][] bitmap = new boolean[inHeight][inWidth]; in generateDistanceField() 141 for (int x = 0; x < inWidth; ++x) { in generateDistanceField()
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_fxt1.c | 1288 upscale_teximage2d(GLsizei inWidth, GLsizei inHeight, in upscale_teximage2d() argument 1295 ASSERT(outWidth >= inWidth); in upscale_teximage2d() 1298 ASSERT(inWidth == 1 || inWidth == 2 || inHeight == 1 || inHeight == 2); in upscale_teximage2d() 1306 const GLint jj = j % inWidth; in upscale_teximage2d()
|