Searched refs:imgHeight (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
D | OvicDetectorBenchmarker.java | 66 imgHeight = inputDims[1]; 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() 149 scaleFactorHeight = originalHeight * 1.0 / imgHeight; in convertBitmapToInput() 150 scaledBitmap.getPixels(intValues, 0, imgWidth, 0, 0, imgWidth, imgHeight); in convertBitmapToInput()
|
D | OvicClassifierBenchmarker.java | 58 imgHeight = inputDims[1]; 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()
|
D | OvicValidator.java | 80 private static ByteBuffer createByteBuffer(int imgWidth, int imgHeight) { in createByteBuffer() argument 81 ByteBuffer imgData = ByteBuffer.allocateDirect(imgHeight * imgWidth * 3); in createByteBuffer() 84 for (int y = 0; y < imgHeight; y++) { in createByteBuffer()
|
D | OvicBenchmarker.java | 47 protected int imgHeight = 224; field in OvicBenchmarker 135 for (int i = 0; i < imgHeight; ++i) { in loadsInputToByteBuffer()
|
/external/freetype/src/sfnt/ |
D | pngshim.c | 264 png_uint_32 imgWidth, imgHeight; in Load_SBit_Png() local 318 &imgWidth, &imgHeight, in Load_SBit_Png() 325 (FT_Int)imgHeight != metrics->height ) ) ) in Load_SBit_Png() 331 metrics->height = (FT_UShort)imgHeight; in Load_SBit_Png() 384 &imgWidth, &imgHeight, in Load_SBit_Png() 425 if ( FT_NEW_ARRAY( rows, imgHeight ) ) in Load_SBit_Png() 431 for ( i = 0; i < (FT_Int)imgHeight; i++ ) in Load_SBit_Png()
|