Searched refs:crop (Results 1 - 25 of 43) sorted by relevance

12

/external/replicaisland/src/com/replica/replicaisland/
H A DOpenGLSystem.java61 public static final void setTextureCrop(int[] crop) { argument
63 cropSignature = (crop[0] + crop[1]) << 16;
64 cropSignature |= crop[2] + crop[3];
68 crop, 0);
H A DMotionBlurComponent.java35 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/
H A Dtest_VIDIOC_CROP.c31 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/autotest/client/site_tests/camera_V4L2/src/
H A Dmedia_v4l2_unittest.cc112 v4l2_crop crop; local
113 memset(&crop, 0, sizeof(crop));
114 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
115 crop.c = cropcap.defrect;
116 v4l2_dev.SetCrop(&crop);
127 v4l2_crop crop; local
128 memset(&crop, 0, sizeof(crop));
129 crop
[all...]
H A Dmedia_v4l2_device.cc101 v4l2_crop crop; local
102 memset(&crop, 0, sizeof(crop));
104 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
105 crop.c = cropcap.defrect;
106 SetCrop(&crop);
734 bool V4L2Device::GetCrop(v4l2_crop* crop) { argument
735 if (-1 == DoIoctl(VIDIOC_G_CROP, crop)) {
739 printf("crop: %d, %d, %d, %d\n",
740 crop
745 SetCrop(v4l2_crop* crop) argument
[all...]
H A Dmedia_v4l2_device.h61 bool GetCrop(v4l2_crop* crop);
62 bool SetCrop(v4l2_crop* crop);
/external/autotest/client/cros/image_comparison/
H A Drgb_image_comparer.py61 golden_image = golden_image.crop(box)
62 test_image = test_image.crop(box)
H A Dpdiff_image_comparer.py46 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/
H A Dtjexampletest.in99 $EXEDIR/jpegtran -crop 70x60+16+16 -flip horizontal -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR/${basename}_${samp}_hflip_jpegtran.jpg
100 $EXEDIR/jpegtran -crop 70x60+16+16 -flip vertical -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR/${basename}_${samp}_vflip_jpegtran.jpg
101 $EXEDIR/jpegtran -crop 70x60+16+16 -transpose -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR/${basename}_${samp}_transpose_jpegtran.jpg
102 $EXEDIR/jpegtran -crop 70x60+16+16 -transverse -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR/${basename}_${samp}_transverse_jpegtran.jpg
103 $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 90 -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR/${basename}_${samp}_rot90_jpegtran.jpg
104 $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 180 -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR/${basename}_${samp}_rot180_jpegtran.jpg
105 $EXEDIR/jpegtran -crop 70x60+16+16 -rotate 270 -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR/${basename}_${samp}_rot270_jpegtran.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 1
[all...]
H A Dtransupp.h55 * 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; /* i member in struct:__anon10765
[all...]
H A Ddjpeg.c95 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",
H A DCMakeLists.txt783 ${dir}djpeg${suffix} -dct int -crop 62x62+71+71 -ppm
793 ${dir}djpeg${suffix} -dct int -crop 53x53+4+4 -ppm
816 ${dir}djpeg${suffix} -dct int -crop 98x98+13+13 -ppm
830 ${dir}djpeg${suffix} -dct int -crop 37x37+0+0 -ppm
839 add_test(jpegtran${suffix}-crop
840 ${dir}jpegtran${suffix} -crop 120x90+20+50 -transpose -perfect
842 add_test(jpegtran${suffix}-crop-cmp
H A Djpegtran.c71 fprintf(stderr, " -crop WxH+X+Y Crop to a rectangular subarea\n");
147 transformoption.crop = FALSE;
188 } else if (keymatch(arg, "crop", 2)) {
194 fprintf(stderr, "%s: bogus -crop argument '%s'\n",
/external/webrtc/talk/media/base/
H A Dvideoframe.h134 // 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...]
/external/autotest/client/cros/chameleon/
H A Dscreen_capture.py84 image = image.crop(boundary)
/external/autotest/client/cros/video/
H A Dchameleon_screenshot_capturer.py103 img.crop(box).save(fullpath)
/external/skia/bench/
H A DBlurImageFilterBench.cpp27 // 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));
/external/ImageMagick/www/api/
H A Dtransform.php142 <dd>Define the region of the image to crop with members x, y, width, and height. </dd>
168 <dd>A crop geometry string. </dd>
352 <dd>Specifies a pointer to a RectangleInfo which defines the region of the image to crop. </dd>
399 <p>Also if the crop generates a list of images only the first image is resized. And finally if the crop succeeds and the resize failed, you will get a cropped image, as well as a 'false' or 'failed' report.</p>
422 <dd>A crop geometry string. This geometry defines a subregion of the image to crop. </dd>
458 <dd>A crop geometry string. This geometry defines a subregion of the image to crop. </dd>
/external/ImageMagick/MagickCore/
H A Dtransform.c531 % o geometry: Define the region of the image to crop with members
566 Check crop geometry.
650 Initialize crop image attributes.
771 % o crop_geometry: A crop geometry string.
814 crop;
849 crop.y=(ssize_t) MagickRound((double) (offset.y-
852 crop.height=(size_t) MagickRound((double) (offset.y+
857 crop.y=(ssize_t) MagickRound((double) (offset.y-
860 crop.height=(size_t) MagickRound((double)
863 crop
808 crop; local
[all...]
/external/kernel-headers/original/uapi/drm/
H A Dexynos_drm.h187 * @crop: flag of crop supporting.
191 * @crop_min: crop min resolution.
192 * @crop_max: crop max resolution.
204 __u32 crop; member in struct:drm_exynos_ipp_prop_list
/external/ImageMagick/coders/
H A Dwmf.c673 if (bmp_draw->crop.x || bmp_draw->crop.y ||
674 (bmp_draw->crop.w != bmp_draw->bmp.width) ||
675 (bmp_draw->crop.h != bmp_draw->bmp.height))
684 crop_info.x = bmp_draw->crop.x;
685 crop_info.y = bmp_draw->crop.y;
686 crop_info.width = bmp_draw->crop.w;
687 crop_info.height = bmp_draw->crop.h;
712 width = fabs(bmp_draw->pixel_width * (double) bmp_draw->crop.w);
713 height = fabs(bmp_draw->pixel_height * (double) bmp_draw->crop
[all...]
/external/autotest/client/cros/graphics/
H A Dgraphics_utils.py353 Take a screenshot, crop to final height starting at given (x, y) coordinate.
364 image.crop()
370 cropped = image.crop(box)
377 Take a screenshot using import tool, crop according to dim given by the box.
384 cmd = ('/usr/local/bin/import -window root -depth 8 -crop '
402 Take a screenshot using import tool, crop according to dim given by the box.
413 image = image.crop(box)
/external/skia/src/effects/
H A DSkArithmeticImageFilter.cpp482 const SkImageFilter::CropRect* crop) {
502 std::move(foreground), crop);
507 new ArithmeticImageFilterImpl(k1, k2, k3, k4, enforcePMColor, inputs, crop));
478 Make(float k1, float k2, float k3, float k4, bool enforcePMColor, sk_sp<SkImageFilter> background, sk_sp<SkImageFilter> foreground, const SkImageFilter::CropRect* crop) argument
/external/piex/src/
H A Dtiff_parser.cc600 std::vector<std::uint32_t> crop(2);
602 if (tiff_directory.Get(kExifTagDefaultCropSize, &crop)) {
603 *width = crop[0];
604 *height = crop[1];
/external/ImageMagick/Magick++/demo/
H A Ddemo.cpp147 cout << " crop ..." << endl;
150 example.crop( "80x80+25+50" );

Completed in 2569 milliseconds

12