v4l2_subdev_...tream_format(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

v4l2_subdev_state_get_opposite_stream_format β€” get pointer to opposite stream format. Welcome to the v4l2_subdev_...tream_format(9) page from the Kernel API Manual, bestie β€” the header got a lil chopped, but the actual function name is right here and it's iconic.

✨ SYNOPSIS ✨

struct v4l2_mbus_framefmt * v4l2_subdev_state_get_opposite_stream_format
(struct v4l2_subdev_state *state , u32 pad , u32 stream );

🧚 ARGUMENTS 🧚

  • state β€” subdevice state; the state we're digging around in.
  • pad β€” pad id.
  • stream β€” stream id.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this one returns a pointer to struct v4l2_mbus_framefmt for the pad + stream that is opposite the given pad + stream in the subdev state. That's the whole slay.

If the state does not contain the given pad + stream, NULL is returned. No matching pad + stream, no format pointer β€” just NULL. πŸ’€

🌈 SEE ALSO 🌈

This cross-reference list is literally the group chat, so here's every single one, bestie:


Mwah πŸ’‹ source/version: ./include/media Β· date: October 2026 Β· page: v4l2_subdev_...tream_format(9). That's the footer, bestie β€” periodt. 🫢

πŸ“¦ where this page comes from