/drivers/staging/media/omap24xx/ |
D | tcm825x.c | 50 struct v4l2_fract timeperframe; member 419 struct v4l2_fract *fper = &sensor->timeperframe; in tcm825x_configure() 681 cparm->timeperframe = sensor->timeperframe; in ioctl_g_parm() 690 struct v4l2_fract *timeperframe = &a->parm.capture.timeperframe; in ioctl_s_parm() local 697 if ((timeperframe->numerator == 0) in ioctl_s_parm() 698 || (timeperframe->denominator == 0)) { in ioctl_s_parm() 699 timeperframe->denominator = DEFAULT_FPS; in ioctl_s_parm() 700 timeperframe->numerator = 1; in ioctl_s_parm() 703 tgt_fps = timeperframe->denominator / timeperframe->numerator; in ioctl_s_parm() 706 timeperframe->denominator = MAX_FPS; in ioctl_s_parm() [all …]
|
/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 348 parm->parm.capture.timeperframe.numerator = numerator; in uvc_v4l2_get_streamparm() 349 parm->parm.capture.timeperframe.denominator = denominator; in uvc_v4l2_get_streamparm() 355 parm->parm.output.timeperframe.numerator = numerator; in uvc_v4l2_get_streamparm() 356 parm->parm.output.timeperframe.denominator = denominator; in uvc_v4l2_get_streamparm() 366 struct v4l2_fract timeperframe; in uvc_v4l2_set_streamparm() local 374 timeperframe = parm->parm.capture.timeperframe; in uvc_v4l2_set_streamparm() 376 timeperframe = parm->parm.output.timeperframe; in uvc_v4l2_set_streamparm() 378 interval = uvc_fraction_to_interval(timeperframe.numerator, in uvc_v4l2_set_streamparm() 379 timeperframe.denominator); in uvc_v4l2_set_streamparm() 381 timeperframe.numerator, timeperframe.denominator, interval); in uvc_v4l2_set_streamparm() [all …]
|
/drivers/media/i2c/soc_camera/ |
D | ov6650.c | 522 static u8 to_clkrc(struct v4l2_fract *timeperframe, in to_clkrc() argument 527 if (timeperframe->numerator && timeperframe->denominator) in to_clkrc() 528 pclk = pclk_max * timeperframe->denominator / in to_clkrc() 529 (FRAME_RATE_MAX * timeperframe->numerator); in to_clkrc() 740 cp->timeperframe.numerator = GET_CLKRC_DIV(to_clkrc(&priv->tpf, in ov6650_g_parm() 742 cp->timeperframe.denominator = FRAME_RATE_MAX; in ov6650_g_parm() 745 cp->timeperframe.numerator, cp->timeperframe.denominator); in ov6650_g_parm() 755 struct v4l2_fract *tpf = &cp->timeperframe; in ov6650_s_parm()
|
/drivers/media/usb/s2255/ |
D | s2255drv.c | 1305 sp->parm.capture.timeperframe.denominator = def_dem; in vidioc_g_parm() 1309 sp->parm.capture.timeperframe.numerator = def_num; in vidioc_g_parm() 1312 sp->parm.capture.timeperframe.numerator = def_num * 2; in vidioc_g_parm() 1315 sp->parm.capture.timeperframe.numerator = def_num * 3; in vidioc_g_parm() 1318 sp->parm.capture.timeperframe.numerator = def_num * 5; in vidioc_g_parm() 1324 sp->parm.capture.timeperframe.numerator, in vidioc_g_parm() 1325 sp->parm.capture.timeperframe.denominator); in vidioc_g_parm() 1345 if (def_dem != sp->parm.capture.timeperframe.denominator) in vidioc_s_parm() 1346 sp->parm.capture.timeperframe.numerator = def_num; in vidioc_s_parm() 1347 else if (sp->parm.capture.timeperframe.numerator <= def_num) in vidioc_s_parm() [all …]
|
/drivers/staging/media/omap4iss/ |
D | iss_video.c | 728 a->parm.output.timeperframe = vfh->timeperframe; in iss_video_get_param() 743 if (a->parm.output.timeperframe.denominator == 0) in iss_video_set_param() 744 a->parm.output.timeperframe.denominator = 1; in iss_video_set_param() 746 vfh->timeperframe = a->parm.output.timeperframe; in iss_video_set_param() 894 pipe->max_timeperframe = vfh->timeperframe; in iss_video_streamon() 1089 handle->timeperframe.denominator = 1; in iss_video_open()
|
D | iss_video.h | 185 struct v4l2_fract timeperframe; member
|
/drivers/media/platform/omap3isp/ |
D | ispvideo.c | 799 a->parm.output.timeperframe = vfh->timeperframe; in isp_video_get_param() 814 if (a->parm.output.timeperframe.denominator == 0) in isp_video_set_param() 815 a->parm.output.timeperframe.denominator = 1; in isp_video_set_param() 817 vfh->timeperframe = a->parm.output.timeperframe; in isp_video_set_param() 1067 pipe->max_timeperframe = vfh->timeperframe; in isp_video_streamon() 1272 handle->timeperframe.denominator = 1; in isp_video_open()
|
D | ispccp2.c | 389 struct v4l2_fract *timeperframe; in ccp2_adjust_bandwidth() local 406 timeperframe = &pipe->max_timeperframe; in ccp2_adjust_bandwidth() 408 if (timeperframe->numerator) { in ccp2_adjust_bandwidth() 410 bound = div_u64(area * timeperframe->denominator, in ccp2_adjust_bandwidth() 411 timeperframe->numerator); in ccp2_adjust_bandwidth()
|
D | ispvideo.h | 191 struct v4l2_fract timeperframe; member
|
D | ispresizer.c | 548 struct v4l2_fract *timeperframe; in resizer_adjust_bandwidth() local 588 timeperframe = &pipe->max_timeperframe; in resizer_adjust_bandwidth() 592 cycles_per_frame = div_u64((u64)l3_ick * timeperframe->numerator, in resizer_adjust_bandwidth() 593 timeperframe->denominator); in resizer_adjust_bandwidth()
|
D | isppreview.c | 1177 struct v4l2_fract *timeperframe; in preview_adjust_bandwidth() local 1204 timeperframe = &pipe->max_timeperframe; in preview_adjust_bandwidth() 1207 cycles_per_frame = div_u64((u64)l3_ick * timeperframe->numerator, in preview_adjust_bandwidth() 1208 timeperframe->denominator); in preview_adjust_bandwidth()
|
/drivers/media/i2c/ |
D | vs6624.c | 670 cp->timeperframe.numerator = sensor->frame_rate.denominator; in vs6624_g_parm() 671 cp->timeperframe.denominator = sensor->frame_rate.numerator; in vs6624_g_parm() 679 struct v4l2_fract *tpf = &cp->timeperframe; in vs6624_s_parm()
|
D | tvp514x.c | 823 cparm->timeperframe = in tvp514x_g_parm() 841 struct v4l2_fract *timeperframe; in tvp514x_s_parm() local 851 timeperframe = &a->parm.capture.timeperframe; in tvp514x_s_parm() 856 *timeperframe = in tvp514x_s_parm()
|
D | mt9v011.c | 360 &cp->timeperframe.numerator, in mt9v011_g_parm() 361 &cp->timeperframe.denominator); in mt9v011_g_parm() 369 struct v4l2_fract *tpf = &cp->timeperframe; in mt9v011_s_parm()
|
/drivers/media/usb/pwc/ |
D | pwc-v4l.c | 993 parm->parm.capture.timeperframe.denominator = pdev->vframes; in pwc_g_parm() 994 parm->parm.capture.timeperframe.numerator = 1; in pwc_g_parm() 1012 if (parm->parm.capture.timeperframe.numerator == 0 || in pwc_s_parm() 1013 parm->parm.capture.timeperframe.denominator == 0) in pwc_s_parm() 1016 fps = parm->parm.capture.timeperframe.denominator / in pwc_s_parm() 1017 parm->parm.capture.timeperframe.numerator; in pwc_s_parm()
|
/drivers/staging/media/davinci_vpfe/ |
D | vpfe_video.h | 114 struct v4l2_fract timeperframe; member
|
/drivers/media/usb/go7007/ |
D | go7007-v4l2.c | 492 struct v4l2_fract timeperframe = { in vidioc_g_parm() local 502 parm->parm.capture.timeperframe = timeperframe; in vidioc_g_parm() 517 parm->parm.capture.timeperframe.numerator; in vidioc_s_parm() 518 d = 1001 * parm->parm.capture.timeperframe.denominator; in vidioc_s_parm()
|
/drivers/staging/media/dt3155v4l/ |
D | dt3155v4l.c | 662 parms->parm.capture.timeperframe.numerator = 1001; in dt3155_ioc_g_parm() 663 parms->parm.capture.timeperframe.denominator = frames_per_sec * 1000; in dt3155_ioc_g_parm() 676 parms->parm.capture.timeperframe.numerator = 1001; in dt3155_ioc_s_parm() 677 parms->parm.capture.timeperframe.denominator = frames_per_sec * 1000; in dt3155_ioc_s_parm()
|
/drivers/media/usb/cpia2/ |
D | cpia2_v4l.c | 534 cap->timeperframe = framerate_controls[i].period; in cpia2_g_parm() 544 struct v4l2_fract tpf = cap->timeperframe; in cpia2_s_parm() 568 cap->timeperframe = framerate_controls[i].period; in cpia2_s_parm()
|
/drivers/media/platform/ |
D | timblogiw.c | 278 cp->timeperframe.numerator = 1; in timblogiw_g_parm() 279 cp->timeperframe.denominator = fh->cur_norm->fps; in timblogiw_g_parm()
|
D | vino.c | 3312 cp->timeperframe.numerator = 1; in vino_g_parm() 3316 cp->timeperframe.denominator = vcs->fps; in vino_g_parm() 3334 if ((cp->timeperframe.numerator == 0) || in vino_s_parm() 3335 (cp->timeperframe.denominator == 0)) { in vino_s_parm() 3339 vino_set_framerate(vcs, cp->timeperframe.denominator / in vino_s_parm() 3340 cp->timeperframe.numerator); in vino_s_parm()
|
/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2-enc.c | 1070 cp->timeperframe.numerator = solo_enc->interval; in solo_g_parm() 1071 cp->timeperframe.denominator = solo_enc->solo_dev->fps; in solo_g_parm() 1093 struct v4l2_fract *t = &sp->parm.capture.timeperframe; in solo_s_parm()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_enc.c | 1638 a->parm.output.timeperframe.denominator; in vidioc_s_parm() 1640 a->parm.output.timeperframe.numerator; in vidioc_s_parm() 1654 a->parm.output.timeperframe.denominator = in vidioc_g_parm() 1656 a->parm.output.timeperframe.numerator = in vidioc_g_parm()
|
/drivers/media/usb/gspca/ |
D | ov534.c | 1477 struct v4l2_fract *tpf = &cp->timeperframe; in sd_get_streamparm() 1490 struct v4l2_fract *tpf = &cp->timeperframe; in sd_set_streamparm()
|
/drivers/media/v4l2-core/ |
D | v4l2-ioctl.c | 502 c->timeperframe.numerator, c->timeperframe.denominator, in v4l_print_streamparm() 511 c->timeperframe.numerator, c->timeperframe.denominator, in v4l_print_streamparm() 1649 v4l2_video_std_frame_period(std, &p->parm.capture.timeperframe); in v4l_g_parm()
|