Searched refs:imgHeight (Results 1 – 6 of 6) 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() 138 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 | 48 protected int imgHeight = 224; field in OvicBenchmarker 136 for (int i = 0; i < imgHeight; ++i) { in loadsInputToByteBuffer()
|
/external/freetype/src/sfnt/ |
D | pngshim.c | 269 png_uint_32 imgWidth, imgHeight; in Load_SBit_Png() local 323 &imgWidth, &imgHeight, in Load_SBit_Png() 330 (FT_Int)imgHeight != metrics->height ) ) ) in Load_SBit_Png() 336 if ( imgHeight > 0x7FFF || imgWidth > 0x7FFF ) in Load_SBit_Png() 343 metrics->height = (FT_UShort)imgHeight; in Load_SBit_Png() 389 &imgWidth, &imgHeight, in Load_SBit_Png() 430 if ( FT_NEW_ARRAY( rows, imgHeight ) ) in Load_SBit_Png() 436 for ( i = 0; i < (FT_Int)imgHeight; i++ ) in Load_SBit_Png()
|
/external/oss-fuzz/projects/giflib/ |
D | dgif_fuzz_common.cc | 154 int imgHeight = GifFile->SavedImages[i].ImageDesc.Height; in fuzz_dgif_ala_android() local 160 if (y + 8 <= imgHeight && x + 8 * strLen <= imgWidth) in fuzz_dgif_ala_android()
|