Home
last modified time | relevance | path

Searched refs:crop (Results 1 – 25 of 62) sorted by relevance

123

/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_CROP.c31 struct v4l2_crop crop; in do_get_crop() local
33 memset(&crop, 0xff, sizeof(crop)); in do_get_crop()
34 crop.type = type; in do_get_crop()
35 ret1 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop); in do_get_crop()
61 struct v4l2_crop crop; in do_get_crop_invalid() local
63 memset(&crop, 0xff, sizeof(crop)); in do_get_crop_invalid()
64 crop.type = type; in do_get_crop_invalid()
65 ret1 = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop); in do_get_crop_invalid()
95 struct v4l2_crop crop; in test_VIDIOC_G_CROP_NULL() local
97 memset(&crop, 0, sizeof(crop)); in test_VIDIOC_G_CROP_NULL()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DMotionBlurComponent.java35 public int[] crop = new int[4]; field in MotionBlurComponent.BlurRecord
77 mHistory[mCurrentStep].crop[0] = drawableCrop[0]; in update()
78 mHistory[mCurrentStep].crop[1] = drawableCrop[1]; in update()
79 mHistory[mCurrentStep].crop[2] = drawableCrop[2]; in update()
80 mHistory[mCurrentStep].crop[3] = drawableCrop[3]; in update()
100 stepImage.setCrop(record.crop[0], record.crop[1], record.crop[2], -record.crop[3]); in update()
DOpenGLSystem.java61 public static final void setTextureCrop(int[] crop) { in setTextureCrop() argument
63 cropSignature = (crop[0] + crop[1]) << 16; in setTextureCrop()
64 cropSignature |= crop[2] + crop[3]; in setTextureCrop()
68 crop, 0); in setTextureCrop()
/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_unittest.cc112 v4l2_crop crop; in TestSetCrop() local
113 memset(&crop, 0, sizeof(crop)); in TestSetCrop()
114 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in TestSetCrop()
115 crop.c = cropcap.defrect; in TestSetCrop()
116 v4l2_dev.SetCrop(&crop); in TestSetCrop()
127 v4l2_crop crop; in TestGetCrop() local
128 memset(&crop, 0, sizeof(crop)); in TestGetCrop()
129 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in TestGetCrop()
130 v4l2_dev.GetCrop(&crop); in TestGetCrop()
Dmedia_v4l2_device.cc101 v4l2_crop crop; in InitDevice() local
102 memset(&crop, 0, sizeof(crop)); in InitDevice()
104 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in InitDevice()
105 crop.c = cropcap.defrect; in InitDevice()
106 SetCrop(&crop); in InitDevice()
734 bool V4L2Device::GetCrop(v4l2_crop* crop) { in GetCrop() argument
735 if (-1 == DoIoctl(VIDIOC_G_CROP, crop)) { in GetCrop()
740 crop->c.left, crop->c.top, in GetCrop()
741 crop->c.width, crop->c.height); in GetCrop()
745 bool V4L2Device::SetCrop(v4l2_crop* crop) { in SetCrop() argument
[all …]
Dmedia_v4l2_device.h61 bool GetCrop(v4l2_crop* crop);
62 bool SetCrop(v4l2_crop* crop);
/external/libjpeg-turbo/
Dtjexampletest.in99 …$EXEDIR/jpegtran -crop 70x60+16+16 -flip horizontal -trim $OUTDIR/${basename}_${samp}_fast.jpg >$O…
100 …$EXEDIR/jpegtran -crop 70x60+16+16 -flip vertical -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUT…
101 …$EXEDIR/jpegtran -crop 70x60+16+16 -transpose -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR/…
102 …$EXEDIR/jpegtran -crop 70x60+16+16 -transverse -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR…
103 …$EXEDIR/jpegtran -crop 70x60+16+16 -rotate 90 -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR/…
104 …$EXEDIR/jpegtran -crop 70x60+16+16 -rotate 180 -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR…
105 …$EXEDIR/jpegtran -crop 70x60+16+16 -rotate 270 -trim $OUTDIR/${basename}_${samp}_fast.jpg >$OUTDIR…
109 …DIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -crop 16,16,70x60
112 …DIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 16,16,70x60
118 …ename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -crop 16,16,70x60 -fastup…
[all …]
Ddjpeg.c95 boolean skip, crop; variable
202 crop = FALSE; in parse_switches()
399 crop = TRUE; in parse_switches()
702 } else if (crop) { in main()
Dtransupp.h123 boolean crop; /* if TRUE, crop source image */ member
DMakefile.am621 …./djpeg -dct int -crop 62x62+71+71 -ppm -outfile testout_420_islow_prog_crop62x62,71,71.ppm testou…
626 …./djpeg -dct int -crop 53x53+4+4 -ppm -outfile testout_420_islow_ari_crop53x53,4,4.ppm $(srcdir)/t…
637 …./djpeg -dct int -crop 98x98+13+13 -ppm -outfile testout_444_islow_prog_crop98x98,13,13.ppm testou…
644 …./djpeg -dct int -crop 37x37+0+0 -ppm -outfile testout_444_islow_ari_crop37x37,0,0.ppm testout_444…
651 …./jpegtran -crop 120x90+20+50 -transpose -perfect -outfile testout_crop.jpg $(srcdir)/testimages/$…
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
/external/webrtc/talk/media/base/
Dvideoframe.h179 bool crop) const;
186 bool crop) const;
193 bool crop) const;
/external/autotest/client/cros/image_comparison/
Drgb_image_comparer.py61 golden_image = golden_image.crop(box)
62 test_image = test_image.crop(box)
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/ImageMagick/MagickCore/
Dtransform.c808 crop; in CropImageToTiles() local
843 crop.y=(ssize_t) MagickRound((double) (offset.y- in CropImageToTiles()
846 crop.height=(size_t) MagickRound((double) (offset.y+ in CropImageToTiles()
851 crop.y=(ssize_t) MagickRound((double) (offset.y- in CropImageToTiles()
854 crop.height=(size_t) MagickRound((double) in CropImageToTiles()
857 crop.height-=crop.y; in CropImageToTiles()
858 crop.y+=image->page.y; in CropImageToTiles()
863 crop.x=(ssize_t) MagickRound((double) (offset.x- in CropImageToTiles()
866 crop.width=(size_t) MagickRound((double) (offset.x+ in CropImageToTiles()
871 crop.x=(ssize_t) MagickRound((double) (offset.x- in CropImageToTiles()
[all …]
/external/skia/bench/
DBlurImageFilterBench.cpp105 const SkImageFilter::CropRect* crop = in onDraw() local
108 paint.setImageFilter(SkBlurImageFilter::Make(fSigmaX, fSigmaY, std::move(input), crop)); in onDraw()
/external/ImageMagick/coders/
Dwmf.c671 if (bmp_draw->crop.x || bmp_draw->crop.y || in ipa_bmp_draw()
672 (bmp_draw->crop.w != bmp_draw->bmp.width) || in ipa_bmp_draw()
673 (bmp_draw->crop.h != bmp_draw->bmp.height)) in ipa_bmp_draw()
682 crop_info.x = bmp_draw->crop.x; in ipa_bmp_draw()
683 crop_info.y = bmp_draw->crop.y; in ipa_bmp_draw()
684 crop_info.width = bmp_draw->crop.w; in ipa_bmp_draw()
685 crop_info.height = bmp_draw->crop.h; in ipa_bmp_draw()
710 width = fabs(bmp_draw->pixel_width * (double) bmp_draw->crop.w); in ipa_bmp_draw()
711 height = fabs(bmp_draw->pixel_height * (double) bmp_draw->crop.h); in ipa_bmp_draw()
724 printf("bmp_draw->crop WxH = %ix%i\n", bmp_draw->crop.w, bmp_draw->crop.h); in ipa_bmp_draw()
[all …]
/external/autotest/client/cros/chameleon/
Dscreen_capture.py84 image = image.crop(boundary)
/external/piex/src/
Dtiff_parser.cc600 std::vector<std::uint32_t> crop(2); in GetFullCropDimension() local
602 if (tiff_directory.Get(kExifTagDefaultCropSize, &crop)) { in GetFullCropDimension()
603 *width = crop[0]; in GetFullCropDimension()
604 *height = crop[1]; in GetFullCropDimension()
/external/autotest/client/cros/video/
Dchameleon_screenshot_capturer.py103 img.crop(box).save(fullpath)
/external/skia/src/effects/
DSkArithmeticImageFilter.cpp482 const SkImageFilter::CropRect* crop) { in Make() argument
502 std::move(foreground), crop); in Make()
507 new ArithmeticImageFilterImpl(k1, k2, k3, k4, enforcePMColor, inputs, crop)); in Make()
/external/autotest/client/cros/graphics/
Dgraphics_utils.py364 image.crop()
370 cropped = image.crop(box)
413 image = image.crop(box)
/external/kernel-headers/original/uapi/drm/
Dexynos_drm.h204 __u32 crop; member
/external/ImageMagick/
DREADME.md34 * [Transform](http://www.imagemagick.org/Usage/resize/): resize, rotate, deskew, crop, flip or trim…
37 * [Decorate](http://www.imagemagick.org/Usage/crop/): add a border or frame to an image.
/external/ImageMagick/Magick++/
DNEWS145 * Added shave method for shaving edges from image (a form of crop).
257 * Rotate() no longer accepts sharpen or crop options.
258 * Shear() No longer accepts a crop option.

123