Home
last modified time | relevance | path

Searched refs:cropcap (Results 1 – 5 of 5) sorted by relevance

/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_unittest.cc109 v4l2_cropcap cropcap; in TestSetCrop() local
110 memset(&cropcap, 0, sizeof(cropcap)); in TestSetCrop()
111 if (v4l2_dev.GetCropCap(&cropcap)) { in TestSetCrop()
115 crop.c = cropcap.defrect; in TestSetCrop()
Dmedia_v4l2_device.cc98 v4l2_cropcap cropcap; in InitDevice() local
99 memset(&cropcap, 0, sizeof(cropcap)); in InitDevice()
100 if (GetCropCap(&cropcap)) { in InitDevice()
105 crop.c = cropcap.defrect; in InitDevice()
726 bool V4L2Device::GetCropCap(v4l2_cropcap* cropcap) { in GetCropCap() argument
727 if (-1 == DoIoctl(VIDIOC_CROPCAP, cropcap)) { in GetCropCap()
Dmedia_v4l2_device.h60 bool GetCropCap(v4l2_cropcap* cropcap);
/external/opencv3/modules/videoio/src/
Dcap_v4l.cpp324 struct v4l2_cropcap cropcap; member
2492 CLEAR (capture->cropcap); in icvSetVideoSize()
2493 capture->cropcap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in icvSetVideoSize()
2495 if (ioctl (capture->deviceHandle, VIDIOC_CROPCAP, &capture->cropcap) < 0) { in icvSetVideoSize()
2501 capture->crop.c= capture->cropcap.defrect; in icvSetVideoSize()
Dcap_libv4l.cpp333 struct v4l2_cropcap cropcap; member