Home
last modified time | relevance | path

Searched refs:inWidth (Results 1 – 4 of 4) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DDownsampler.java38 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/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/
DImageUtils.java318 final int inWidth = transpose ? srcHeight : srcWidth; in getTransformationMatrix() local
322 if (inWidth != dstWidth || inHeight != dstHeight) { in getTransformationMatrix()
323 final float scaleFactorX = dstWidth / (float) inWidth; in getTransformationMatrix()
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c1265 upscale_teximage2d(GLsizei inWidth, GLsizei inHeight, in upscale_teximage2d() argument
1272 assert(outWidth >= inWidth); in upscale_teximage2d()
1275 assert(inWidth == 1 || inWidth == 2 || inHeight == 1 || inHeight == 2); in upscale_teximage2d()
1283 const GLint jj = j % inWidth; in upscale_teximage2d()
/external/python/cpython2/Mac/Modules/dlg/
D_Dlgmodule.c634 SInt16 inWidth; in DlgObj_SizeDialogItem() local
641 &inWidth, in DlgObj_SizeDialogItem()
646 inWidth, in DlgObj_SizeDialogItem()