Home
last modified time | relevance | path

Searched refs:ImageUtils (Results 1 – 8 of 8) sorted by relevance

/external/toolchain-utils/android_bench_suite/
Dpanorama.diff29 - feature_mos/src/mosaic/ImageUtils.cpp \
57 + feature_mos/src/mosaic/ImageUtils.cpp \
129 +#include "mosaic/ImageUtils.h"
148 + ImageType rgbFrame = ImageUtils::readBinaryPPM(filename, width, height);
149 + yvuFrames[i] = ImageUtils::allocateImage(width, height,
150 + ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
151 + ImageUtils::rgb2yvu(yvuFrames[i], rgbFrame, width, height);
152 + ImageUtils::freeImage(rgbFrame);
207 + ImageType imageRGB = ImageUtils::allocateImage(
208 + mosaicWidth, mosaicHeight, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
[all …]
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DClassifierActivity.java33 import org.tensorflow.demo.env.ImageUtils;
132 frameToCropTransform = ImageUtils.getTransformationMatrix( in onPreviewSizeChosen()
157 ImageUtils.saveBitmap(croppedBitmap); in processImage()
DDetectorActivity.java39 import org.tensorflow.demo.env.ImageUtils;
178 ImageUtils.getTransformationMatrix( in onPreviewSizeChosen()
278 ImageUtils.saveBitmap(croppedBitmap); in processImage()
DLegacyCameraConnectionFragment.java35 import org.tensorflow.demo.env.ImageUtils;
108 camera.addCallbackBuffer(new byte[ImageUtils.getYUVByteSize(s.height, s.width)]);
DCameraActivity.java44 import org.tensorflow.demo.env.ImageUtils;
136 ImageUtils.convertYUV420SPToARGB8888(bytes, previewWidth, previewHeight, rgbBytes); in onPreviewFrame()
186 ImageUtils.convertYUV420ToARGB8888( in onImageAvailable()
DStylizeActivity.java60 import org.tensorflow.demo.env.ImageUtils;
303 ImageUtils.saveBitmap(textureCopyBitmap, "stylized" + frameNum + ".png"); in saveButton.setOnClickListener()
474 frameToCropTransform = ImageUtils.getTransformationMatrix( in resetPreviewBuffers()
495 frameToCropTransform = ImageUtils.getTransformationMatrix( in processImage()
512 ImageUtils.saveBitmap(croppedBitmap); in processImage()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/env/
DImageUtils.java27 public class ImageUtils { class
108 ImageUtils.convertYUV420SPToARGB8888(input, output, width, height, false); in convertYUV420SPToARGB8888()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/tracking/
DMultiBoxTracker.java36 import org.tensorflow.demo.env.ImageUtils;
169 ImageUtils.getTransformationMatrix( in draw()