Home
last modified time | relevance | path

Searched refs:stepwise (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/video/
Dvideo_common.c104 void video_closest_frmival_stepwise(const struct video_frmival_stepwise *stepwise, in video_closest_frmival_stepwise() argument
108 uint64_t min = stepwise->min.numerator; in video_closest_frmival_stepwise()
109 uint64_t max = stepwise->max.numerator; in video_closest_frmival_stepwise()
110 uint64_t step = stepwise->step.numerator; in video_closest_frmival_stepwise()
114 min *= stepwise->max.denominator * stepwise->step.denominator * desired->denominator; in video_closest_frmival_stepwise()
115 max *= stepwise->min.denominator * stepwise->step.denominator * desired->denominator; in video_closest_frmival_stepwise()
116 step *= stepwise->min.denominator * stepwise->max.denominator * desired->denominator; in video_closest_frmival_stepwise()
117 goal *= stepwise->min.denominator * stepwise->max.denominator * stepwise->step.denominator; in video_closest_frmival_stepwise()
124 match->denominator = stepwise->min.denominator * stepwise->max.denominator * in video_closest_frmival_stepwise()
125 stepwise->step.denominator * desired->denominator; in video_closest_frmival_stepwise()
[all …]
Dvideo_sw_generator.c329 fie->stepwise.min.numerator = 1; in video_sw_generator_enum_frmival()
330 fie->stepwise.min.denominator = MAX_FRAME_RATE; in video_sw_generator_enum_frmival()
331 fie->stepwise.max.numerator = UINT32_MAX; in video_sw_generator_enum_frmival()
332 fie->stepwise.max.denominator = 1; in video_sw_generator_enum_frmival()
334 fie->stepwise.step.numerator = 1; in video_sw_generator_enum_frmival()
335 fie->stepwise.step.denominator = 1000; in video_sw_generator_enum_frmival()
Dvideo_mcux_mipi_csi2rx.c286 &cur_frmival, &fie->stepwise.min, &cur_fmt, fie->format, cur_pixel_rate, in mipi_csi2rx_enum_frmival()
294 &cur_frmival, &fie->stepwise.max, &cur_fmt, fie->format, cur_pixel_rate, in mipi_csi2rx_enum_frmival()
297 fie->stepwise.max.denominator = in mipi_csi2rx_enum_frmival()
302 fie->stepwise.max.numerator = 1; in mipi_csi2rx_enum_frmival()
/Zephyr-latest/tests/drivers/video/api/src/
Dvideo_common.c114 struct video_frmival_stepwise stepwise; in ZTEST() local
119 stepwise.min.numerator = 1; in ZTEST()
120 stepwise.min.denominator = 30; in ZTEST()
121 stepwise.max.numerator = 30; in ZTEST()
122 stepwise.max.denominator = 30; in ZTEST()
123 stepwise.step.numerator = 1; in ZTEST()
124 stepwise.step.denominator = 30; in ZTEST()
128 video_closest_frmival_stepwise(&stepwise, &desired, &match); in ZTEST()
133 video_closest_frmival_stepwise(&stepwise, &desired, &match); in ZTEST()
140 video_closest_frmival_stepwise(&stepwise, &desired, &match); in ZTEST()
[all …]
Dvideo_emul.c100 q.denominator = fie.stepwise.min.denominator * in ZTEST()
101 fie.stepwise.max.denominator * in ZTEST()
102 fie.stepwise.step.denominator; in ZTEST()
103 min = fie.stepwise.max.denominator * fie.stepwise.step.denominator * in ZTEST()
104 fie.stepwise.min.numerator; in ZTEST()
105 max = fie.stepwise.min.denominator * fie.stepwise.step.denominator * in ZTEST()
106 fie.stepwise.max.numerator; in ZTEST()
107 step = fie.stepwise.min.denominator * fie.stepwise.max.denominator * in ZTEST()
108 fie.stepwise.step.numerator; in ZTEST()
/Zephyr-latest/samples/drivers/video/capture/src/
Dmain.c174 fie.stepwise.min.numerator, fie.stepwise.min.denominator, in main()
175 fie.stepwise.max.numerator, fie.stepwise.max.denominator, in main()
176 fie.stepwise.step.numerator, fie.stepwise.step.denominator); in main()
/Zephyr-latest/include/zephyr/drivers/
Dvideo.h201 struct video_frmival_stepwise stepwise; member
790 void video_closest_frmival_stepwise(const struct video_frmival_stepwise *stepwise,