Home
last modified time | relevance | path

Searched refs:rot90 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/jni/
Djpegutil.cpp95 int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) { in ForCropFollowedByRotation() argument
106 rot90 %= 4; in ForCropFollowedByRotation()
107 if (rot90 == 0) { in ForCropFollowedByRotation()
109 } else if (rot90 == 1) { in ForCropFollowedByRotation()
111 } else if (rot90 == 2) { in ForCropFollowedByRotation()
113 } else if (rot90 == 3) { in ForCropFollowedByRotation()
322 int rot90) { in Compress() argument
328 rot90 %= 4; in Compress()
330 if (rot90 == 1) { in Compress()
333 } else if (rot90 == 3) { in Compress()
[all …]
Djpegutilnative.cpp87 jint rot90) { in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() argument
100 rot90); in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
120 jint pStride, jint rStride, jobject outBitmap, jint rot90) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() argument
126 if (rot90 == 0) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
137 } else if (rot90 == 1) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
146 } else if (rot90 == 2) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
155 } else if (rot90 == 3) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
Djpegutil.h53 int rot90);
169 int rot90);
/packages/apps/Camera2/src/com/android/camera/util/
DJpegUtilNative.java103 int rot90); in compressJpegFromYUV420pNative() argument
120 int pStride, int rStride, Object outBitmap, int rot90); in copyImagePlaneToBitmap() argument
122 public static void copyImagePlaneToBitmap(ImageProxy.Plane plane, Bitmap bitmap, int rot90) { in copyImagePlaneToBitmap() argument
131 plane.getRowStride(), bitmap, rot90); in copyImagePlaneToBitmap()
145 int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) { in compressJpegFromYUV420p() argument
157 cropLeft, cropTop, cropRight, cropBottom, rot90)); in compressJpegFromYUV420p()
160 quality, cropLeft, cropTop, cropRight, cropBottom, rot90); in compressJpegFromYUV420p()
261 int rot90 = (360 - degrees) / 90; in compressJpegFromYUV420Image()
269 rot90); in compressJpegFromYUV420Image()