/frameworks/base/core/jni/ |
D | android_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp | 64 static Transform forCropFollowedByRotation(int cropLeft, int cropTop, 299 Transform Transform::forCropFollowedByRotation(int cropLeft, int cropTop, int cropRight, in forCropFollowedByRotation() argument 307 int cropXLow = min(cropLeft, cropRight); in forCropFollowedByRotation() 309 int cropXHigh = max(cropLeft, cropRight); in forCropFollowedByRotation() 522 int cropLeft, int cropTop, int cropRight, int cropBottom, in compress() argument 528 finalWidth = cropRight - cropLeft; in compress() 535 finalHeight = cropRight - cropLeft; in compress() 538 finalHeight = cropRight - cropLeft; in compress() 555 cropLeft, cropTop, cropRight, cropBottom, rot90); in compress() 558 cropLeft / 2, cropTop / 2, cropRight / 2, cropBottom / 2, rot90); in compress() [all …]
|
/frameworks/ex/camera2/extensions/jni/ |
D | JpegEncoder.cpp | 62 static Transform forCropFollowedByRotation(int cropLeft, int cropTop, 297 Transform Transform::forCropFollowedByRotation(int cropLeft, int cropTop, int cropRight, in forCropFollowedByRotation() argument 305 int cropXLow = min(cropLeft, cropRight); in forCropFollowedByRotation() 307 int cropXHigh = max(cropLeft, cropRight); in forCropFollowedByRotation() 520 int cropLeft, int cropTop, int cropRight, int cropBottom, in compress() argument 526 finalWidth = cropRight - cropLeft; in compress() 533 finalHeight = cropRight - cropLeft; in compress() 536 finalHeight = cropRight - cropLeft; in compress() 553 cropLeft, cropTop, cropRight, cropBottom, rot90); in compress() 556 cropLeft / 2, cropTop / 2, cropRight / 2, cropBottom / 2, rot90); in compress() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 124 float cropLeft = -edges.left / scale; in getCrop() local 126 float cropRight = cropLeft + getWidth() / scale; in getCrop() 129 return new RectF(cropLeft, cropTop, cropRight, cropBottom); in getCrop()
|
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/ |
D | JpegEncoder.java | 97 int cropLeft, int cropTop, int cropRight, int cropBottom, in compressJpegFromYUV420pNative() argument
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 35 const android_ycbcr &ycbcr, int32_t cropTop, int32_t cropLeft, in initDstYUV() argument 37 *dst_y = (uint8_t *)ycbcr.y + cropTop * ycbcr.ystride + cropLeft; in initDstYUV() 39 int32_t c_offset = (cropTop / 2) * ycbcr.cstride + cropLeft / 2; in initDstYUV()
|
D | ColorConverter.cpp | 569 size_t cropLeft, size_t cropTop, in BitmapParams() argument 576 mCropLeft(cropLeft), in BitmapParams()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ColorConverter.h | 148 size_t cropLeft, size_t cropTop,
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 1083 int32_t cropLeft, cropTop, cropRight, cropBottom; in convertMetaDataToMessage() local 1085 &cropLeft, in convertMetaDataToMessage() 1089 msg->setRect("crop", cropLeft, cropTop, cropRight, cropBottom); in convertMetaDataToMessage() 1919 int32_t cropLeft, cropTop, cropRight, cropBottom; in convertMessageToMetaData() local 1921 &cropLeft, in convertMessageToMetaData() 1925 if (cropLeft < 0 || cropLeft > cropRight || cropRight >= width) { in convertMessageToMetaData() 1926 ALOGE("Invalid value of cropLeft: %d and/or cropRight: %d", cropLeft, cropRight); in convertMessageToMetaData() 1933 meta->setRect(kKeyCropRect, cropLeft, cropTop, cropRight, cropBottom); in convertMessageToMetaData()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 730 final int cropLeft = (layoutWidth - mCropSize) / 2; in onLayout() local 732 final int cropRight = cropLeft + mCropSize; in onLayout() 737 mCropRect.set(cropLeft, cropTop, cropRight, cropBottom); in onLayout()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraExtensionJpegProcessor.java | 193 int cropLeft, int cropTop, int cropRight, int cropBottom, in compressJpegFromYUV420pNative() argument
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 784 int numPlanes, jobject buffer, int fenceFd, int format, int cropLeft, int cropTop, in ImageReader_createImagePlanes() argument 820 Rect cropRect(cropLeft, cropTop, cropRight, cropBottom); in ImageReader_createImagePlanes()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 2086 int32_t cropLeft, cropTop, cropRight, cropBottom; in updateVideoSize() local 2089 &cropLeft, &cropTop, &cropRight, &cropBottom)); in updateVideoSize() 2091 displayWidth = cropRight - cropLeft + 1; in updateVideoSize() 2099 cropLeft, cropTop); in updateVideoSize()
|
/frameworks/base/media/java/android/media/ |
D | ImageReader.java | 1498 GraphicBuffer buffer, int fenceFd, int format, int cropLeft, int cropTop, in nativeCreateImagePlanes() argument
|