xvip_pipeline_set_stream(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is the xvip_pipeline_set_stream(9) page from the Kernel API Manual, and it's literally about turning streaming on and off for a pipeline πŸ’–

xvip_pipeline_set_stream β€” enable/disable streaming on a pipeline.


✨ SYNOPSIS ✨

bestie, here's the signature, no cap:

int xvip_pipeline_set_stream (struct xvip_pipeline *pipe , bool on );

πŸŽ€ ARGUMENTS πŸŽ€

  • pipe β€” the pipeline 🫢
  • on β€” turn the stream on when true or off when false

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the pipeline is shared between all DMA engines that connect at its input and output. while the stream state of DMA engines can be controlled independently, pipelines have a shared stream state that enables or disables all entities in the pipeline. for this reason the pipeline uses a streaming counter that tracks the number of DMA engines that have requested the stream to be enabled ✨

when called with the on argument set to true, this function will increment the pipeline streaming count. if the streaming count reaches the number of DMA engines in the pipeline, it will enable all entities that belong to the pipeline πŸ”₯

similarly, when called with the on argument set to false, this function will decrement the pipeline streaming count and disable all entities in the pipeline when the streaming count reaches zero. the way that counter does its little job is honestly iconic πŸ’…


🌸 RETURN 🌸

0 if successful, or the return value of the failed video::s_stream operation otherwise. stopping the pipeline never fails β€” literally never 😌. the pipeline state is not updated when the operation fails.


πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ this page's source/version is ./drivers/media/platform/xilinx and it's dated October 2026 β€” that's the source/version + date, bestie, and we're done 🫢

πŸ“¦ where this page comes from