/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
test_VIDIOC_QUERYCTRL.c | 72 struct v4l2_queryctrl queryctrl; local 92 memset(&queryctrl, 0xff, sizeof(queryctrl)); 93 queryctrl.id = i; 94 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); 104 CU_ASSERT_EQUAL(queryctrl.id, i); 106 CU_ASSERT(0 < strlen((char *)queryctrl.name)); 108 ((char *)queryctrl.name, 109 sizeof(queryctrl.name))); 111 CU_ASSERT(valid_control_type(queryctrl.type)) 225 struct v4l2_queryctrl queryctrl; local 249 struct v4l2_queryctrl queryctrl; local 273 struct v4l2_queryctrl queryctrl; local 300 struct v4l2_queryctrl queryctrl; local 448 struct v4l2_queryctrl queryctrl; local 587 struct v4l2_queryctrl queryctrl; local 612 struct v4l2_queryctrl queryctrl; local 648 struct v4l2_queryctrl queryctrl; local [all...] |
test_VIDIOC_QUERYMENU.c | 142 struct v4l2_queryctrl queryctrl; local 147 memset(&queryctrl, 0, sizeof(queryctrl)); 148 queryctrl.id = i; 149 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); 159 CU_ASSERT_EQUAL(queryctrl.id, i); 165 ".reserved[]={ 0x%X, 0x%X } }\n", queryctrl.id, 166 queryctrl.type, queryctrl.name, queryctrl.minimum 209 struct v4l2_queryctrl queryctrl; local 268 struct v4l2_queryctrl queryctrl; local 289 struct v4l2_queryctrl queryctrl; local [all...] |
test_VIDIOC_CTRL.c | 38 struct v4l2_queryctrl queryctrl; local 45 memset(&queryctrl, 0, sizeof(queryctrl)); 46 queryctrl.id = id; 47 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); 55 dprintf("\t%s:%u: queryctrl = {.id=%u, .type=%i, .name=\"%s\", " 61 queryctrl.id, 62 queryctrl.type, 63 queryctrl.name, 64 queryctrl.minimum 189 struct v4l2_queryctrl queryctrl; local 599 struct v4l2_queryctrl queryctrl; local [all...] |
test_VIDIOC_EXT_CTRLS.c | 182 struct v4l2_queryctrl queryctrl; local 190 memset(&queryctrl, 0, sizeof(queryctrl)); 191 queryctrl.id = id; 192 ret_query = ioctl(get_video_fd(), VIDIOC_QUERYCTRL, &queryctrl); 200 dprintf("\t%s:%u: queryctrl = {.id=%u, .type=%i, .name=\"%s\", " 206 queryctrl.id, 207 queryctrl.type, 208 queryctrl.name, 209 queryctrl.minimum [all...] |