Home
last modified time | relevance | path

Searched refs:srcHeight (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/jni/filters/
Dgeometry.c22 static __inline__ void flipVertical(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destin… in flipVertical() argument
27 int length = srcHeight; in flipVertical()
37 static __inline__ void flipHorizontal(uint8_t * source, int srcWidth, int srcHeight, in flipHorizontal() argument
42 int length = srcHeight; in flipHorizontal()
55 static __inline__ void flip_fun(int flip, uint8_t * source, int srcWidth, int srcHeight, uint8_t * … in flip_fun() argument
61 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight); in flip_fun()
67 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun()
71 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun()
77 static __inline__ void rotate90(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destinatio… in rotate90() argument
81 int length = srcHeight; in rotate90()
[all …]
/packages/apps/Camera2/src/com/android/camera/widget/
DRoundedThumbnailView.java746 int srcHeight = srcBitmap.getHeight(); in cropCenterBitmap() local
748 if (srcWidth >= srcHeight) { in cropCenterBitmap()
750 srcBitmap, srcWidth / 2 - srcHeight / 2, 0, srcHeight, srcHeight); in cropCenterBitmap()
753 srcBitmap, 0, srcHeight / 2 - srcWidth / 2, srcWidth, srcWidth); in cropCenterBitmap()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapUtils.java45 int srcWidth, int srcHeight, int targetWidth, int targetHeight) { in calculateInSampleSize() argument
47 int halfHeight = srcHeight / 2; in calculateInSampleSize()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp57 unsigned srcHeight) { in fillRGBAFromYUYV() argument
71 const unsigned numRows = std::min(srcHeight, pDesc->height); in fillRGBAFromYUYV()
99 unsigned srcHeight) { in fillBufferCopy() argument
109 const unsigned numRows = std::min(srcHeight, pDesc->height); in fillBufferCopy()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java141 int srcHeight = bitmap.getHeight(); in resizeDownBySideLength() local
143 (float) maxLength / srcWidth, (float) maxLength / srcHeight); in resizeDownBySideLength()