Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp185 size_t ColorConverter::BitmapParams::cropHeight() const { in cropHeight() function in android::ColorConverter::BitmapParams
210 && src.cropHeight() == dst.cropHeight())) { in convert()
280 for (size_t y = 0; y < src.cropHeight(); ++y) { in convertCbYCrY()
353 (uint8 *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV()
361 (uint8 *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV()
369 (uint8 *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV()
395 dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420SemiPlanarUseLibYUV()
400 dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420SemiPlanarUseLibYUV()
405 dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420SemiPlanarUseLibYUV()
530 for (size_t y = 0; y < src.cropHeight(); ++y) { in convertYUV420Planar()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java561 float cropHeight, cropWidth; in effectiveCropRectFromRequested() local
564 cropHeight = requestedCrop.height(); in effectiveCropRectFromRequested()
565 cropWidth = cropHeight * aspectRatioPreview; in effectiveCropRectFromRequested()
569 cropHeight = cropWidth / aspectRatioPreview; in effectiveCropRectFromRequested()
573 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight); in effectiveCropRectFromRequested()
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h69 size_t cropHeight() const;
/frameworks/base/core/java/android/app/
DWallpaperManager.java762 float cropHeight = outHeight * (inWidth / (float) outWidth); in getMaxCropRect() local
763 cropRect.top = (inHeight - cropHeight) * verticalAlignment; in getMaxCropRect()
764 cropRect.bottom = cropRect.top + cropHeight; in getMaxCropRect()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1635 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom() local
1639 /*top*/cropCenterY - cropHeight / 2, in getCropRegionForZoom()
1641 /*bottom*/cropCenterY + cropHeight / 2 - 1); in getCropRegionForZoom()