Searched refs:crop_width (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrYuvLuminanceSource.java | 41 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() 50 System.arraycopy(mYuvData, inputOffset, newImage, y * crop_width, crop_width); in crop() 53 return new QrYuvLuminanceSource(newImage, crop_width, crop_height); in crop()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ExifUtils.h | 93 virtual bool setDigitalZoomRatio(uint32_t crop_width, uint32_t crop_height,
|
D | ExifUtils.cpp | 83 uint32_t crop_width, uint32_t crop_height, 372 uint32_t crop_width, uint32_t crop_height, in setDigitalZoomRatio() argument 374 float zoomRatioX = (crop_width == 0) ? 1.0 : 1.0 * sensor_width / crop_width; in setDigitalZoomRatio()
|
/frameworks/av/media/libstagefright/ |
D | FrameDecoder.cpp | 1036 int32_t crop_width, crop_height; in onOutputReceived() local 1037 crop_width = crop_right - crop_left + 1; in onOutputReceived() 1041 dstLeft = mTilesDecoded % mGridCols * crop_width; in onOutputReceived() 1043 dstRight = dstLeft + crop_width - 1; in onOutputReceived()
|