Searched refs:cropWidth (Results 1 – 6 of 6) sorted by relevance
71 size_t ColorConverter::BitmapParams::cropWidth() const { in cropWidth() function in android::ColorConverter::BitmapParams142 && src.cropWidth() == dst.cropWidth() in convertCbYCrY()154 for (size_t x = 0; x < src.cropWidth(); x += 2) { in convertCbYCrY()185 if (x + 1 < src.cropWidth()) { in convertCbYCrY()202 && src.cropWidth() == dst.cropWidth() in convertYUV420Planar()223 for (size_t x = 0; x < src.cropWidth(); x += 2) { in convertYUV420Planar()273 if (x + 1 < src.cropWidth()) { in convertYUV420Planar()298 && src.cropWidth() == dst.cropWidth() in convertQCOMYUV420SemiPlanar()314 for (size_t x = 0; x < src.cropWidth(); x += 2) { in convertQCOMYUV420SemiPlanar()346 if (x + 1 < src.cropWidth()) { in convertQCOMYUV420SemiPlanar()[all …]
561 float cropHeight, cropWidth; in effectiveCropRectFromRequested() local565 cropWidth = cropHeight * aspectRatioPreview; in effectiveCropRectFromRequested()568 cropWidth = requestedCrop.width(); in effectiveCropRectFromRequested()569 cropHeight = cropWidth / aspectRatioPreview; in effectiveCropRectFromRequested()573 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight); in effectiveCropRectFromRequested()
54 size_t cropWidth() const;
536 float cropWidth = outWidth * (inHeight / (float) outHeight); in getMaxCropRect() local537 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; in getMaxCropRect()538 cropRect.right = cropRect.left + cropWidth; in getMaxCropRect()
659 final int cropWidth = mCropRect.right - mCropRect.left; in getCroppedPhoto() local660 final float scaleWidth = CROPPED_SIZE / cropWidth; in getCroppedPhoto()661 final float scaleHeight = CROPPED_SIZE / cropWidth; in getCroppedPhoto()
6234 int cropWidth = (int)((float)width / (float)height * frame.height()); in screenshotApplications() local6235 crop.right = crop.left + cropWidth; in screenshotApplications()