Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c1007 struct v4l2_frmivalenum *fintv) in solo_enum_frameintervals() argument
1012 if (solo_valid_pixfmt(fintv->pixel_format, solo_dev->type)) in solo_enum_frameintervals()
1014 if (fintv->index) in solo_enum_frameintervals()
1016 if ((fintv->width != solo_dev->video_hsize >> 1 || in solo_enum_frameintervals()
1017 fintv->height != solo_dev->video_vsize) && in solo_enum_frameintervals()
1018 (fintv->width != solo_dev->video_hsize || in solo_enum_frameintervals()
1019 fintv->height != solo_dev->video_vsize << 1)) in solo_enum_frameintervals()
1022 fintv->type = V4L2_FRMIVAL_TYPE_STEPWISE; in solo_enum_frameintervals()
1024 fintv->stepwise.min.numerator = 1; in solo_enum_frameintervals()
1025 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals()
[all …]
/Linux-v4.19/drivers/media/pci/tw5864/
Dtw5864-video.c759 struct v4l2_frmivalenum *fintv) in tw5864_enum_frameintervals() argument
764 struct v4l2_frmsizeenum fsize = { .index = fintv->index, in tw5864_enum_frameintervals()
765 .pixel_format = fintv->pixel_format }; in tw5864_enum_frameintervals()
772 if (fintv->width != fsize.discrete.width || in tw5864_enum_frameintervals()
773 fintv->height != fsize.discrete.height) in tw5864_enum_frameintervals()
776 fintv->type = V4L2_FRMIVAL_TYPE_STEPWISE; in tw5864_enum_frameintervals()
779 fintv->stepwise.step = frameinterval; in tw5864_enum_frameintervals()
780 fintv->stepwise.min = frameinterval; in tw5864_enum_frameintervals()
781 fintv->stepwise.max = frameinterval; in tw5864_enum_frameintervals()
782 fintv->stepwise.max.numerator *= std_max_fps; in tw5864_enum_frameintervals()