ENUM V4L2_SUBDEV_FORMAT_WHENCE(9)
π enum v4l2_subdev_format_whence(9) π
okay bestie, welcome to the Kernel API Manual β¨ (yes, the Kernel API Manual, we're in the big leagues now) β this is the page for enum v4l2_subdev_format_whence, which is basically the "is this for real or are we just vibing" switch for media bus formats π¦
πΈ NAME πΈ
enum v4l2_subdev_format_whence β the Media bus format type π (i.e. which flavor of format you're talking about, no cap)
β¨ SYNOPSIS β¨
enum v4l2_subdev_format_whence {
V4L2_SUBDEV_FORMAT_TRY ,
V4L2_SUBDEV_FORMAT_ACTIVE
};
that's it, that's the whole enum β two constants, zero drama, maximum icon behavior π
π§ Constants π§
V4L2_SUBDEV_FORMAT_TRYβ the try format, and it's for negotiation only π¬ like, it's the "hey can we test this out, no commitment" option. it does not get applied to the device, fr fr πV4L2_SUBDEV_FORMAT_ACTIVEβ the active format, aka the one applied to the device π₯ this is the main character, it's actually happening π
lowkey important: one of these is a rehearsal π and the other is opening night π β do not mix them up bestie.
π¦ SEE ALSO π¦
Kernel file ./include/uapi/linux/v4l2-subdev.h π plus these iconic structs, all linked and accounted for:
struct v4l2_subdev_format(9)struct v4l2_subdev_crop(9)struct v4l2_subdev_mbus_code_enum(9)struct v4l2_subdev_frame_size_enum(9)struct v4l2_subdev_frame_interval(9)struct v4l2_subdev_frame_interval_enum(9)struct v4l2_subdev_selection(9)struct v4l2_subdev_capability(9)struct v4l2_subdev_route(9)struct v4l2_subdev_routing(9)struct v4l2_subdev_client_capability(9)
like, the whole friend group showed up to the group chat ππ«Ά
mwah π that's the page! this one's living at ./include/uapi/linux, dated October 2026, and it's the enum v4l2_su...ormat_whence(9) page β go read it again whenever you forget which constant actually touches the device ππ
π¦ 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