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

1 2 3 4 5

  /cts/apps/CameraITS/tests/inprog/
test_crop_region.py 22 """Takes shots with different sensor crop regions.
50 crop = req['android.scaler.cropRegion']
51 print "Capturing img%d with crop: %d,%d %dx%d"%(i+1,
52 crop["left"],crop["top"],
53 crop["right"]-crop["left"],crop["bottom"]-crop["top"])
60 crop = cap["metadata"]['android.scaler.cropRegion'
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
OpenGLSystem.java 61 public static final void setTextureCrop(int[] crop) {
63 cropSignature = (crop[0] + crop[1]) << 16;
64 cropSignature |= crop[2] + crop[3];
68 crop, 0);
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]);
  /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/tensorflow/tensorflow/python/kernel_tests/random/
random_crop_test.py 36 crop = random_ops.random_crop(value, shape).eval()
37 self.assertAllEqual(crop, value)
47 crop = random_ops.random_crop(value, size=target)
49 y = self.evaluate(crop)
55 # Run 1x1 crop num_samples times in an image and ensure that one finds each
64 crop = random_ops.random_crop(value, single, seed=7)
67 y = self.evaluate(crop)
  /development/tools/winscope/src/
transform_sf.js 47 var crop = layer.crop || {left: 0, top: 0, right: 0 , bottom:0};
49 left: crop.left || 0,
50 right: crop.right || 0,
51 top: crop.top || 0,
52 bottom: crop.bottom || 0
56 function intersect(bounds, crop) {
58 left: Math.max(crop.left, bounds.left),
59 right: Math.min(crop.right, bounds.right),
60 top: Math.max(crop.top, bounds.top)
    [all...]
  /frameworks/av/media/codec2/core/include/
C2Buffer.h     [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/ImageMagick/Magick++/fuzz/
crop_fuzzer.cc 21 image.crop(Magick::Geometry(Width, Height));
  /external/libxcam/modules/ocl/
cl_image_360_stitch.cpp 173 stitch_info.crop[0].left = 96;
174 stitch_info.crop[0].right = 96;
175 stitch_info.crop[0].top = 0;
176 stitch_info.crop[0].bottom = 0;
177 stitch_info.crop[1].left = 96;
178 stitch_info.crop[1].right = 96;
179 stitch_info.crop[1].top = 0;
180 stitch_info.crop[1].bottom = 0;
200 stitch_info.crop[0].left = 0;
201 stitch_info.crop[0].right = 0
    [all...]
  /device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c 982 * Updates thumbnail crop aspect ratio based on
994 cropped_height = p_thumb_dim->crop.height;
1002 cropped_width = p_thumb_dim->crop.width;
1009 p_thumb_dim->crop.left = p_thumb_dim->crop.left +
1010 floor((p_thumb_dim->crop.width - cropped_width) / 2);
1011 if (p_thumb_dim->crop.left % 2) {
1012 p_thumb_dim->crop.left -= 1;
1014 p_thumb_dim->crop.top = p_thumb_dim->crop.top
    [all...]
  /external/autotest/client/site_tests/camera_V4L2/src/
media_v4l2_unittest.cc 141 v4l2_crop crop; local
142 memset(&crop, 0, sizeof(crop));
143 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
144 crop.c = cropcap.defrect;
145 v4l2_dev.SetCrop(&crop);
158 v4l2_crop crop; local
159 memset(&crop, 0, sizeof(crop));
160 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE
    [all...]
media_v4l2_device.h 80 bool GetCrop(v4l2_crop* crop);
81 bool SetCrop(v4l2_crop* crop);
  /cts/tests/camera/src/android/hardware/camera2/cts/
crop_yuvf_420_to_yuvx_444.rs 26 // Crop each pixel from mInput
27 yuvx_444 RS_KERNEL crop(uint32_t x, uint32_t y) {
  /external/webrtc/talk/media/base/
videoframe.h 134 // take the nearest-point. The parameter "crop" controls whether to crop this
168 // take the nearest-point. The parameter "crop" controls whether to crop this
179 bool crop) const;
183 // take the nearest-point. The parameter "crop" controls whether to crop this
186 bool crop) const;
190 // just take the nearest-point. The parameter "crop" controls whether to crop
    [all...]
  /cts/tests/tests/media/libmediandkjni/
codec-utils-jni.cpp 44 struct crop { struct in struct:NativeImage
49 } crop; member in struct:NativeImage
188 img->crop.left = env->GetIntField(area, gFields.fieldLeft);
189 img->crop.top = env->GetIntField(area, gFields.fieldTop);
190 img->crop.right = env->GetIntField(area, gFields.fieldRight);
191 img->crop.bottom = env->GetIntField(area, gFields.fieldBottom);
192 if (img->crop.right == 0 && img->crop.bottom == 0) {
193 img->crop.right = img->width;
194 img->crop.bottom = img->height
    [all...]
  /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)
  /external/libjpeg-turbo/
tjexampletest.in 98 runme $EXEDIR/jpegtran -crop 70x60+16+16 -flip horizontal -trim -outfile $OUTDIR/${basename}_${samp}_hflip_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
99 runme $EXEDIR/jpegtran -crop 70x60+16+16 -flip vertical -trim -outfile $OUTDIR/${basename}_${samp}_vflip_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
100 runme $EXEDIR/jpegtran -crop 70x60+16+16 -transpose -trim -outfile $OUTDIR/${basename}_${samp}_transpose_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
101 runme $EXEDIR/jpegtran -crop 70x60+16+16 -transverse -trim -outfile $OUTDIR/${basename}_${samp}_transverse_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
102 runme $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 90 -trim -outfile $OUTDIR/${basename}_${samp}_rot90_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
103 runme $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 180 -trim -outfile $OUTDIR/${basename}_${samp}_rot180_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
104 runme $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 270 -trim -outfile $OUTDIR/${basename}_${samp}_rot270_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
108 runme $EXEDIR/tjexample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -crop 70x60+16+16
111 runme $EXEDIR/tjexample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+16+16
117 runme $EXEDIR/tjexample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+16+16 -fastupsampl
    [all...]
tjexampletest.java.in 100 runme $EXEDIR/jpegtran -crop 70x60+16+16 -flip horizontal -trim -outfile $OUTDIR/${basename}_${samp}_hflip_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
101 runme $EXEDIR/jpegtran -crop 70x60+16+16 -flip vertical -trim -outfile $OUTDIR/${basename}_${samp}_vflip_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
102 runme $EXEDIR/jpegtran -crop 70x60+16+16 -transpose -trim -outfile $OUTDIR/${basename}_${samp}_transpose_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
103 runme $EXEDIR/jpegtran -crop 70x60+16+16 -transverse -trim -outfile $OUTDIR/${basename}_${samp}_transverse_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
104 runme $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 90 -trim -outfile $OUTDIR/${basename}_${samp}_rot90_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
105 runme $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 180 -trim -outfile $OUTDIR/${basename}_${samp}_rot180_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
106 runme $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 270 -trim -outfile $OUTDIR/${basename}_${samp}_rot270_jpegtran.jpg $OUTDIR/${basename}_${samp}_fast.jpg
110 runme "$JAVA" $JAVAARGS TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -crop 70x60+16+16
113 runme "$JAVA" $JAVAARGS TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+16+16
119 runme "$JAVA" $JAVAARGS TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 70x60+16+16 -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:__anon28868
    [all...]
  /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/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
  /frameworks/av/media/libstagefright/colorconversion/
SoftwareRenderer.cpp 78 "crop", &cropLeftNew, &cropTopNew, &cropRightNew, &cropBottomNew)) {
216 android_native_rect_t crop; local
217 crop.left = mCropLeft;
218 crop.top = mCropTop;
219 crop.right = mCropRight + 1;
220 crop.bottom = mCropBottom + 1;
221 ALOGV("setting crop: [%d, %d, %d, %d] for size [%zu, %zu]",
222 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
ImageReaderDecoderTest.java 633 Rect crop = image.getCropRect(); local
648 Rect area = new Rect(pos - step, pos, crop.width() / 2, crop.height() + 2 * step - pos);
652 area.offset(crop.left, crop.top);
653 area.intersect(crop);
671 area.offset(crop.centerX() - area.left, 2 * (crop.centerY() - area.centerY()));
756 Rect crop = image.getCropRect(); local
758 int width = crop.width()
    [all...]

Completed in 846 milliseconds

1 2 3 4 5