Searched refs:fintv (Results 1 – 2 of 2) sorted by relevance
987 struct v4l2_frmivalenum *fintv) in solo_enum_frameintervals() argument992 if (solo_valid_pixfmt(fintv->pixel_format, solo_dev->type)) in solo_enum_frameintervals()994 if (fintv->index) in solo_enum_frameintervals()996 if ((fintv->width != solo_dev->video_hsize >> 1 || in solo_enum_frameintervals()997 fintv->height != solo_dev->video_vsize) && in solo_enum_frameintervals()998 (fintv->width != solo_dev->video_hsize || in solo_enum_frameintervals()999 fintv->height != solo_dev->video_vsize << 1)) in solo_enum_frameintervals()1002 fintv->type = V4L2_FRMIVAL_TYPE_STEPWISE; in solo_enum_frameintervals()1004 fintv->stepwise.min.numerator = 1; in solo_enum_frameintervals()1005 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals()[all …]
750 struct v4l2_frmivalenum *fintv) in tw5864_enum_frameintervals() argument755 struct v4l2_frmsizeenum fsize = { .index = fintv->index, in tw5864_enum_frameintervals()756 .pixel_format = fintv->pixel_format }; in tw5864_enum_frameintervals()763 if (fintv->width != fsize.discrete.width || in tw5864_enum_frameintervals()764 fintv->height != fsize.discrete.height) in tw5864_enum_frameintervals()767 fintv->type = V4L2_FRMIVAL_TYPE_STEPWISE; in tw5864_enum_frameintervals()773 fintv->stepwise.step = frameinterval; in tw5864_enum_frameintervals()774 fintv->stepwise.min = frameinterval; in tw5864_enum_frameintervals()775 fintv->stepwise.max = frameinterval; in tw5864_enum_frameintervals()776 fintv->stepwise.max.numerator *= std_max_fps; in tw5864_enum_frameintervals()