Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/media/i2c/
Dvs6624.c30 struct v4l2_fract frame_rate; member
657 ival->interval.numerator = sensor->frame_rate.denominator; in vs6624_g_frame_interval()
658 ival->interval.denominator = sensor->frame_rate.numerator; in vs6624_g_frame_interval()
675 sensor->frame_rate.numerator = tpf->denominator; in vs6624_s_frame_interval()
676 sensor->frame_rate.denominator = tpf->numerator; in vs6624_s_frame_interval()
679 sensor->frame_rate.numerator >> 8); in vs6624_s_frame_interval()
681 sensor->frame_rate.numerator & 0xFF); in vs6624_s_frame_interval()
683 sensor->frame_rate.denominator & 0xFF); in vs6624_s_frame_interval()
785 sensor->frame_rate.numerator = MAX_FRAME_RATE; in vs6624_probe()
786 sensor->frame_rate.denominator = 1; in vs6624_probe()
[all …]
/linux-6.1.9/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.1.9/drivers/media/platform/aspeed/
Daspeed-video.c295 unsigned int frame_rate; member
1133 if (video->frame_rate) in aspeed_video_init_regs()
1134 ctrl |= FIELD_PREP(VE_CTRL_FRC, video->frame_rate); in aspeed_video_init_regs()
1279 if (!video->frame_rate) in aspeed_video_get_parm()
1282 a->parm.capture.timeperframe.denominator = video->frame_rate; in aspeed_video_get_parm()
1290 unsigned int frame_rate = 0; in aspeed_video_set_parm() local
1297 frame_rate = a->parm.capture.timeperframe.denominator / in aspeed_video_set_parm()
1300 if (!frame_rate || frame_rate > MAX_FRAME_RATE) { in aspeed_video_set_parm()
1301 frame_rate = 0; in aspeed_video_set_parm()
1306 if (video->frame_rate != frame_rate) { in aspeed_video_set_parm()
[all …]
/linux-6.1.9/drivers/media/platform/amphion/
Dvenc.c294 timeperframe->numerator = venc->params.frame_rate.numerator; in venc_g_parm()
295 timeperframe->denominator = venc->params.frame_rate.denominator; in venc_g_parm()
317 timeperframe->numerator = venc->params.frame_rate.numerator; in venc_s_parm()
319 timeperframe->denominator = venc->params.frame_rate.denominator; in venc_s_parm()
321 venc->params.frame_rate.numerator = timeperframe->numerator; in venc_s_parm()
322 venc->params.frame_rate.denominator = timeperframe->denominator; in venc_s_parm()
324 rational_best_approximation(venc->params.frame_rate.numerator, in venc_s_parm()
325 venc->params.frame_rate.denominator, in venc_s_parm()
326 venc->params.frame_rate.numerator, in venc_s_parm()
327 venc->params.frame_rate.denominator, in venc_s_parm()
[all …]
Dvpu_malone.c286 u32 frame_rate; member
872 info->frame_rate.numerator = 1000; in vpu_malone_unpack_seq_hdr()
873 info->frame_rate.denominator = pkt->data[8]; in vpu_malone_unpack_seq_hdr()
892 if (info->frame_rate.numerator && info->frame_rate.denominator) { in vpu_malone_unpack_seq_hdr()
895 rational_best_approximation(info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr()
896 info->frame_rate.denominator, in vpu_malone_unpack_seq_hdr()
897 info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr()
898 info->frame_rate.denominator, in vpu_malone_unpack_seq_hdr()
900 info->frame_rate.numerator = n; in vpu_malone_unpack_seq_hdr()
901 info->frame_rate.denominator = d; in vpu_malone_unpack_seq_hdr()
Dvpu_windsor.c404 u32 frame_rate; member
914 expert->config_param.frame_rate_num = params->frame_rate.numerator; in vpu_windsor_set_frame_rate()
915 expert->config_param.frame_rate_den = params->frame_rate.denominator; in vpu_windsor_set_frame_rate()
1133 if (!params->frame_rate.numerator) in vpu_windsor_set_params()
1135 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.h133 struct v4l2_fract frame_rate; member
/linux-6.1.9/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_hw_top.c209 CALCULATE_WD_LOAD_VALUE(cfg->frame_rate)); in dpu_hw_setup_vsync_source()
/linux-6.1.9/drivers/staging/media/deprecated/cpia2/
Dcpia2_core.c955 unsigned char frame_rate; in set_default_user_mode() local
970 frame_rate = CPIA2_VP_FRAMERATE_30; in set_default_user_mode()
980 frame_rate = CPIA2_VP_FRAMERATE_15; in set_default_user_mode()
982 frame_rate = CPIA2_VP_FRAMERATE_30; in set_default_user_mode()
991 cam->params.version.sensor_flags, user_mode, frame_rate); in set_default_user_mode()
994 if(cam->params.vp_params.frame_rate > 0 && in set_default_user_mode()
995 frame_rate > cam->params.vp_params.frame_rate) in set_default_user_mode()
996 frame_rate = cam->params.vp_params.frame_rate; in set_default_user_mode()
998 cpia2_set_fps(cam, frame_rate); in set_default_user_mode()
1774 cam->params.vp_params.frame_rate = framerate; in cpia2_set_fps()
[all …]
Dcpia2.h307 u8 frame_rate; member
/linux-6.1.9/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-msg-format.h35 struct s32_fract frame_rate; /* Frame rate */ member
Dmmal-vchiq.c748 port->es.video.frame_rate.numerator, in dump_port_info()
749 port->es.video.frame_rate.denominator, in dump_port_info()
1553 dst->es.video.frame_rate.numerator = src->es.video.frame_rate.numerator; in vchiq_mmal_port_connect_tunnel()
1554 dst->es.video.frame_rate.denominator = src->es.video.frame_rate.denominator; in vchiq_mmal_port_connect_tunnel()
/linux-6.1.9/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()
Dsdw-mockup.c107 stream_config.frame_rate = params_rate(params); in sdw_mockup_pcm_hw_params()
Dwcd938x-sdw.c127 wcd->sconfig.frame_rate = params_rate(params); in wcd938x_sdw_hw_params()
/linux-6.1.9/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.1.9/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.1.9/include/uapi/linux/dvb/
Dvideo.h132 unsigned int frame_rate; /* in frames per 1000sec */ member
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
Dvideo-get-event.rst79 unsigned int frame_rate; /* in frames per 1000sec */

12