Home
last modified time | relevance | path

Searched refs:imgWidth (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicDetectorBenchmarker.java67 imgWidth = inputDims[2]; in getReadyToTest()
68 imgData = ByteBuffer.allocateDirect(DIM_BATCH_SIZE * imgHeight * imgWidth * DIM_PIXEL_SIZE); in getReadyToTest()
70 intValues = new int[imgHeight * imgWidth]; in getReadyToTest()
147 scaledBitmap = Bitmap.createScaledBitmap(bitmap, imgWidth, imgHeight, true); in convertBitmapToInput()
148 scaleFactorWidth = originalWidth * 1.0 / imgWidth; in convertBitmapToInput()
150 scaledBitmap.getPixels(intValues, 0, imgWidth, 0, 0, imgWidth, imgHeight); in convertBitmapToInput()
DOvicClassifierBenchmarker.java59 imgWidth = inputDims[2]; in getReadyToTest()
61 imgData = ByteBuffer.allocateDirect(DIM_BATCH_SIZE * imgHeight * imgWidth * DIM_PIXEL_SIZE); in getReadyToTest()
63 intValues = new int[imgHeight * imgWidth]; in getReadyToTest()
137 bitmap = Bitmap.createScaledBitmap(bitmap, imgWidth, imgHeight, true); in convertBitmapToInput()
DOvicValidator.java80 private static ByteBuffer createByteBuffer(int imgWidth, int imgHeight) { in createByteBuffer() argument
81 ByteBuffer imgData = ByteBuffer.allocateDirect(imgHeight * imgWidth * 3); in createByteBuffer()
85 for (int x = 0; x < imgWidth; x++) { in createByteBuffer()
DOvicBenchmarker.java48 protected int imgWidth = 224; field in OvicBenchmarker
136 for (int j = 0; j < imgWidth; ++j) { in loadsInputToByteBuffer()
/external/freetype/src/sfnt/
Dpngshim.c264 png_uint_32 imgWidth, imgHeight; in Load_SBit_Png() local
318 &imgWidth, &imgHeight, in Load_SBit_Png()
324 ( (FT_Int)imgWidth != metrics->width || in Load_SBit_Png()
330 metrics->width = (FT_UShort)imgWidth; in Load_SBit_Png()
384 &imgWidth, &imgHeight, in Load_SBit_Png()