/Zephyr-latest/drivers/video/ |
D | video_common.c | 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()
|
D | video_sw_generator.c | 284 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()
|
D | video_mcux_mipi_csi2rx.c | 236 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()
|
D | ov5640.c | 512 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()
|
D | video_emul_imager.c | 288 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/ |
D | data_augmentation.py | 29 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/ |
D | video_common.c | 96 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 …]
|
D | video_emul.c | 100 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/ |
D | main.c | 163 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/ |
D | soc.c | 48 .denominator = DT_PROP(DT_CHILD(CCM_NODE, sys_pll), denominator), 102 .denominator = 0,
|
D | lpm_rt1064.c | 375 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/ |
D | soc.c | 58 .denominator = 1, 65 .denominator = 27000,
|
/Zephyr-latest/arch/riscv/core/ |
D | asm_macros.inc | 80 /* lowest common denominator for register availability */
|
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/cm33/ |
D | soc.c | 54 .denominator = 1, 64 .denominator = 27000,
|
/Zephyr-latest/include/zephyr/drivers/ |
D | video.h | 167 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/ |
D | soc.c | 114 .denominator = 960000,
|
/Zephyr-latest/drivers/i2s/ |
D | i2s_mcux_sai.c | 1080 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/ |
D | nxp_rt10xx.dtsi | 304 denominator = <1>;
|