Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp628 size_t ColorConverter::BitmapParams::cropHeight() const { in cropHeight() function in android::ColorConverter::BitmapParams
664 && src.cropHeight() == dst.cropHeight())) { in convert()
795 for (size_t y = 0; y < src.cropHeight(); ++y) { in convertCbYCrY()
904 src.cropHeight()); in convertYUV420PlanarUseLibYUV()
921 src.cropHeight()); in convertYUV420PlanarUseLibYUV()
937 src.cropHeight()); in convertYUV420PlanarUseLibYUV()
988 src.cropHeight()); in convertYUV420SemiPlanarUseLibYUV()
1009 src.cropHeight()); in convertYUV420SemiPlanarUseLibYUV()
1031 src.cropHeight()); in convertYUV420SemiPlanarUseLibYUV()
1305 for (size_t y = 0; y < src.cropHeight(); ++y) { in convertYUVMediaImage()
[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/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp213 size_t cropHeight = output.crop().height; in compareMd5Chksm() local
216 calc_md5_cksum(yPlane, yStride, cropWidth, cropHeight, au1_y_chksum); in compareMd5Chksm()
217 calc_md5_cksum(uPlane, uvStride, cropWidth / 2, cropHeight / 2, au1_u_chksum); in compareMd5Chksm()
218 calc_md5_cksum(vPlane, uvStride, cropWidth / 2, cropHeight / 2, au1_v_chksum); in compareMd5Chksm()
220 std::vector<uint8_t> cbPlane(cropWidth * cropHeight / 4); in compareMd5Chksm()
221 std::vector<uint8_t> crPlane(cropWidth * cropHeight / 4); in compareMd5Chksm()
223 for (size_t k = 0; k < (cropHeight / 2); k++) { in compareMd5Chksm()
230 calc_md5_cksum(yPlane, yStride, cropWidth, cropHeight, au1_y_chksum); in compareMd5Chksm()
231 calc_md5_cksum(cbPlane.data(), cropWidth / 2, cropWidth / 2, cropHeight / 2, in compareMd5Chksm()
233 calc_md5_cksum(crPlane.data(), cropWidth / 2, cropWidth / 2, cropHeight / 2, in compareMd5Chksm()
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h153 size_t cropHeight() const;
/frameworks/av/services/camera/libcameraservice/device3/
DZoomRatioMapper.cpp243 int cropHeight = cropRegionEntry.data.i32[3]; in updateCaptureRequest() local
244 if (cropWidth < arrayWidth && cropHeight < arrayHeight) { in updateCaptureRequest()
/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()
/frameworks/base/core/java/android/app/
DWallpaperManager.java1258 float cropHeight = outHeight * (inWidth / (float) outWidth); in getMaxCropRect() local
1259 cropRect.top = (inHeight - cropHeight) * verticalAlignment; in getMaxCropRect()
1260 cropRect.bottom = cropRect.top + cropHeight; in getMaxCropRect()