Searched refs:frame_interval (Results 1 – 16 of 16) sorted by relevance
/linux-6.3-rc2/drivers/media/i2c/ |
A D | imx274.c | 574 struct v4l2_fract frame_interval; member 1470 imx274->frame_interval); in imx274_s_stream() 1852 frame_interval.denominator); in imx274_set_frame_interval() 1854 if (frame_interval.numerator == 0 || frame_interval.denominator == 0) { in imx274_set_frame_interval() 1856 frame_interval.numerator = 1; in imx274_set_frame_interval() 1860 / frame_interval.numerator); in imx274_set_frame_interval() 1864 frame_interval.numerator = 1; in imx274_set_frame_interval() 1867 frame_interval.numerator = 1; in imx274_set_frame_interval() 1896 * frame_interval.numerator in imx274_set_frame_interval() 1897 / frame_interval.denominator; in imx274_set_frame_interval() [all …]
|
A D | video-i2c.c | 91 struct v4l2_fract frame_interval; member 187 if (data->frame_interval.numerator == data->frame_interval.denominator) in amg88xx_setup() 200 if (V4L2_FRACT_COMPARE(data->frame_interval, ==, in mlx90640_setup() 451 u32 delay = mult_frac(1000000UL, data->frame_interval.numerator, in video_i2c_thread_vid_cap() 452 data->frame_interval.denominator); in video_i2c_thread_vid_cap() 705 parm->parm.capture.timeperframe = data->frame_interval; in video_i2c_g_parm() 721 data->frame_interval = data->chip->frame_intervals[i]; in video_i2c_s_parm() 827 data->frame_interval = data->chip->frame_intervals[0]; in video_i2c_probe()
|
A D | mt9m032.c | 151 struct v4l2_fract frame_interval; member 189 interval = &sensor->frame_interval; in mt9m032_update_timing() 498 fi->interval = sensor->frame_interval; in mt9m032_get_frame_interval() 523 sensor->frame_interval = fi->interval; in mt9m032_set_frame_interval() 748 sensor->frame_interval.numerator = 1; in mt9m032_probe() 749 sensor->frame_interval.denominator = 30; in mt9m032_probe()
|
A D | ov5648.c | 610 struct v4l2_fract frame_interval[2]; member 730 .frame_interval = { 765 .frame_interval = { 800 .frame_interval = { 838 .frame_interval = { 876 .frame_interval = { 914 .frame_interval = { 2174 interval->interval = mode->frame_interval[0]; in ov5648_g_frame_interval() 2177 interval->interval = mode->frame_interval[1]; in ov5648_g_frame_interval() 2350 interval_enum->interval = mode->frame_interval[0]; in ov5648_enum_frame_interval() [all …]
|
A D | ov2680.c | 120 struct v4l2_fract frame_interval; member 612 fi->interval = sensor->frame_interval; in ov2680_s_g_frame_interval() 907 sensor->frame_interval.denominator = OV2680_FRAME_RATE; in ov2680_mode_init() 908 sensor->frame_interval.numerator = 1; in ov2680_mode_init()
|
A D | mt9m111.c | 237 struct v4l2_fract frame_interval; member 1059 fi->interval = mt9m111->frame_interval; in mt9m111_g_frame_interval() 1096 mt9m111->frame_interval = fi->interval; in mt9m111_s_frame_interval() 1327 mt9m111->frame_interval.numerator = 1; in mt9m111_probe() 1328 mt9m111->frame_interval.denominator = mt9m111->current_mode->max_fps; in mt9m111_probe()
|
A D | ov5640.c | 458 struct v4l2_fract frame_interval; member 2936 int fie_num = sensor->frame_interval.numerator; in ov5640_update_pixel_rate() 2937 int fie_denom = sensor->frame_interval.denominator; in ov5640_update_pixel_rate() 3624 fi->interval = sensor->frame_interval; in ov5640_g_frame_interval() 3652 fi->interval = sensor->frame_interval; in ov5640_s_frame_interval() 3670 sensor->frame_interval = fi->interval; in ov5640_s_frame_interval() 3856 sensor->frame_interval.numerator = 1; in ov5640_probe() 3857 sensor->frame_interval.denominator = ov5640_framerates[OV5640_30_FPS]; in ov5640_probe()
|
A D | tc358743.c | 308 unsigned width, height, frame_width, frame_height, frame_interval, fps; in tc358743_get_detected_timings() local 335 frame_interval = ((i2c_rd8(sd, FV_CNT_HI) & 0x3) << 8) + in tc358743_get_detected_timings() 337 fps = (frame_interval > 0) ? in tc358743_get_detected_timings() 338 DIV_ROUND_CLOSEST(10000, frame_interval) : 0; in tc358743_get_detected_timings()
|
/linux-6.3-rc2/drivers/staging/media/imx/ |
A D | imx-ic-prp.c | 52 struct v4l2_fract frame_interval; member 407 fi->interval = priv->frame_interval; in prp_g_frame_interval() 425 fi->interval = priv->frame_interval; in prp_s_frame_interval() 427 priv->frame_interval = fi->interval; in prp_s_frame_interval() 440 priv->frame_interval.numerator = 1; in prp_registered() 441 priv->frame_interval.denominator = 30; in prp_registered()
|
A D | imx-media-vdic.c | 101 struct v4l2_fract frame_interval[VDIC_NUM_PADS]; member 793 fi->interval = priv->frame_interval[fi->pad]; in vdic_g_frame_interval() 809 input_fi = &priv->frame_interval[priv->active_input_pad]; in vdic_s_frame_interval() 810 output_fi = &priv->frame_interval[VDIC_SRC_PAD_DIRECT]; in vdic_s_frame_interval() 818 fi->interval = priv->frame_interval[fi->pad]; in vdic_s_frame_interval() 840 priv->frame_interval[fi->pad] = fi->interval; in vdic_s_frame_interval() 866 priv->frame_interval[i].numerator = 1; in vdic_registered() 867 priv->frame_interval[i].denominator = 30; in vdic_registered() 869 priv->frame_interval[i].denominator *= 2; in vdic_registered()
|
A D | imx-media-csi.c | 80 struct v4l2_fract frame_interval[CSI_NUM_PADS]; member 751 input_fi = &priv->frame_interval[CSI_SINK_PAD]; in csi_start() 752 output_fi = &priv->frame_interval[priv->active_output_pad]; in csi_start() 915 fi->interval = priv->frame_interval[fi->pad]; in csi_g_frame_interval() 931 input_fi = &priv->frame_interval[CSI_SINK_PAD]; in csi_s_frame_interval() 940 priv->frame_interval[CSI_SRC_PAD_IDMAC] = fi->interval; in csi_s_frame_interval() 941 priv->frame_interval[CSI_SRC_PAD_DIRECT] = fi->interval; in csi_s_frame_interval() 963 priv->frame_interval[fi->pad] = fi->interval; in csi_s_frame_interval() 1322 input_fi = &priv->frame_interval[CSI_SINK_PAD]; in csi_enum_frame_interval() 1775 priv->frame_interval[i].numerator = 1; in csi_registered() [all …]
|
A D | imx-ic-prpencvf.c | 80 struct v4l2_fract frame_interval; member 1217 fi->interval = priv->frame_interval; in prp_g_frame_interval() 1235 fi->interval = priv->frame_interval; in prp_s_frame_interval() 1237 priv->frame_interval = fi->interval; in prp_s_frame_interval() 1264 priv->frame_interval.numerator = 1; in prp_registered() 1265 priv->frame_interval.denominator = 30; in prp_registered()
|
A D | imx-media.h | 250 const struct v4l2_fract *frame_interval,
|
/linux-6.3-rc2/drivers/media/pci/tw5864/ |
A D | tw5864-video.c | 698 for (shift = 0; shift < std_max_fps; shift += input->frame_interval) in tw5864_frame_interval_set() 793 cp->timeperframe.numerator *= input->frame_interval; in tw5864_g_parm() 813 t->numerator = time_base.numerator * input->frame_interval; in tw5864_s_parm() 821 input->frame_interval = t->numerator / time_base.numerator; in tw5864_s_parm() 822 if (input->frame_interval < 1) in tw5864_s_parm() 823 input->frame_interval = 1; in tw5864_s_parm() 1161 input->frame_interval = 1; in tw5864_video_input_init()
|
A D | tw5864.h | 128 int frame_interval; member
|
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/ |
A D | vidioc-enum-frameintervals.rst | 91 frame_rate = 1 / frame_interval
|
Completed in 67 milliseconds