/hardware/qcom/display/msm8996/sdm/libs/core/ |
resource_default.h | 58 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, 116 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 118 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 122 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
resource_default.cpp | 602 bool ResourceDefault::CalculateCropRects(const LayerRect &scissor, LayerRect *crop, 604 float &crop_left = crop->left; 605 float &crop_top = crop->top; 606 float &crop_right = crop->right; 607 float &crop_bottom = crop->bottom; 608 float crop_width = crop->right - crop->left; 609 float crop_height = crop->bottom - crop->top; 657 Normalize(1, 1, crop); [all...] |
resource_default.h | 60 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, bool rotate90, 122 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 124 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 128 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
/external/autotest/client/cros/image_comparison/ |
rgb_image_comparer.py | 61 golden_image = golden_image.crop(box) 62 test_image = test_image.crop(box)
|
pdiff_image_comparer.py | 46 Image.open(golden_img_path).crop(box).save(tmp_golden_img_path) 47 Image.open(test_img_path).crop(box).save(tmp_test_img_path)
|
/frameworks/base/core/java/android/app/ |
IUiAutomationConnection.aidl | 41 Bitmap takeScreenshot(in Rect crop, int rotation);
|
/frameworks/native/libs/gui/include/gui/ |
CpuConsumer.h | 53 Rect crop; member in struct:android::CpuConsumer::LockedBuffer 78 crop(Rect::EMPTY_RECT),
|
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/ |
parcelable_composer_layer.cpp | 45 ret = parcel->writeFloat(layer_.crop.left); 48 ret = parcel->writeFloat(layer_.crop.top); 51 ret = parcel->writeFloat(layer_.crop.right); 54 ret = parcel->writeFloat(layer_.crop.bottom); 148 ret = parcel->readFloat(&layer_.crop.left); 151 ret = parcel->readFloat(&layer_.crop.top); 154 ret = parcel->readFloat(&layer_.crop.right); 157 ret = parcel->readFloat(&layer_.crop.bottom);
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
trace_creator.py | 69 print ("5. Crop Change") 70 print ("6. Final Crop Change") 119 change.crop.rectangle.left, change.crop.rectangle.top, \ 120 change.crop.rectangle.right, change.crop.rectangle.bottom = crop() 216 def crop(): function
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropActivity.java | 17 package com.android.gallery3d.filtershow.crop; 62 public static final String CROP_ACTION = "com.android.camera.action.CROP"; 151 * in the CROP intent. 310 RectF crop = getBitmapCrop(photo); local 311 startBitmapIO(flags, mOriginalBitmap, mSourceUri, destinationUri, crop, 425 // Set extra for crop bounds 464 // Find crop bounds (scaled to original image size) 467 Log.w(LOGTAG, "cannot find crop for full size image"); 475 Log.w(LOGTAG, "crop has bad values for full size image"); 488 Bitmap crop = null local 619 RectF crop = CropMath.getScaledCropBounds(cropBounds, photoBounds, imageBounds); local 689 RectF crop = mCropView.getCrop(); local [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
QCamera3PostProc.cpp | 1230 cam_rect_t crop; local 1772 cam_rect_t crop; local [all...] |
/external/libjpeg-turbo/ |
tjexampletest.in | 99 runme $EXEDIR/jpegtran -crop 70x60+16+16 -flip horizontal -trim -outfile $OUTDIR/${basename}_${samp}_hflip_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg 100 runme $EXEDIR/jpegtran -crop 70x60+16+16 -flip vertical -trim -outfile $OUTDIR/${basename}_${samp}_vflip_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg 101 runme $EXEDIR/jpegtran -crop 70x60+16+16 -transpose -trim -outfile $OUTDIR/${basename}_${samp}_transpose_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg 102 runme $EXEDIR/jpegtran -crop 70x60+16+16 -transverse -trim -outfile $OUTDIR/${basename}_${samp}_transverse_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg 103 runme $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 90 -trim -outfile $OUTDIR/${basename}_${samp}_rot90_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg 104 runme $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 180 -trim -outfile $OUTDIR/${basename}_${samp}_rot180_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg 105 runme $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 270 -trim -outfile $OUTDIR/${basename}_${samp}_rot270_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg 109 runme $JAVA TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -crop 16,16,70x60 112 runme $JAVA TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 16,16,70x60 118 runme $JAVA TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 16,16,70x60 -fastupsampl [all...] |
transupp.h | 55 * We also offer a lossless-crop option, which discards data outside a given 57 * flip transforms, lossless crop is restricted by the JPEG format: the upper 59 * does not hold for the given crop parameters, we silently move the upper left 61 * dimensions to keep the lower right crop corner unchanged. (Thus, the 65 * We also provide a lossless-resize option, which is kind of a lossless-crop 70 * Rotate/flip transform, resize, and crop can be requested together in a 71 * single invocation. The crop is applied last --- that is, the crop region 99 * Codes for crop parameters, which can individually be unspecified, 123 boolean crop; /* if TRUE, crop source image * member in struct:__anon25064 [all...] |
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderDef.h | 421 Cropping crop; member in struct:VideoParamsAVC 452 this->crop.LeftOffset = other.crop.LeftOffset; 453 this->crop.RightOffset = other.crop.RightOffset; 454 this->crop.TopOffset = other.crop.TopOffset; 455 this->crop.BottomOffset = other.crop.BottomOffset;
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskCompressImageToJpeg.java | 86 Rect crop, int degrees) { 87 return JpegUtilNative.compressJpegFromYUV420Image(img, outBuf, quality, crop, degrees); 176 // Crop coordinate space is in original sensor coordinates. We need 177 // to calculate the proper rotation of the crop to be applied to the 187 // calculate crop from exif info with image proxy width/height 189 rotateBoundingBox(img.crop, combinedRotationFromSensorToJpeg)); 193 // calculate crop from exif info with combined rotation 195 rotateBoundingBox(img.crop, combinedRotationFromSensorToJpeg)); 207 // Crop the image 237 safeCrop = guaranteedSafeCrop(img.proxy, img.crop); [all...] |
TaskJpegEncode.java | 185 * @param crop Crop to be applied 189 public byte[] decompressCropAndRecompressJpegData(final byte[] jpegData, Rect crop, 193 final Bitmap croppedResult = Bitmap.createBitmap(original, crop.left, crop.top, 194 crop.width(), crop.height());;
|
/hardware/qcom/display/msm8994/liboverlay/ |
overlayRotator.h | 72 virtual void setCrop(const utils::Dim& crop) = 0; 136 virtual void setCrop(const utils::Dim& crop); 208 virtual void setCrop(const utils::Dim& crop); 260 static utils::Dim getFormatAdjustedCrop(const utils::Dim& crop, 263 static utils::Dim getDownscaleAdjustedCrop(const utils::Dim& crop,
|
/hardware/qcom/display/msm8084/liboverlay/ |
overlayRotator.h | 72 virtual void setCrop(const utils::Dim& crop) = 0; 107 virtual void setCrop(const utils::Dim& crop); 164 virtual void setCrop(const utils::Dim& crop);
|
/hardware/qcom/display/msm8226/liboverlay/ |
overlayRotator.h | 72 virtual void setCrop(const utils::Dim& crop) = 0; 112 virtual void setCrop(const utils::Dim& crop); 171 virtual void setCrop(const utils::Dim& crop);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
LabelMaker.java | 376 int[] crop = new int[4]; local 377 crop[0] = cropU; 378 crop[1] = cropV; 379 crop[2] = cropW; 380 crop[3] = cropH; 381 mCrop = crop;
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
media_v4l2_device.h | 80 bool GetCrop(v4l2_crop* crop); 81 bool SetCrop(v4l2_crop* crop);
|
/frameworks/native/libs/gui/ |
GLConsumer.cpp | 125 static bool isEglImageCroppable(const Rect& crop) { 126 return hasEglAndroidImageCrop() && (crop.left == 0 && crop.top == 0); 818 // crop rectangle we may need to shrink it by 2 texels in each 821 // are subsampled we may need to shrink the crop region by a whole 857 mat4 crop( 863 xform = crop * xform; 875 Rect GLConsumer::scaleDownCrop(const Rect& crop, uint32_t bufferWidth, uint32_t bufferHeight) { 876 Rect outCrop = crop; 878 uint32_t newWidth = static_cast<uint32_t>(crop.width()) [all...] |
/frameworks/native/opengl/tests/textures/ |
textures.cpp | 66 GLint crop[4] = { 0, 4, 4, -4 }; 68 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/external/tensorflow/tensorflow/core/lib/jpeg/ |
jpeg_mem.h | 19 // Direct manipulation of JPEG strings are supplied: Flip, Rotate, Crop.. 65 // Settings of crop window before decompression. 66 bool crop = false; member in struct:tensorflow::jpeg::UncompressFlags
|
/hardware/qcom/display/msm8909/sdm/include/private/ |
resource_interface.h | 58 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst,
|