xvip_enum_frame_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xvip_enum_frame_size(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual entry for xvip_enum_frame_size β€” yes that's a mouthful, yes it's iconic, and yes we're gonna get through it together ✨


🌸 NAME 🌸

xvip_enum_frame_size β€” Enumerate the media bus frame size πŸŽ€


⭐ SYNOPSIS ⭐

int xvip_enum_frame_size (struct v4l2_subdev *subdev , struct
v4l2_subdev_state *sd_state , struct v4l2_subdev_frame_size_enum *fse );

like, that's the whole vibe. three pointers and an int return, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • subdev β€” a V4L2 subdevice. that's the device bestie, the whole point πŸ’–
  • sd_state β€” the V4L2 subdev state. state tracking, we love to see it ✨
  • fse β€” this one's doing the returning: it hands back the media bus frame size πŸ“¦

πŸ‘‘ DESCRIPTION πŸ‘‘

so this function is literally a drop-in implementation of the subdev enum_frame_size pad operation. like you can just slot it in. slay πŸ’…

it assumes β€” and yeah, assumes is doing a lot of work here β€” that the subdevice has one sink pad and one source pad, and that the format on the source pad is always identical to the format on the sink pad. same format, both pads, periodt. πŸͺž

lowkey important: entities with different requirements need to implement their own enum_frame_size handlers. this one is not gonna magically fit your weird multi-pad setup, bestie. it's giving "one size fits one specific size" 😭

πŸ”₯ RETURN πŸ”₯

  • 0 β€” the media bus frame size was found. we ate. πŸ“
  • -EINVAL β€” the index or the code is not valid. πŸ’€ not me getting a bad index...

🌈 SEE ALSO 🌈

the whole friend group fr fr πŸ«ΆπŸ¦‹


and that's the page !! mwah πŸ’‹ this one shipped out of ./drivers/media/platform/xilinx in October 2026 β€” main character energy from the xilinx directory, no notes πŸ‘‘βœ¨

πŸ“¦ where this page comes from