[PATCH/RFC v2 0/5] media-ctl API changes to prepare for device enumeration library

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

 



Hello,

Here's the second version of the patch set that make libmediactl usable by the
upcoming media device enumeration library. In order to do so I need to change
the libmediactl API and add support for emulated media devices.

In order to avoid further API/ABI breakages I've decided to make the
media_device and media_entity structures private and provide accessors for the
fields that need to be read. I'm open to suggestions on whether I should make
the media_pad and media_link structures private now as well, or on any other
aspect of these changes.

For reference the (work in progress) media device enumeration library is
available at

	http://git.ideasonboard.org/media-enum.git

Changes since v1:

- Made struct media_entity private

Laurent Pinchart (5):
  Split media_device creation and opening
  Make the media_device structure private
  Make the media_entity structure private
  Expose default devices
  Add support for emulated devices

 src/main.c          | 137 +++++++++++++---------
 src/mediactl-priv.h |  64 ++++++++++
 src/mediactl.c      | 330 +++++++++++++++++++++++++++++++++++++++++++++-------
 src/mediactl.h      | 281 ++++++++++++++++++++++++++++++++++----------
 src/v4l2subdev.c    |   1 +
 5 files changed, 652 insertions(+), 161 deletions(-)
 create mode 100644 src/mediactl-priv.h

-- 
Regards,

Laurent Pinchart

--
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