STRUCT V4L2_SUBDEV_STREAM_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 struct v4l2_subdev_stream_config(9) 🌈

okay so bestie, welcome to the Kernel API Manual β€” this page is literally about struct v4l2_subdev_stream_config, the little struct that stores stream configuration. It's giving "small but important" energy, no cap. πŸ’…


🌸 NAME 🌸

struct v4l2_subdev_stream_config β€” used for storing stream configuration.

✨ SYNOPSIS ✨

struct v4l2_subdev_stream_config {
    u32 pad;
    u32 stream;
    bool enabled;
    struct v4l2_mbus_framefmt fmt;
    struct v4l2_rect crop;
    struct v4l2_rect compose;
    struct v4l2_fract interval;
};

🫢 Members 🫢

  • pad β€” pad number. 🌈
  • stream β€” stream number. πŸŽ€
  • enabled β€” has the stream been enabled with v4l2_subdev_enable_streams. πŸ‘‘
  • fmt β€” struct v4l2_mbus_framefmt. ✨
  • crop β€” struct v4l2_rect to be used for crop. πŸ“
  • compose β€” struct v4l2_rect to be used for compose. 🧚
  • interval β€” frame interval. ⭐

πŸ’– Description πŸ’–

This structure stores configuration for a stream. Like, that's the whole assignment β€” it's the config-holding bestie for a stream, and honestly? Iconic. πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/media/v4l2-core/v4l2-subdev.c β€” go peek if you're curious, iykyk. πŸ”₯

xoxo, your kernel bestie πŸ’– β€” source/version: ./drivers/media/v4l2-core, date: October 2026.

πŸ“¦ where this page comes from