ENUM VFL_DEVNODE_DIRECTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum vfl_devnode_direction(9) β€” bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual, and it's about one little enum that answers the question every V4L2 device has to answer at some point: am I the one sending, the one receiving, or the one doing both sides at once? iconic behavior honestly πŸ’–


✨ NAME ✨

enum vfl_devnode_direction β€” literally just tells you whether a &struct video_device is a receiver, a transmitter, or a mem-to-mem device. that's it. that's the whole vibe check πŸ¦‹


🌸 SYNOPSIS 🌸

enum vfl_devnode_direction {
    VFL_DIR_RX ,
    VFL_DIR_TX ,
    VFL_DIR_M2M

};

three constants, no cap, no extras πŸ’…


πŸŽ€ Constants πŸŽ€

  • VFL_DIR_RX β€” this device is a receiver. it's giving "i listen, i take in" energy πŸ‘‚βœ¨
  • VFL_DIR_TX β€” this device is a transmitter. main character energy, it puts stuff out into the world πŸ“‘πŸ”₯
  • VFL_DIR_M2M β€” this is a memory to memory device. no outside world involved, it just does its little transformation internally, obsessed 🧚

⭐ Note ⭐

🚨 heads up bestie: this whole thing gets ignored if enum vfl_devnode_type is VFL_TYPE_SUBDEV. like, don't even worry about it in that case. periodt πŸ’€

🌈 SEE ALSO 🌈

so many besties linked here, we love a connected ecosystem 🫢 β€” and it all lives in the kernel file ./include/media/v4l2-dev.h:


and that's the whole page, bestie, go read your kernel headers πŸ’–

this cutie lives over in ./include/media, dated October 2026, and it's page enum vfl_devnode_direction(9) of the Kernel API Manual β€” mwah, see u in the group chat πŸ˜˜πŸŽ€

πŸ“¦ where this page comes from