Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/media/usb/gspca/
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 …]
Dov534.c72 u8 frame_rate; member
851 if (sd->frame_rate >= r->fps) in set_frame_rate()
1118 sd->frame_rate = DEFAULT_FRAME_RATE; in sd_config()
1543 tpf->denominator = sd->frame_rate; in sd_get_streamparm()
1555 sd->frame_rate = DEFAULT_FRAME_RATE; in sd_set_streamparm()
1557 sd->frame_rate = tpf->denominator / tpf->numerator; in sd_set_streamparm()
1564 tpf->denominator = sd->frame_rate; in sd_set_streamparm()
/linux-6.6.21/drivers/media/platform/aspeed/
Daspeed-video.c319 unsigned int frame_rate; member
1223 video->frame_rate); in aspeed_video_update_regs()
1237 if (video->frame_rate) in aspeed_video_update_regs()
1238 ctrl |= FIELD_PREP(VE_CTRL_FRC, video->frame_rate); in aspeed_video_update_regs()
1438 if (!video->frame_rate) in aspeed_video_get_parm()
1441 a->parm.capture.timeperframe.denominator = video->frame_rate; in aspeed_video_get_parm()
1449 unsigned int frame_rate = 0; in aspeed_video_set_parm() local
1456 frame_rate = a->parm.capture.timeperframe.denominator / in aspeed_video_set_parm()
1459 if (!frame_rate || frame_rate > MAX_FRAME_RATE) { in aspeed_video_set_parm()
1460 frame_rate = 0; in aspeed_video_set_parm()
[all …]
/linux-6.6.21/drivers/media/platform/amphion/
Dvenc.c285 timeperframe->numerator = venc->params.frame_rate.numerator; in venc_g_parm()
286 timeperframe->denominator = venc->params.frame_rate.denominator; in venc_g_parm()
309 timeperframe->numerator = venc->params.frame_rate.numerator; in venc_s_parm()
311 timeperframe->denominator = venc->params.frame_rate.denominator; in venc_s_parm()
313 venc->params.frame_rate.numerator = timeperframe->numerator; in venc_s_parm()
314 venc->params.frame_rate.denominator = timeperframe->denominator; in venc_s_parm()
316 rational_best_approximation(venc->params.frame_rate.numerator, in venc_s_parm()
317 venc->params.frame_rate.denominator, in venc_s_parm()
318 venc->params.frame_rate.numerator, in venc_s_parm()
319 venc->params.frame_rate.denominator, in venc_s_parm()
[all …]
Dvpu_malone.c286 u32 frame_rate; member
894 info->frame_rate.numerator = 1000; in vpu_malone_unpack_seq_hdr()
895 info->frame_rate.denominator = pkt->data[8]; in vpu_malone_unpack_seq_hdr()
914 if (info->frame_rate.numerator && info->frame_rate.denominator) { in vpu_malone_unpack_seq_hdr()
917 rational_best_approximation(info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr()
918 info->frame_rate.denominator, in vpu_malone_unpack_seq_hdr()
919 info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr()
920 info->frame_rate.denominator, in vpu_malone_unpack_seq_hdr()
922 info->frame_rate.numerator = n; in vpu_malone_unpack_seq_hdr()
923 info->frame_rate.denominator = d; in vpu_malone_unpack_seq_hdr()
Dvpu_windsor.c402 u32 frame_rate; member
918 expert->config_param.frame_rate_num = params->frame_rate.numerator; in vpu_windsor_set_frame_rate()
919 expert->config_param.frame_rate_den = params->frame_rate.denominator; in vpu_windsor_set_frame_rate()
1137 if (!params->frame_rate.numerator) in vpu_windsor_set_params()
1139 windsor->frame_rate = params->frame_rate.denominator / params->frame_rate.numerator; in vpu_windsor_set_params()
Dvpu_codec.h15 struct v4l2_fract frame_rate; member
Dvpu_defs.h134 struct v4l2_fract frame_rate; member
/linux-6.6.21/include/sound/
Dsdw.h37 stream_config->frame_rate = params_rate(params); in snd_sdw_params_to_config()
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_vbif.h15 u32 frame_rate; member
Ddpu_hw_top.h65 u32 frame_rate; member
Ddpu_vbif.c96 pps = params->frame_rate; in _dpu_vbif_apply_dynamic_ot_limit()
112 params->width, params->height, params->frame_rate, in _dpu_vbif_apply_dynamic_ot_limit()
Ddpu_plane.c346 int frame_rate) in _dpu_plane_set_ot_limit() argument
358 ot_params.frame_rate = frame_rate; in _dpu_plane_set_ot_limit()
1017 int frame_rate, in dpu_plane_sspp_update_pipe() argument
1078 _dpu_plane_set_ot_limit(plane, pipe, pipe_cfg, frame_rate); in dpu_plane_sspp_update_pipe()
Ddpu_hw_top.c172 CALCULATE_WD_LOAD_VALUE(cfg->frame_rate)); in dpu_hw_setup_vsync_source()
/linux-6.6.21/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-msg-format.h35 struct s32_fract frame_rate; /* Frame rate */ member
Dmmal-vchiq.c747 port->es.video.frame_rate.numerator, in dump_port_info()
748 port->es.video.frame_rate.denominator, in dump_port_info()
1552 dst->es.video.frame_rate.numerator = src->es.video.frame_rate.numerator; in vchiq_mmal_port_connect_tunnel()
1553 dst->es.video.frame_rate.denominator = src->es.video.frame_rate.denominator; in vchiq_mmal_port_connect_tunnel()
/linux-6.6.21/sound/soc/codecs/
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()
Dmax98363.c230 stream_config.frame_rate = params_rate(params); in max98363_sdw_dai_hw_params()
/linux-6.6.21/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c1036 preview_port->es.video.frame_rate.numerator = in mmal_setup_video_component()
1038 preview_port->es.video.frame_rate.denominator = in mmal_setup_video_component()
1087 port->es.video.frame_rate.numerator = in mmal_setup_encode_component()
1089 port->es.video.frame_rate.denominator = in mmal_setup_encode_component()
1228 camera_port->es.video.frame_rate.numerator = 0; in mmal_setup_components()
1229 camera_port->es.video.frame_rate.denominator = 1; in mmal_setup_components()
1632 format->es->video.frame_rate.numerator = 0; /* Rely on fps_range */ in mmal_init()
1633 format->es->video.frame_rate.denominator = 1; in mmal_init()
1646 format->es->video.frame_rate.numerator = 0; /* Rely on fps_range */ in mmal_init()
1647 format->es->video.frame_rate.denominator = 1; in mmal_init()
[all …]
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/
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()
Dfimc-is-param.h525 u32 frame_rate; member
673 struct param_sensor_framerate frame_rate; member
775 u32 frame_rate; member
/linux-6.6.21/include/uapi/linux/dvb/
Dvideo.h117 unsigned int frame_rate; /* in frames per 1000sec */ member
/linux-6.6.21/drivers/staging/media/av7110/
Dvideo-get-event.rst79 unsigned int frame_rate; /* in frames per 1000sec */
/linux-6.6.21/drivers/media/i2c/
Dov5640.c3625 int frame_rate, ret = 0; in ov5640_s_frame_interval() local
3639 frame_rate = ov5640_try_frame_interval(sensor, &fi->interval, mode); in ov5640_s_frame_interval()
3640 if (frame_rate < 0) { in ov5640_s_frame_interval()
3652 if (ov5640_framerates[frame_rate] > ov5640_framerates[mode->max_fps]) { in ov5640_s_frame_interval()
3658 frame_rate != sensor->current_fr) { in ov5640_s_frame_interval()
3659 sensor->current_fr = frame_rate; in ov5640_s_frame_interval()
/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dvidioc-enum-frameintervals.rst91 frame_rate = 1 / frame_interval

12