STRUCT V4L2_SUBDEV_STREAM_CONFIG(9)
π 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 withv4l2_subdev_enable_streams. πfmtβstruct v4l2_mbus_framefmt. β¨cropβstruct v4l2_rectto be used for crop. πcomposeβstruct v4l2_rectto 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
- 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