HomeSort by relevance Sort by last modified time
    Searched defs:crop (Results 1 - 25 of 173) sorted by null

1 2 3 4 5 6 7

  /packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
ImageToProcess.java 34 public final Rect crop; field in class:ImageToProcess
40 * @param crop The crop region of the image to save. Note that this is in
41 * the coordinate-space of the original image, so the crop should
42 * be performed *before* any rotation, and a crop rectangle of
46 ListenableFuture<TotalCaptureResultProxy> metadata, Rect crop) {
50 this.crop = crop;
54 * No crop.
  /frameworks/native/libs/gui/include/gui/
IGraphicBufferProducer.h 299 // * crop rect is out of bounds of the buffer dimensions
308 // crop - a crop rectangle that's used as a hint to the consumer
322 dataSpace(_dataSpace), crop(_crop), scalingMode(_scalingMode),
335 *outCrop = crop;
361 Rect crop; member in struct:android::IGraphicBufferProducer::QueueBufferInput
CpuConsumer.h 53 Rect crop; member in struct:android::CpuConsumer::LockedBuffer
78 crop(Rect::EMPTY_RECT),
BufferQueueCore.h 320 : crop(_crop),
326 Rect crop; member in struct:android::BufferQueueCore::SharedBufferCache
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtilsTest.java 42 BufferedImage crop = ImageUtils.cropBlank(image, null); local
43 assertNull(crop);
53 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); local
54 assertNull(crop);
64 BufferedImage crop = ImageUtils.cropBlank(image, null); local
65 assertNotNull(crop);
66 assertEquals(image.getWidth(), crop.getWidth());
67 assertEquals(image.getHeight(), crop.getHeight());
79 BufferedImage crop = ImageUtils.cropBlank(image, null); local
80 assertNotNull(crop);
96 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(0, 0, 100, 100)); local
113 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); local
128 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); local
139 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, null); local
154 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); local
168 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, new Rect(40, 40, 0, 0)); local
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
ScriptYuvCrop.java 30 * Crop {@link ImageFormat#YUV_420_888 flexible-YUV} {@link Allocation allocations} into
34 * {@link ScriptYuvCrop#CROP_WINDOW crop window} parameter.</p>
44 * <p>The output will be a cropped copy of the input to only this crop window.</p>
63 RectF crop = parameters.get(CROP_WINDOW); local
65 (int)(crop.width() * inputSize.getWidth()),
66 (int)(crop.height() * inputSize.getHeight()));
  /external/skia/bench/
BlurImageFilterBench.cpp 27 // When 'cropped' is set we apply a cropRect to the blurImageFilter. The crop rect is an inset of
32 // offsetImageFilter). The crop rect in this case is an inset of the source's natural dimensions.
33 // An additional crop rect is applied to the blurImageFilter that is just the natural dimensions
105 const SkImageFilter::CropRect* crop = variable
108 paint.setImageFilter(SkBlurImageFilter::Make(fSigmaX, fSigmaY, std::move(input), crop));
  /packages/apps/Gallery2/jni/filters/
geometry.c 118 static __inline__ void crop(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight){ function
159 crop(source, srcWidth, srcHeight, destination, dstWidth, dstHeight, offsetWidth, offsetHeight);
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
CropAndSetWallpaperTask.java 72 Bitmap crop = mStreamProvider.readCroppedBitmap( local
74 if (crop == null) {
81 if (crop.compress(CompressFormat.JPEG, DEFAULT_COMPRESS_QUALITY, tmpOut)) {
  /external/autotest/client/site_tests/camera_V4L2/src/
media_v4l2_unittest.cc 138 v4l2_crop crop; local
139 memset(&crop, 0, sizeof(crop));
140 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
141 crop.c = cropcap.defrect;
142 v4l2_dev.SetCrop(&crop);
155 v4l2_crop crop; local
156 memset(&crop, 0, sizeof(crop));
157 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE
    [all...]
  /external/ltp/testcases/kernel/device-drivers/v4l/user_space/
test_VIDIOC_CROP.c 31 struct v4l2_crop crop; local
33 memset(&crop, 0xff, sizeof(crop));
34 crop.type = type;
35 ret1 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop);
61 struct v4l2_crop crop; local
63 memset(&crop, 0xff, sizeof(crop));
64 crop.type = type;
65 ret1 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop);
95 struct v4l2_crop crop; local
155 struct v4l2_crop crop; local
649 struct v4l2_crop crop; local
722 struct v4l2_crop crop; local
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
MotionBlurComponent.java 35 public int[] crop = new int[4]; field in class:MotionBlurComponent.BlurRecord
77 mHistory[mCurrentStep].crop[0] = drawableCrop[0];
78 mHistory[mCurrentStep].crop[1] = drawableCrop[1];
79 mHistory[mCurrentStep].crop[2] = drawableCrop[2];
80 mHistory[mCurrentStep].crop[3] = drawableCrop[3];
100 stepImage.setCrop(record.crop[0], record.crop[1], record.crop[2], -record.crop[3]);
  /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/
CropObject.java 17 package com.android.gallery3d.filtershow.crop;
192 RectF crop = mBoundedRect.getInner(); local
205 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left;
208 dy = Math.min(crop.top + dY, crop.bottom - minWidthHeight) - crop.top;
211 dx = Math.max(crop.right + dX, crop.left + minWidthHeight
    [all...]
CropView.java 17 package com.android.gallery3d.filtershow.crop;
116 RectF crop = mCropObj.getInnerBounds(); local
118 if (crop != newCropBounds || containing != newPhotoBounds
189 Log.w(LOGTAG, "crop reset called");
302 // If crop object doesn't exist, create it and update it from master
358 // Draw crop rect and markers
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
TextureTestRenderer.java 105 int crop[] = new int[] { 0, 0, 4, 4 }; local
108 GL11Ext.GL_TEXTURE_CROP_RECT_OES, crop, 0);
  /external/libjpeg-turbo/
djpeg.c 95 boolean skip, crop; variable
175 fprintf(stderr, " -crop WxH+X+Y Decompress only a rectangular subregion of the image\n");
202 crop = FALSE;
391 } else if (keymatch(arg, "crop", 2)) {
399 crop = TRUE;
702 } else if (crop) {
705 /* Check for valid crop dimensions. We cannot check these values until
710 fprintf(stderr, "%s: crop dimensions exceed image dimensions %d x %d\n",
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:__anon23605
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/
SoftAVC.cpp 226 const CropParams& crop = decInfo.cropParams; local
227 if (mCropLeft == crop.cropLeftOffset &&
228 mCropTop == crop.cropTopOffset &&
229 mCropWidth == crop.cropOutWidth &&
230 mCropHeight == crop.cropOutHeight) {
234 mCropLeft = crop.cropLeftOffset;
235 mCropTop = crop.cropTopOffset;
236 mCropWidth = crop.cropOutWidth;
237 mCropHeight = crop.cropOutHeight;
  /frameworks/av/media/libstagefright/colorconversion/
SoftwareRenderer.cpp 73 "crop", &cropLeftNew, &cropTopNew, &cropRightNew, &cropBottomNew)) {
172 android_native_rect_t crop; local
173 crop.left = mCropLeft;
174 crop.top = mCropTop;
175 crop.right = mCropRight + 1;
176 crop.bottom = mCropBottom + 1;
177 ALOGV("setting crop: [%d, %d, %d, %d] for size [%zu, %zu]",
178 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight)
    [all...]
  /frameworks/native/libs/gui/include/private/gui/
LayerState.h 69 reserved(0), crop(Rect::INVALID_RECT),
99 Rect crop; member in struct:android::layer_state_t
  /frameworks/native/libs/gui/tests/
BufferQueue_test.cpp 79 Rect crop; local
84 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop,
89 ASSERT_EQ(crop, item.mCrop);
    [all...]
SurfaceTextureClient_test.cpp 512 Rect crop = mST->getCurrentCrop(); local
513 EXPECT_EQ(0, crop.left);
514 EXPECT_EQ(0, crop.top);
515 EXPECT_EQ(4, crop.right);
516 EXPECT_EQ(4, crop.bottom);
641 // Query to see if the image crop extension exists
655 android_native_rect_t crop;
656 crop.left = 0;
657 crop.top = 0;
658 crop.right = 5
    [all...]
  /frameworks/native/opengl/tests/gl_yuvtex/
gl_yuvtex.cpp 151 GLint crop[4] = { 0, 0, yuvTexWidth, yuvTexHeight }; local
152 glTexParameteriv(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_CROP_RECT_OES, crop);
  /hardware/intel/img/hwcomposer/merrifield/include/
DataBuffer.h 24 typedef struct crop { struct in namespace:android::intel

Completed in 1255 milliseconds

1 2 3 4 5 6 7