STRUCT VIMC_STREAM(9)
π 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) wherestream_onwas 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 ofved_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
- 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