xvip_pipeline_set_stream(9)
π 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 whentrueor off whenfalse
π¦ 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 π₯
- Kernel file
./drivers/media/platform/xilinx/xilinx-dma.c xvip_pipeline_start_stop(9)xvip_pipeline_cleanup(9)xvip_pipeline_prepare(9)struct xvip_dma_buffer(9)
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
- 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