vimc_streamer_s_stream(9)
π vimc_streamer_s_stream β the Kernel API Manual, bestie edition π
okay so this page is vimc_streamer_s_stream(9), straight out of the Kernel API Manual, and it's literally the on/off switch for streaming on the media pipeline. one function, two jobs, zero drama. let's go β¨
πΈ NAME πΈ
vimc_streamer_s_stream β start/stop the streaming on the media pipeline. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
int vimc_streamer_s_stream (struct vimc_stream *stream , struct
vimc_ent_device *ved , int enable );
like, it returns an int, takes three things, and it is not subtle about any of them π
π¦ ARGUMENTS π¦
streamβ the pointer to the stream structure of the current stream. yes, the stream's stream struct, we love a self-referential moment πvedβ pointer to thevimcentity of the entity of the stream. (the original says "of the entity of the entity", and honestly? iconic. we keep it fr fr π«Ά)enableβ flag to determine if the stream should start/stop. it's giving toggle energy. main character boolean β
π§ DESCRIPTION π§
okay so when you're starting, first thing it does is check if there is no stream->kthread allocated. no cap, that check is there because a missing stream->kthread should indicate that a stream is already running. read it twice, it's fine, the manpage said it π
then it initializes the pipeline, and creates and runs a kthread to consume buffers through the pipeline. a whole little thread, working hard, consuming buffers, no thoughts head empty π¦
when you're stopping, it does the analogous thing: check if there is a stream running, stop the thread, and terminate the pipeline. symmetric, clean, ate π
π₯ RETURN π₯
0if success π- error code otherwise π
π SEE ALSO π
- Kernel file
./drivers/media/test-drivers/vimc/vimc-streamer.c vimc_get_source_entity(9)vimc_streamer_pipeline_terminate(9)vimc_streamer_pipeline_init(9)vimc_streamer_get_sensor(9)vimc_streamer_thread(9)
iykyk β go read those next, they're the rest of the friend group π
and that's the page!! this whole thing lives in ./drivers/media/test-drivers/vimc, dated October 2026, and it's literally titled vimc_streamer_s_stream(9). mwah, bye bestie ππβ¨
π¦ 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