videoctl.c | 244 struct v4l2_fmtdesc fmtdesc; local in function:video_print_one_format 249 fmtdesc.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 250 fmtdesc.index = fmtnum; 251 error = ioctl(video_fd, VIDIOC_ENUM_FMT, &fmtdesc); 255 printf("info.format.%u=%s\n", fmtdesc.index, 256 fmtdesc.description); 265 framesize.pixel_format = fmtdesc.pixelformat; 274 fmtdesc.index, framesize.index, 280 fmtdesc.index, framesize.index, 290 fmtdesc.index, framesize.index [all...] |