Home
last modified time | relevance | path

Searched refs:crop_height (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrYuvLuminanceSource.java41 public LuminanceSource crop(int left, int top, int crop_width, int crop_height) { in crop() argument
42 final byte[] newImage = new byte[crop_width * crop_height]; in crop()
45 if (left + crop_width > mWidth || top + crop_height > mHeight) { in crop()
49 for (int y = 0; y < crop_height; y++) { in crop()
53 return new QrYuvLuminanceSource(newImage, crop_width, crop_height); in crop()
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.h93 virtual bool setDigitalZoomRatio(uint32_t crop_width, uint32_t crop_height,
DExifUtils.cpp83 uint32_t crop_width, uint32_t crop_height,
372 uint32_t crop_width, uint32_t crop_height, in setDigitalZoomRatio() argument
375 float zoomRatioY = (crop_height == 0) ? 1.0 : 1.0 * sensor_height / crop_height; in setDigitalZoomRatio()
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp981 int32_t crop_width, crop_height; in onOutputReceived() local
983 crop_height = crop_bottom - crop_top + 1; in onOutputReceived()
987 dstTop = mTilesDecoded / mGridCols * crop_height; in onOutputReceived()
989 dstBottom = dstTop + crop_height - 1; in onOutputReceived()