Home
last modified time | relevance | path

Searched refs:frame_rate (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/media/usb/gspca/
H A Dov519.c43 static int frame_rate; variable
94 u8 frame_rate; /* current Framerate */ member
3188 if (frame_rate > 0) in ov519_set_fr()
3189 sd->frame_rate = frame_rate; in ov519_set_fr()
3190 if (sd->frame_rate >= 30) in ov519_set_fr()
3192 else if (sd->frame_rate >= 25) in ov519_set_fr()
3194 else if (sd->frame_rate >= 20) in ov519_set_fr()
3196 else if (sd->frame_rate >= 15) in ov519_set_fr()
3198 else if (sd->frame_rate >= 10) in ov519_set_fr()
3255 sd->frame_rate = 15; in sd_config()
[all …]
/linux/drivers/media/platform/amphion/
H A Dvpu_malone.c281 u32 frame_rate; member
889 info->frame_rate.numerator = 1000; in vpu_malone_unpack_seq_hdr()
890 info->frame_rate.denominator = pkt->data[8]; in vpu_malone_unpack_seq_hdr()
909 if (info->frame_rate.numerator && info->frame_rate.denominator) { in vpu_malone_unpack_seq_hdr()
912 rational_best_approximation(info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr()
913 info->frame_rate.denominator, in vpu_malone_unpack_seq_hdr()
914 info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr()
915 info->frame_rate.denominator, in vpu_malone_unpack_seq_hdr()
917 info->frame_rate.numerator = n; in vpu_malone_unpack_seq_hdr()
918 info->frame_rate.denominator = d; in vpu_malone_unpack_seq_hdr()
H A Dvpu_windsor.c402 u32 frame_rate; member
920 expert->config_param.frame_rate_num = params->frame_rate.numerator; in vpu_windsor_set_frame_rate()
921 expert->config_param.frame_rate_den = params->frame_rate.denominator; in vpu_windsor_set_frame_rate()
1139 if (!params->frame_rate.numerator) in vpu_windsor_set_params()
1141 windsor->frame_rate = params->frame_rate.denominator / params->frame_rate.numerator; in vpu_windsor_set_params()
H A Dvpu_codec.h15 struct v4l2_fract frame_rate; member
H A Dvpu_defs.h135 struct v4l2_fract frame_rate; member
/linux/include/sound/
H A Dsdw.h37 stream_config->frame_rate = params_rate(params); in snd_sdw_params_to_config()
/linux/sound/soc/codecs/
H A Dsgtl5000.c892 static int sgtl5000_set_clock(struct snd_soc_component *component, int frame_rate) in sgtl5000_set_clock() argument
903 switch (frame_rate) { in sgtl5000_set_clock()
913 sys_fs = frame_rate; in sgtl5000_set_clock()
918 switch (sys_fs / frame_rate) { in sgtl5000_set_clock()
948 frame_rate); in sgtl5000_set_clock()
957 switch (sgtl5000->sysclk / frame_rate) { in sgtl5000_set_clock()
980 sgtl5000->sysclk / frame_rate); in sgtl5000_set_clock()
H A Dmax98363.c230 stream_config.frame_rate = params_rate(params); in max98363_sdw_dai_hw_params()
H A Drt1318-sdw.c598 stream_config.frame_rate = params_rate(params); in rt1318_sdw_hw_params()
H A Drt1017-sdca-sdw.c607 stream_config.frame_rate = params_rate(params); in rt1017_sdca_pcm_hw_params()
/linux/drivers/staging/vc04_services/bcm2835-camera/
H A Dbcm2835-camera.c1032 preview_port->es.video.frame_rate.numerator = in mmal_setup_video_component()
1034 preview_port->es.video.frame_rate.denominator = in mmal_setup_video_component()
1083 port->es.video.frame_rate.numerator = in mmal_setup_encode_component()
1085 port->es.video.frame_rate.denominator = in mmal_setup_encode_component()
1224 camera_port->es.video.frame_rate.numerator = 0; in mmal_setup_components()
1225 camera_port->es.video.frame_rate.denominator = 1; in mmal_setup_components()
1628 format->es->video.frame_rate.numerator = 0; /* Rely on fps_range */ in mmal_init()
1629 format->es->video.frame_rate.denominator = 1; in mmal_init()
1642 format->es->video.frame_rate.numerator = 0; /* Rely on fps_range */ in mmal_init()
1643 format->es->video.frame_rate.denominator = 1; in mmal_init()
[all …]
/linux/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-msg-format.h35 struct s32_fract frame_rate; /* Frame rate */ member
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-is-param.c51 dst = &is->is_p_region->parameter.sensor.frame_rate; in __fimc_is_hw_update_param_sensor_framerate()
52 src = &is->config[is->config_index].sensor.frame_rate; in __fimc_is_hw_update_param_sensor_framerate()
273 sensor->frame_rate.frame_rate = in __is_set_sensor()
278 sensor->frame_rate.frame_rate = fps; in __is_set_sensor()
H A Dfimc-is-param.h525 u32 frame_rate; member
673 struct param_sensor_framerate frame_rate; member
775 u32 frame_rate; member
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_top.h65 u32 frame_rate; member
H A Ddpu_plane.c363 int frame_rate) in _dpu_plane_set_ot_limit() argument
376 ot_params.frame_rate = frame_rate; in _dpu_plane_set_ot_limit()
1101 int frame_rate, in dpu_plane_sspp_update_pipe() argument
1162 _dpu_plane_set_ot_limit(plane, pipe, pipe_cfg, frame_rate); in dpu_plane_sspp_update_pipe()
H A Ddpu_hw_top.c155 CALCULATE_WD_LOAD_VALUE(cfg->frame_rate)); in dpu_hw_setup_wd_timer()
/linux/drivers/media/i2c/
H A Dmt9m114.c408 unsigned int frame_rate; member
907 u16 frame_rate = sensor->ifp.frame_rate << 8; in mt9m114_set_frame_rate() local
911 frame_rate, &ret); in mt9m114_set_frame_rate()
913 frame_rate, &ret); in mt9m114_set_frame_rate()
1605 ival->denominator = sensor->ifp.frame_rate; in mt9m114_ifp_get_frame_interval()
1630 sensor->ifp.frame_rate = min_t(unsigned int, in mt9m114_ifp_set_frame_interval()
1634 sensor->ifp.frame_rate = MT9M114_MAX_FRAME_RATE; in mt9m114_ifp_set_frame_interval()
1637 ival->denominator = sensor->ifp.frame_rate; in mt9m114_ifp_set_frame_interval()
2035 sensor->ifp.frame_rate = MT9M114_DEF_FRAME_RATE; in mt9m114_ifp_init()
H A Dov5640.c3633 int frame_rate, ret = 0; in ov5640_set_frame_interval() local
3654 frame_rate = ov5640_try_frame_interval(sensor, &fi->interval, mode); in ov5640_set_frame_interval()
3655 if (frame_rate < 0) { in ov5640_set_frame_interval()
3667 if (ov5640_framerates[frame_rate] > ov5640_framerates[mode->max_fps]) { in ov5640_set_frame_interval()
3673 frame_rate != sensor->current_fr) { in ov5640_set_frame_interval()
3674 sensor->current_fr = frame_rate; in ov5640_set_frame_interval()
/linux/include/uapi/linux/dvb/
H A Dvideo.h117 unsigned int frame_rate; /* in frames per 1000sec */ member
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-video.h80 u32 frame_rate; member
/linux/Documentation/sound/
H A Dutimers.rst121 should be calculated as ``1000000000ULL / frame_rate * period_size`` as
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-enum-frameintervals.rst91 frame_rate = 1 / frame_interval
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmain.h630 u32 rts_rate, u32 frame_rate,
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c1448 unsigned int frame_rate = timing->pix_clk_100hz / (timing->h_total * timing->v_total); in dcn35_set_drr() local
1450 if (frame_rate >= 120 && dc->caps.ips_support && in dcn35_set_drr()
1453 num_frames = 2 * (frame_rate % 60); in dcn35_set_drr()

12