/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_utilities.cpp | 26 float **img; in db_SetupImageReferences_f() local 28 img=new float* [h]; in db_SetupImageReferences_f() 31 img[i]=im+w*i; in db_SetupImageReferences_f() 33 return(img); in db_SetupImageReferences_f() 39 unsigned char **img; in db_SetupImageReferences_u() local 43 img=new unsigned char* [h]; in db_SetupImageReferences_u() 46 img[i]=im+w*i; in db_SetupImageReferences_u() 48 return(img); in db_SetupImageReferences_u() 52 float **img,*im; in db_AllocImage_f() local 55 img=db_SetupImageReferences_f(im,w,h); in db_AllocImage_f() [all …]
|
D | db_feature_detection.cpp | 38 float **img,*aim,*p; in db_AllocStrengthImage_f() local 53 img=new float* [h]; in db_AllocStrengthImage_f() 57 img[i]=aim+aw*i+1; in db_AllocStrengthImage_f() 60 return(img); in db_AllocStrengthImage_f() 63 void db_FreeStrengthImage_f(float *im,float **img,int h) in db_FreeStrengthImage_f() argument 66 delete [] img; in db_FreeStrengthImage_f() 71 inline void db_IxIyRow_f(float *Ix,float *Iy,const float * const *img,int i,int j,int chunk_width) in db_IxIyRow_f() argument 77 Ix[c]=img[i][j+c-1]-img[i][j+c+1]; in db_IxIyRow_f() 78 Iy[c]=img[i-1][j+c]-img[i+1][j+c]; in db_IxIyRow_f() 84 inline void db_IxIyRow_u(int *dxx,const unsigned char * const *img,int i,int j,int nc) in db_IxIyRow_u() argument [all …]
|
D | db_feature_detection.h | 72 …void DetectCorners(const float * const *img,double *x_coord,double *y_coord,int *nr_corners) const; 141 …virtual void DetectCorners(const unsigned char * const *img,double *x_coord,double *y_coord,int *n…
|
D | db_utilities.h | 424 DB_API void db_FreeImage_f(float **img,int h); 446 DB_API void db_FreeImage_u(unsigned char **img,int h);
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities.cpp | 26 float **img; in db_SetupImageReferences_f() local 28 img=new float* [h]; in db_SetupImageReferences_f() 31 img[i]=im+w*i; in db_SetupImageReferences_f() 33 return(img); in db_SetupImageReferences_f() 39 unsigned char **img; in db_SetupImageReferences_u() local 43 img=new unsigned char* [h]; in db_SetupImageReferences_u() 46 img[i]=im+w*i; in db_SetupImageReferences_u() 48 return(img); in db_SetupImageReferences_u() 52 float **img,*im; in db_AllocImage_f() local 55 img=db_SetupImageReferences_f(im,w,h); in db_AllocImage_f() [all …]
|
D | db_feature_detection.cpp | 38 float **img,*aim,*p; in db_AllocStrengthImage_f() local 53 img=new float* [h]; in db_AllocStrengthImage_f() 57 img[i]=aim+aw*i+1; in db_AllocStrengthImage_f() 60 return(img); in db_AllocStrengthImage_f() 63 void db_FreeStrengthImage_f(float *im,float **img,int h) in db_FreeStrengthImage_f() argument 66 delete [] img; in db_FreeStrengthImage_f() 71 inline void db_IxIyRow_f(float *Ix,float *Iy,const float * const *img,int i,int j,int chunk_width) in db_IxIyRow_f() argument 77 Ix[c]=img[i][j+c-1]-img[i][j+c+1]; in db_IxIyRow_f() 78 Iy[c]=img[i-1][j+c]-img[i+1][j+c]; in db_IxIyRow_f() 84 inline void db_IxIyRow_u(int *dxx,const unsigned char * const *img,int i,int j,int nc) in db_IxIyRow_u() argument [all …]
|
D | db_feature_detection.h | 72 …void DetectCorners(const float * const *img,double *x_coord,double *y_coord,int *nr_corners) const; 141 …virtual void DetectCorners(const unsigned char * const *img,double *x_coord,double *y_coord,int *n…
|
D | db_utilities.h | 424 DB_API void db_FreeImage_f(float **img,int h); 446 DB_API void db_FreeImage_u(unsigned char **img,int h);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Pyramid.cpp | 33 PyramidShort *img = (PyramidShort *) calloc(sizeof(PyramidShort) * levels in allocatePyramidPacked() local 37 if (img) { in allocatePyramidPacked() 39 ImageTypeShort *y = (ImageTypeShort *) &img[levels]; in allocatePyramidPacked() 41 for (last = (curr = img) + levels; curr < last; curr++) { in allocatePyramidPacked() 58 return img; in allocatePyramidPacked() 65 PyramidShort *img = (PyramidShort *) in allocateImage() local 69 if (img) { in allocateImage() 70 short **y = (short **) &img[1]; in allocateImage() 72 img->width = width; in allocateImage() 73 img->height = height; in allocateImage() [all …]
|
D | ImageUtils.cpp | 397 void YUVinfo::mapYUVInfoToImage(YUVinfo *img, unsigned char *position) in mapYUVInfoToImage() argument 400 for (i = 0; i < img->Y.height; i++, position += img->Y.width) in mapYUVInfoToImage() 401 img->Y.ptr[i] = position; in mapYUVInfoToImage() 402 for (i = 0; i < img->V.height; i++, position += img->V.width) in mapYUVInfoToImage() 403 img->V.ptr[i] = position; in mapYUVInfoToImage() 404 for (i = 0; i < img->U.height; i++, position += img->U.width) in mapYUVInfoToImage() 405 img->U.ptr[i] = position; in mapYUVInfoToImage()
|
D | Interp.h | 46 inline double ciCalc(PyramidShort *img, int xi, int yi, double xfrac, double yfrac) in ciCalc() argument 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; in ciCalc() 58 in += img->pitch; in ciCalc() 63 in += img->pitch; in ciCalc() 68 in += img->pitch; in ciCalc()
|
D | ImageUtils.h | 155 static void mapYUVInfoToImage(YUVinfo *img, unsigned char *position);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Pyramid.cpp | 33 PyramidShort *img = (PyramidShort *) calloc(sizeof(PyramidShort) * levels in allocatePyramidPacked() local 37 if (img) { in allocatePyramidPacked() 39 ImageTypeShort *y = (ImageTypeShort *) &img[levels]; in allocatePyramidPacked() 41 for (last = (curr = img) + levels; curr < last; curr++) { in allocatePyramidPacked() 58 return img; in allocatePyramidPacked() 65 PyramidShort *img = (PyramidShort *) in allocateImage() local 69 if (img) { in allocateImage() 70 short **y = (short **) &img[1]; in allocateImage() 72 img->width = width; in allocateImage() 73 img->height = height; in allocateImage() [all …]
|
D | ImageUtils.cpp | 397 void YUVinfo::mapYUVInfoToImage(YUVinfo *img, unsigned char *position) in mapYUVInfoToImage() argument 400 for (i = 0; i < img->Y.height; i++, position += img->Y.width) in mapYUVInfoToImage() 401 img->Y.ptr[i] = position; in mapYUVInfoToImage() 402 for (i = 0; i < img->V.height; i++, position += img->V.width) in mapYUVInfoToImage() 403 img->V.ptr[i] = position; in mapYUVInfoToImage() 404 for (i = 0; i < img->U.height; i++, position += img->U.width) in mapYUVInfoToImage() 405 img->U.ptr[i] = position; in mapYUVInfoToImage()
|
D | Interp.h | 46 inline double ciCalc(PyramidShort *img, int xi, int yi, double xfrac, double yfrac) in ciCalc() argument 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; in ciCalc() 58 in += img->pitch; in ciCalc() 63 in += img->pitch; in ciCalc() 68 in += img->pitch; in ciCalc()
|
D | ImageUtils.h | 155 static void mapYUVInfoToImage(YUVinfo *img, unsigned char *position);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | ImageCaptureManager.java | 470 final Image img = reader.acquireLatestImage(); 472 if (img != null) { 480 img.getTimestamp(), new SwapTask<CapturedImage>() { 484 image.addImage(img); 491 oldElement.addImage(img); 497 existingElement.addImage(img); 505 img.close(); 512 tryExecutePendingCaptureRequest(img.getTimestamp()); 678 CapturedImage img = toCapture.second; 679 callback.onImageCaptured(img.tryGetImage(), [all …]
|
D | OneCameraImpl.java | 677 Image img = reader.acquireLatestImage(); in acquireJpegBytesAndClose() local 681 if (img.getFormat() == ImageFormat.JPEG) { in acquireJpegBytesAndClose() 682 Image.Plane plane0 = img.getPlanes()[0]; in acquireJpegBytesAndClose() 684 } else if (img.getFormat() == ImageFormat.YUV_420_888) { in acquireJpegBytesAndClose() 685 buffer = ByteBuffer.allocateDirect(img.getWidth() * img.getHeight() * 3); in acquireJpegBytesAndClose() 688 int numBytes = JpegUtilNative.compressJpegFromYUV420Image(img, buffer, JPEG_QUALITY); in acquireJpegBytesAndClose() 702 img.close(); in acquireJpegBytesAndClose()
|
D | OneCameraZslImpl.java | 934 private byte[] acquireJpegBytes(Image img) { in acquireJpegBytes() argument 937 if (img.getFormat() == ImageFormat.JPEG) { in acquireJpegBytes() 938 Image.Plane plane0 = img.getPlanes()[0]; in acquireJpegBytes() 945 } else if (img.getFormat() == ImageFormat.YUV_420_888) { in acquireJpegBytes() 948 buffer = ByteBuffer.allocateDirect(img.getWidth() * img.getHeight() * 3); in acquireJpegBytes() 951 int numBytes = JpegUtilNative.compressJpegFromYUV420Image(img, buffer, JPEG_QUALITY); in acquireJpegBytes()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | JpegUtilNative.java | 78 public static int compressJpegFromYUV420Image(Image img, ByteBuffer outBuf, int quality) { in compressJpegFromYUV420Image() argument 79 if (img.getFormat() != ImageFormat.YUV_420_888) { in compressJpegFromYUV420Image() 85 if (img.getPlanes().length != NUM_PLANES) { in compressJpegFromYUV420Image() 98 Plane plane = img.getPlanes()[i]; in compressJpegFromYUV420Image() 112 img.getWidth(), img.getHeight(), in compressJpegFromYUV420Image()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGallery.java | 181 IImage img = getCurrentImage(); 182 if (img == null) { 183 img = mAllImages.getImageAt(0); 184 if (img == null) { 188 Uri targetUri = img.fullSizeImageUri(); 277 private void launchCropperOrFinish(IImage img) { 280 long size = MenuHelper.getImageFileSize(img); 310 cropIntent.setData(img.fullSizeImageUri()); 318 Intent result = new Intent(null, img.fullSizeImageUri()); 321 Bitmap bitmap = img.fullSizeBitmap(
|
D | ViewImage.java | 1131 IImage img = mViewImage.mAllImages 1134 new Intent().setData(img.fullSizeImageUri()));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageShow.java | 263 MasterImage img = MasterImage.getImage(); in onDraw() local 266 if ((img.getLoadedPreset() == null) in onDraw() 267 || (img.getLoadedPreset() != null in onDraw() 268 && img.getLoadedPreset().equals(img.getCurrentPreset()))) { in onDraw() 270 } else if (img.getLoadedPreset() != null) { in onDraw() 925 MasterImage img = MasterImage.getImage(); 926 float scaleFactor = img.getScaleFactor(); 936 scaleFactor = img.getScaleFactor();
|
/packages/apps/Gallery2/jni/filters/ |
D | redEyeMath.c | 104 void stuff(int r, int g, int b, unsigned char *img, int off) { in stuff() argument 105 img[off + 2] = b; in stuff() 106 img[off + 1] = g; in stuff() 107 img[off] = r; in stuff()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropActivity.java | 423 Bitmap img = params[0]; in doInBackground() local 440 assert (img != null); in doInBackground() 441 Bitmap ret = getCroppedImage(img, mCrop, mPhoto); in doInBackground()
|