/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 185 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_t *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV() 361 (uint8_t *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV() 369 (uint8_t *)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/ |
D | AndroidCamera2Settings.java | 561 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/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 208 size_t cropHeight = output.crop().height; in compareMd5Chksm() local 211 calc_md5_cksum(yPlane, yStride, cropWidth, cropHeight, au1_y_chksum); in compareMd5Chksm() 212 calc_md5_cksum(uPlane, uvStride, cropWidth / 2, cropHeight / 2, au1_u_chksum); in compareMd5Chksm() 213 calc_md5_cksum(vPlane, uvStride, cropWidth / 2, cropHeight / 2, au1_v_chksum); in compareMd5Chksm() 215 uint8_t* cbPlane = (uint8_t*)malloc(cropWidth * cropHeight / 4); in compareMd5Chksm() 216 uint8_t* crPlane = (uint8_t*)malloc(cropWidth * cropHeight / 4); in compareMd5Chksm() 220 for (size_t k = 0; k < (cropHeight / 2); k++) { in compareMd5Chksm() 227 calc_md5_cksum(yPlane, yStride, cropWidth, cropHeight, au1_y_chksum); in compareMd5Chksm() 228 calc_md5_cksum(cbPlane, cropWidth / 2, cropWidth / 2, cropHeight / 2, au1_u_chksum); in compareMd5Chksm() 229 calc_md5_cksum(crPlane, cropWidth / 2, cropWidth / 2, cropHeight / 2, au1_v_chksum); in compareMd5Chksm()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ColorConverter.h | 69 size_t cropHeight() const;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | ZoomRatioMapper.cpp | 240 int cropHeight = cropRegionEntry.data.i32[3]; in updateCaptureRequest() local 241 if (cropWidth < arrayWidth && cropHeight < arrayHeight) { in updateCaptureRequest()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 925 float cropHeight = outHeight * (inWidth / (float) outWidth); in getMaxCropRect() local 926 cropRect.top = (inHeight - cropHeight) * verticalAlignment; in getMaxCropRect() 927 cropRect.bottom = cropRect.top + cropHeight; in getMaxCropRect()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1635 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom() local 1639 /*top*/cropCenterY - cropHeight / 2, in getCropRegionForZoom() 1641 /*bottom*/cropCenterY + cropHeight / 2 - 1); in getCropRegionForZoom()
|