v4l2_s_parm_cap(9)
π v4l2_s_parm_cap(9) π
okay bestie, welcome to the v4l2_s_parm_cap(9) page from the Kernel API Manual β yes, we're doing kernel media internals today, and honestly? iconic of you. π
πΈ NAME πΈ
v4l2_s_parm_cap is the helper routine for vidioc_s_parm, and it fills this in by calling the set_frame_interval op of the given subdev. It only works for V4L2_BUF_TYPE_VIDEO_CAPTURE(_MPLANE), hence the _cap in the function name. no cap, literally the _cap is right there in the name π
β¨ SYNOPSIS β¨
int v4l2_s_parm_cap (struct video_device *vdev , struct v4l2_subdev *sd
, struct v4l2_streamparm *a );
π ARGUMENTS π
vdevβ thestruct video_devicepointer. Used to determine the device caps. she's doing the vibe check on your device caps π«Άsdβ the sub-device pointer. the subdev bestie in question β¨aβ theVIDIOC_S_PARMargument. this is the main character argument, fr fr π¦
π¦ SEE ALSO π¦
Kernel file ./include/media/v4l2-common.h β and then the whole friend group:
v4l2_ctrl_query_fill(9)enum v4l2_i2c_tuner_type(9)v4l2_i2c_new_subdev(9)v4l2_i2c_new_subdev_board(9)v4l2_i2c_subdev_set_name(9)v4l2_i2c_subdev_init(9)v4l2_i2c_subdev_addr(9)v4l2_i2c_tuner_addrs(9)v4l2_i2c_subdev_unregister(9)v4l2_spi_new_subdev(9)v4l2_spi_subdev_init(9)v4l2_spi_subdev_unregister(9)v4l_bound_align_image(9)v4l2_find_nearest_size_conditional(9)v4l2_find_nearest_size(9)v4l2_g_parm_cap(9)enum v4l2_pixel_encoding(9)struct v4l2_format_info(9)v4l2_get_link_freq(9)v4l2_get_active_data_lanes(9)v4l2_link_freq_to_bitmap(9)devm_v4l2_sensor_clk_get(9)devm_v4l2_sensor_clk_get_legacy(9)
byeee π«Ά this cutie lives in ./include/media, dated October 2026, and she's literally the v4l2_s_parm_cap(9) page. mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms