Re: [Question]: What's right way to use struct media_pipeline?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/24/2015 02:55 AM, Bryan Wu wrote:
> Hi Hans,
> 
> I found struct media_pipeline actually is completely empty and I assume we use that to control all the entities belonging to one media_pipeline.
> 
> media_pipeline should contains either all the media_link or all the media_entity. How come an empty struct can provide those information?

It's basically an empty base class to speak in C++ terminology.

See drivers/media/platform/xilinx/xilinx-dma.h on how it is used there.

Laurent Pinchart knows a lot more about it than I do, though.

Regards,

	Hans

> 
> What about following ideas?
> 1. when media_entity_create_links, it will return a media_link pointer.
> 2. we save this media_link pointer into the media_pipeline
> 3. use this media_pipeline for start streaming, stop streaming and validate links.
> 
> Maybe I miss something during recent media controller changes.
> 
> Thanks,
> -Bryan
> 
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may contain
> confidential information.  Any unauthorized review, use, disclosure or distribution
> is prohibited.  If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux