Searched refs:imgWidth (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
D | OvicDetectorBenchmarker.java | 67 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()
|
D | OvicClassifierBenchmarker.java | 59 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() 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() 85 for (int x = 0; x < imgWidth; x++) { in createByteBuffer()
|
D | OvicBenchmarker.java | 49 protected int imgWidth = 224; field in OvicBenchmarker 137 for (int j = 0; j < imgWidth; ++j) { 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() 329 ( (FT_Int)imgWidth != metrics->width || in Load_SBit_Png() 336 if ( imgHeight > 0x7FFF || imgWidth > 0x7FFF ) in Load_SBit_Png() 342 metrics->width = (FT_UShort)imgWidth; in Load_SBit_Png() 389 &imgWidth, &imgHeight, in Load_SBit_Png()
|
/external/oss-fuzz/projects/giflib/ |
D | dgif_fuzz_common.cc | 155 int imgWidth = GifFile->SavedImages[i].ImageDesc.Width; in fuzz_dgif_ala_android() local 160 if (y + 8 <= imgHeight && x + 8 * strLen <= imgWidth) in fuzz_dgif_ala_android()
|
/external/llvm-project/clang/test/SemaOpenCL/ |
D | fdeclare-opencl-builtins.cl | 118 int imgWidth = get_image_width(image_read_only_image2d);
|