Skip to content

Media controller plugin for libv4l2

Yordan Kamenov linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add files for media controller pipelinesMakefile omap3-mc.conf paths.c +2 more+1200 -00 replies
2/3Add files for v4l operationsoperations.c operations.h+655 -00 replies
3/3Add libv4l2 media controller plugin interface fileslibv4l2plugin-omap3mc.c libv4l2plugin-omap3mc.h+332 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [libv4l-mcplugin PATCH 0/3] Media controller plugin for libv4l2

Hi,

This is the Media Controller plugin for libv4l. It uses libv4l2 plugin support which is accepted by Hans De Goede, but not yet included in mainline libv4l2:
http://www.spinics.net/lists/linux-media/msg32017.html

The plugin allows a traditional v4l2 applications to work with Media Controller framework. The plugin is loaded when application opens /dev/video0 and it configures the media controller and then all ioctl's by the applicatin are handled by the plugin.

The plugin implements init, close and ioctl callbacks. The init callback checks it's input file descriptor and if it coresponds to /dev/video0, then the media controller is initialized and appropriate pipeline is created. The close callback deinitializes the pipeline, and closes the media device. The ioctl callback is responsible to handle ioctl calls from application by using the media controller pipeline.

The plugin uses media-ctl library for media controller operations:
http://git.ideasonboard.org/?p=media-ctl.git;a=summary

The plugin is divided in three separate patches:
* Media Controller pipelines initialization, configuration and destruction
* v4l operations - uses some functionality from the first one
* Plugin interface operations (init, close and ioctl) - uses functionality from first two

Yordan Kamenov (3):
Add files for media controller pipelines Add files for v4l operations
Add libv4l2 media controller plugin interface files