/packages/apps/Camera/perftests/panorama/ |
H A D | benchmark.cpp | 23 #include "mosaic/ImageUtils.h" 42 ImageType rgbFrame = ImageUtils::readBinaryPPM(filename, width, height); 43 yvuFrames[i] = ImageUtils::allocateImage(width, height, 44 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 45 ImageUtils::rgb2yvu(yvuFrames[i], rgbFrame, width, height); 46 ImageUtils::freeImage(rgbFrame); 101 ImageType imageRGB = ImageUtils::allocateImage( 102 mosaicWidth, mosaicHeight, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 122 ImageUtils::yvu2rgb(imageRGB, resultYVU, mosaicWidth, 124 ImageUtils [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | MosaicTypes.h | 27 #include "ImageUtils.h" 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
|
H A D | AlignFeatures.cpp | 46 if (imageGray != ImageUtils::IMAGE_TYPE_NOIMAGE) 47 ImageUtils::freeImage(imageGray); 90 imageGray = ImageUtils::allocateImage(width, height, 1); 100 ImageUtils::rgb2gray(imageGray, imageRGB, width, height); 109 ImageType *m_rows = ImageUtils::imageTypeToRowPointers(imageGray_, width, height);
|
H A D | ImageUtils.cpp | 18 // ImageUtils.cpp 19 // $Id: ImageUtils.cpp,v 1.12 2011/06/17 13:35:48 mbansal Exp $ 26 #include "ImageUtils.h" 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) 116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) 121 ImageType out = ImageUtils::allocateImage(width, height, 1); 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) 176 ImageType *ImageUtils::imageTypeToRowPointers(ImageType in, int width, int height) 190 void ImageUtils [all...] |
H A D | Mosaic.cpp | 128 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 129 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height); 137 ImageUtils::freeImage(imageYVU);
|
H A D | ImageUtils.h | 18 // ImageUtils.h 19 // $Id: ImageUtils.h,v 1.9 2011/05/16 15:33:06 mbansal Exp $ 39 class ImageUtils { class
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | MosaicTypes.h | 27 #include "ImageUtils.h" 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS);
|
H A D | AlignFeatures.cpp | 46 if (imageGray != ImageUtils::IMAGE_TYPE_NOIMAGE) 47 ImageUtils::freeImage(imageGray); 90 imageGray = ImageUtils::allocateImage(width, height, 1); 100 ImageUtils::rgb2gray(imageGray, imageRGB, width, height); 109 ImageType *m_rows = ImageUtils::imageTypeToRowPointers(imageGray_, width, height);
|
H A D | ImageUtils.cpp | 18 // ImageUtils.cpp 19 // $Id: ImageUtils.cpp,v 1.12 2011/06/17 13:35:48 mbansal Exp $ 26 #include "ImageUtils.h" 28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) 73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) 116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) 121 ImageType out = ImageUtils::allocateImage(width, height, 1); 146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) 176 ImageType *ImageUtils::imageTypeToRowPointers(ImageType in, int width, int height) 190 void ImageUtils [all...] |
H A D | Mosaic.cpp | 123 imageYVU = ImageUtils::allocateImage(this->width, this->height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 124 ImageUtils::rgb2yvu(imageYVU, imageRGB, width, height);
|
H A D | ImageUtils.h | 18 // ImageUtils.h 19 // $Id: ImageUtils.h,v 1.9 2011/05/16 15:33:06 mbansal Exp $ 39 class ImageUtils { class
|
/packages/apps/Camera/jni/ |
H A D | feature_mos_jni.cpp | 48 ImageType tImage[NR][MAX_FRAMES];// = {{ImageUtils::IMAGE_TYPE_NOIMAGE}}; // YVU24 format image 50 ImageType resultYVU = ImageUtils::IMAGE_TYPE_NOIMAGE; 51 ImageType resultBGR = ImageUtils::IMAGE_TYPE_NOIMAGE; 287 tImage[LR][i] = ImageUtils::allocateImage(tWidth[LR], tHeight[LR], 288 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 289 tImage[HR][i] = ImageUtils::allocateImage(tWidth[HR], tHeight[HR], 290 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 301 ImageUtils::freeImage(tImage[LR][i]); 302 ImageUtils::freeImage(tImage[HR][i]); 580 resultBGR = ImageUtils [all...] |
H A D | Android.mk | 21 feature_mos/src/mosaic/ImageUtils.cpp \
|
H A D | mosaic_renderer_jni.cpp | 24 #include "mosaic/ImageUtils.h" 394 gPreviewImage[LR] = ImageUtils::allocateImage(gPreviewImageWidth[LR], 396 gPreviewImage[HR] = ImageUtils::allocateImage(gPreviewImageWidth[HR], 472 ImageUtils::freeImage(gPreviewImage[LR]); 473 ImageUtils::freeImage(gPreviewImage[HR]);
|
/packages/apps/LegacyCamera/jni/ |
H A D | feature_mos_jni.cpp | 48 ImageType tImage[NR][MAX_FRAMES];// = {{ImageUtils::IMAGE_TYPE_NOIMAGE}}; // YVU24 format image 50 ImageType resultYVU = ImageUtils::IMAGE_TYPE_NOIMAGE; 51 ImageType resultBGR = ImageUtils::IMAGE_TYPE_NOIMAGE; 287 tImage[LR][i] = ImageUtils::allocateImage(tWidth[LR], tHeight[LR], 288 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 289 tImage[HR][i] = ImageUtils::allocateImage(tWidth[HR], tHeight[HR], 290 ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 301 ImageUtils::freeImage(tImage[LR][i]); 302 ImageUtils::freeImage(tImage[HR][i]); 580 resultBGR = ImageUtils [all...] |
H A D | Android.mk | 21 feature_mos/src/mosaic/ImageUtils.cpp \
|
H A D | mosaic_renderer_jni.cpp | 24 #include "mosaic/ImageUtils.h" 373 gPreviewImage[LR] = ImageUtils::allocateImage(gPreviewImageWidth[LR], 376 gPreviewImage[HR] = ImageUtils::allocateImage(gPreviewImageWidth[HR], 453 ImageUtils::freeImage(gPreviewImage[LR]); 454 ImageUtils::freeImage(gPreviewImage[HR]);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | OverlaysAdapter.java | 29 import com.android.videoeditor.util.ImageUtils; 111 canvas.drawBitmap(ImageUtils.buildOverlayBitmap(mContext, null, (Integer)data, mTitle,
|
H A D | OverlayTitleEditor.java | 32 import com.android.videoeditor.util.ImageUtils; 122 mOverlayBitmap = ImageUtils.buildOverlayBitmap(this, mOverlayBitmap, mOverlayType,
|
H A D | ProjectPickerAdapter.java | 43 import com.android.videoeditor.util.ImageUtils; 274 final Bitmap previewBitmap = ImageUtils.scaleImage( 278 ImageUtils.MATCH_LARGER_DIMENSION);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | OverlayView.java | 21 import com.android.videoeditor.util.ImageUtils; 210 ImageUtils.buildOverlayPreview(getContext(), canvas, overlay.getType(),
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
H A D | ImageUtils.java | 45 public class ImageUtils { class 49 private static final String TAG = "ImageUtils"; 61 private ImageUtils() { method in class:ImageUtils
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
H A D | ApiService.java | 76 import com.android.videoeditor.util.ImageUtils; 1852 if (ImageUtils.transformJpeg(filename, outputFile)) { 1957 if (ImageUtils.transformJpeg(filename, outputFile)) { 2547 ImageUtils.buildOverlayBitmap(getApplicationContext(), null, 2673 ImageUtils.buildOverlayBitmap(getApplicationContext(), null, 4389 ImageUtils.buildOverlayBitmap(getApplicationContext(), null, 4522 ImageUtils.buildOverlayBitmap(getApplicationContext(), null,
|