Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_CROP.c156 struct v4l2_crop crop_new; in do_set_crop() local
200 memset(&crop_new, 0, sizeof(crop_new)); in do_set_crop()
201 crop_new.type = type; in do_set_crop()
202 ret_new = ioctl(get_video_fd(), VIDIOC_G_CROP, &crop_new); in do_set_crop()
208 crop_new.type, in do_set_crop()
209 crop_new.c.left, in do_set_crop()
210 crop_new.c.top, crop_new.c.width, crop_new.c.height); in do_set_crop()
237 CU_ASSERT(cropcap.bounds.left <= crop_new.c.left); in do_set_crop()
238 CU_ASSERT(cropcap.bounds.top <= crop_new.c.top); in do_set_crop()
240 CU_ASSERT(crop_new.c.left + crop_new.c.width <= in do_set_crop()
[all …]