v4l2_s_parm_cap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the struct video_device pointer. 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 β€” the VIDIOC_S_PARM argument. this is the main character argument, fr fr πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/media/v4l2-common.h β€” and then the whole friend group:


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