STRUCT VIMC_STREAM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vimc_stream(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so this is a page straight out of the Kernel API Manual, and it's all about struct vimc_stream β€” literally the struct that represents a stream in the pipeline. no cap, it's a whole vibe. πŸ¦‹


✨ NAME ✨

struct vimc_stream β€” the struct that represents a stream in the pipeline. that's it, that's the whole name line, slay. πŸ‘‘


🌸 SYNOPSIS 🌸

struct vimc_stream {
    struct media_pipeline pipe;
    struct vimc_ent_device
*ved_pipeline[VIMC_STREAMER_PIPELINE_MAX_SIZE];
    unsigned int pipe_size;
    struct task_struct *kthread;
 };

(yes the wrapping is a little feral, that's just how it is, don't come for me πŸ’€)


🫢 Members 🫢

  • pipe β€” the media pipeline object that's associated with this stream. it's giving "official paperwork for the stream" energy. πŸ“„
  • ved_pipeline β€” an array containing all the entities participating in the stream πŸ’–. the order goes from a video device (usually a capture device) where stream_on was called, all the way to the entity generating the first base image to be processed in the pipeline. so like, back-to-front through the whole glow-up chain. ✨
  • pipe_size β€” literally just the size of ved_pipeline. iconic, concise, no notes. πŸŽ€
  • kthread β€” the thread that generates the frames of the stream. the main character doing the actual work tbh. πŸ”₯

πŸ¦‹ Description πŸ¦‹

so when the user calls stream_on in a video device, struct vimc_stream is what gets used to keep track of all the entities and subdevices that generate and process frames for the stream. it's the group chat admin of the pipeline β€” everyone's in there, everyone's accounted for, no one gets left on read. πŸ’…πŸŒΈ


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/media/test-drivers/vimc/vimc-streamer.h β€” go read it, iykyk πŸ’œ

and that's the whole page, bestie β€” no crumbs left behind. this lil beauty lives at source/version ./drivers/media/test-drivers/vimc, dated October 2026, and it's struct vimc_stream(9) through and through. mwah πŸ’–βœ¨πŸŒˆ

πŸ“¦ where this page comes from