Home
last modified time | relevance | path

Searched refs:denominator (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/drivers/video/
Dvideo_common.c114 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()
Dvideo_sw_generator.c284 if (frmival->denominator && frmival->numerator) { in video_sw_generator_set_frmival()
285 data->frame_rate = MIN(DIV_ROUND_CLOSEST(frmival->denominator, frmival->numerator), in video_sw_generator_set_frmival()
292 frmival->denominator = data->frame_rate; in video_sw_generator_set_frmival()
303 frmival->denominator = data->frame_rate; in video_sw_generator_get_frmival()
330 fie->stepwise.min.denominator = MAX_FRAME_RATE; in video_sw_generator_enum_frmival()
332 fie->stepwise.max.denominator = 1; in video_sw_generator_enum_frmival()
335 fie->stepwise.step.denominator = 1000; in video_sw_generator_enum_frmival()
Dvideo_mcux_mipi_csi2rx.c236 return mipi_csi2rx_cal_frame_size(cur_format) * fie_frmival->denominator * in mipi_csi2rx_estimate_pixel_rate()
239 cur_fmival->denominator); in mipi_csi2rx_estimate_pixel_rate()
297 fie->stepwise.max.denominator = in mipi_csi2rx_enum_frmival()
299 cur_frmival.denominator) / in mipi_csi2rx_enum_frmival()
Dov5640.c512 desired_frmrate = DIV_ROUND_CLOSEST(frmival->denominator, frmival->numerator); in ov5640_set_frmival()
547 frmival->denominator = best_match; in ov5640_set_frmival()
614 def_frmival.denominator = drv_data->cur_mode->def_frmrate; in ov5640_set_fmt()
890 frmival->denominator = drv_data->cur_frmrate; in ov5640_get_frmival()
913 fie->discrete.denominator = ov5640_frame_rates[fie->index]; in ov5640_enum_frmival()
Dvideo_emul_imager.c288 frmival->denominator = data->mode->fps; in emul_imager_get_frmival()
312 fie->discrete.denominator = mode->fps; in emul_imager_enum_frmival()
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Ddata_augmentation.py29 def time_wrapping(molecule, denominator, data): argument
33 for j in range((int(len(data) / molecule) - 1) * denominator)]
36 for k in range(denominator):
37 tmp_data[denominator * i +
38 k][j] = (data[molecule * i + k][j] * (denominator - k) +
39 data[molecule * i + k + 1][j] * k) / denominator
66 for molecule, denominator in fractions:
67 new_data.append(time_wrapping(molecule, denominator, data))
70 for molecule, denominator in fractions:
72 (np.array(data, dtype=np.float32) * molecule / denominator).tolist())
/Zephyr-latest/tests/drivers/video/api/src/
Dvideo_common.c96 video_frmival_nsec(&(struct video_frmival){.numerator = 1, .denominator = 15}), in ZTEST()
100 video_frmival_nsec(&(struct video_frmival){.numerator = 1, .denominator = 30}), in ZTEST()
104 video_frmival_nsec(&(struct video_frmival){.numerator = 5, .denominator = 1}), in ZTEST()
108 video_frmival_nsec(&(struct video_frmival){.numerator = 1, .denominator = 1750000}), in ZTEST()
120 stepwise.min.denominator = 30; in ZTEST()
122 stepwise.max.denominator = 30; in ZTEST()
124 stepwise.step.denominator = 30; in ZTEST()
127 desired.denominator = 1; in ZTEST()
132 desired.denominator = 30; in ZTEST()
137 desired.denominator = 80; 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()
105 max = fie.stepwise.min.denominator * fie.stepwise.step.denominator * in ZTEST()
107 step = fie.stepwise.min.denominator * fie.stepwise.max.denominator * in ZTEST()
/Zephyr-latest/samples/drivers/video/capture/src/
Dmain.c163 1.0 * frmival.denominator / frmival.numerator); in main()
171 LOG_INF(" %u/%u ", fie.discrete.numerator, fie.discrete.denominator); in main()
174 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/soc/nxp/imxrt/imxrt10xx/
Dsoc.c48 .denominator = DT_PROP(DT_CHILD(CCM_NODE, sys_pll), denominator),
102 .denominator = 0,
Dlpm_rt1064.c375 sys_pll_config.denominator = CCM_ANALOG->PLL_SYS_DENOM; in imxrt_lpm_init()
402 video_pll_config.denominator = CCM_ANALOG->PLL_VIDEO_DENOM; in imxrt_lpm_init()
/Zephyr-latest/soc/nxp/imxrt/imxrt6xx/cm33/
Dsoc.c58 .denominator = 1,
65 .denominator = 27000,
/Zephyr-latest/arch/riscv/core/
Dasm_macros.inc80 /* lowest common denominator for register availability */
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/cm33/
Dsoc.c54 .denominator = 1,
64 .denominator = 27000,
/Zephyr-latest/include/zephyr/drivers/
Dvideo.h167 uint32_t denominator; member
780 return (uint64_t)NSEC_PER_SEC * frmival->numerator / frmival->denominator; in video_frmival_nsec()
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/
Dsoc.c114 .denominator = 960000,
/Zephyr-latest/drivers/i2s/
Di2s_mcux_sai.c1080 audioPllConfig.denominator = dev_cfg->pll_den; in audio_clock_settings()
1087 audioPllConfig.denominator = dev_cfg->pll_den; in audio_clock_settings()
/Zephyr-latest/dts/arm/nxp/
Dnxp_rt10xx.dtsi304 denominator = <1>;