• Home
  • Raw
  • Download

Lines Matching refs:parm

263 		struct v4l2_streamparm *parm)  in uvc_v4l2_get_streamparm()  argument
267 if (parm->type != video->streaming->type) in uvc_v4l2_get_streamparm()
274 memset(parm, 0, sizeof *parm); in uvc_v4l2_get_streamparm()
275 parm->type = video->streaming->type; in uvc_v4l2_get_streamparm()
278 parm->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; in uvc_v4l2_get_streamparm()
279 parm->parm.capture.capturemode = 0; in uvc_v4l2_get_streamparm()
280 parm->parm.capture.timeperframe.numerator = numerator; in uvc_v4l2_get_streamparm()
281 parm->parm.capture.timeperframe.denominator = denominator; in uvc_v4l2_get_streamparm()
282 parm->parm.capture.extendedmode = 0; in uvc_v4l2_get_streamparm()
283 parm->parm.capture.readbuffers = 0; in uvc_v4l2_get_streamparm()
285 parm->parm.output.capability = V4L2_CAP_TIMEPERFRAME; in uvc_v4l2_get_streamparm()
286 parm->parm.output.outputmode = 0; in uvc_v4l2_get_streamparm()
287 parm->parm.output.timeperframe.numerator = numerator; in uvc_v4l2_get_streamparm()
288 parm->parm.output.timeperframe.denominator = denominator; in uvc_v4l2_get_streamparm()
295 struct v4l2_streamparm *parm) in uvc_v4l2_set_streamparm() argument
303 if (parm->type != video->streaming->type) in uvc_v4l2_set_streamparm()
309 if (parm->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) in uvc_v4l2_set_streamparm()
310 timeperframe = parm->parm.capture.timeperframe; in uvc_v4l2_set_streamparm()
312 timeperframe = parm->parm.output.timeperframe; in uvc_v4l2_set_streamparm()
334 if (parm->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) in uvc_v4l2_set_streamparm()
335 parm->parm.capture.timeperframe = timeperframe; in uvc_v4l2_set_streamparm()
337 parm->parm.output.timeperframe = timeperframe; in uvc_v4l2_set_streamparm()