All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC v2 0/4] Libv4l: Add a plugin for the Exynos4 camera
@ 2014-10-17 14:54 Jacek Anaszewski
  2014-10-17 14:54 ` [PATCH/RFC v2 1/4] Add a media device configuration file parser Jacek Anaszewski
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Jacek Anaszewski @ 2014-10-17 14:54 UTC (permalink / raw)
  To: linux-media; +Cc: s.nawrocki, b.zolnierkie, kyungmin.park, Jacek Anaszewski

This is a second version of the patch series adding a plugin for the 
Exynos4 camera.

================
Changes from v1:
================

- removed redundant mbus code negotiation
- split the parser, media device helpers and ioctl wrappers
  to the separate modules
- added mechanism for querying extended controls
- applied various fixes and modifications

The plugin was tested on latest media-tree.git master with patches for
exynos4-is that fix failing open when a sensor sub-device is not
linked [1] [2] [3].

The plugin expects a configuration file:
/var/lib/libv4l/exynos4_capture_conf

Exemplary configuration file:

==========================================

link {
        source_entity: s5p-mipi-csis.0
        source_pad: 1
        sink_entity: FIMC.0
        sink_pad: 0
}

v4l2-controls {
        Color Effects: fimc.0.capture
        Saturation: S5C73M3
        Image Stabilization: S5C73M3
        White Balance, Auto & Preset: S5C73M3
        Exposure, Metering Mode: S5C73M3
}

==========================================

With this settings the plugin can be tested on the exynos4412-trats2 board
using following gstreamer pipeline:

gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,width=960,height=720 ! fbdevsink

In order to avoid fbdevsink element failure the fix [4]
for exynos-drm driver is required.

Thanks,
Jacek Anaszewski

[1] https://patchwork.linuxtv.org/patch/26366/
[2] https://patchwork.linuxtv.org/patch/26367/
[3] https://patchwork.linuxtv.org/patch/26368/
[4] http://www.spinics.net/lists/dri-devel/msg66494.html

Jacek Anaszewski (4):
  Add a media device configuration file parser.
  Add media device related data structures and API.
  Add wrappers for media device related ioctl calls.
  Add a libv4l plugin for Exynos4 camera

 configure.ac                                      |    1 +
 lib/Makefile.am                                   |    5 +-
 lib/include/libv4l2-mdev-ioctl.h                  |   45 +
 lib/include/libv4l2-mdev.h                        |  195 +++++
 lib/include/libv4l2-media-conf-parser.h           |  148 ++++
 lib/libv4l-exynos4-camera/Makefile.am             |    8 +
 lib/libv4l-exynos4-camera/libv4l-exynos4-camera.c |  569 ++++++++++++
 lib/libv4l2/Makefile.am                           |    5 +-
 lib/libv4l2/libv4l2-mdev-ioctl.c                  |  329 +++++++
 lib/libv4l2/libv4l2-mdev.c                        |  975 +++++++++++++++++++++
 lib/libv4l2/libv4l2-media-conf-parser.c           |  441 ++++++++++
 11 files changed, 2718 insertions(+), 3 deletions(-)
 create mode 100644 lib/include/libv4l2-mdev-ioctl.h
 create mode 100644 lib/include/libv4l2-mdev.h
 create mode 100644 lib/include/libv4l2-media-conf-parser.h
 create mode 100644 lib/libv4l-exynos4-camera/Makefile.am
 create mode 100644 lib/libv4l-exynos4-camera/libv4l-exynos4-camera.c
 create mode 100644 lib/libv4l2/libv4l2-mdev-ioctl.c
 create mode 100644 lib/libv4l2/libv4l2-mdev.c
 create mode 100644 lib/libv4l2/libv4l2-media-conf-parser.c

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-10-22 20:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-17 14:54 [PATCH/RFC v2 0/4] Libv4l: Add a plugin for the Exynos4 camera Jacek Anaszewski
2014-10-17 14:54 ` [PATCH/RFC v2 1/4] Add a media device configuration file parser Jacek Anaszewski
2014-10-20 21:44   ` Sakari Ailus
2014-10-21  7:17     ` Jacek Anaszewski
2014-10-21  9:26       ` Sakari Ailus
2014-10-21 10:11         ` Jacek Anaszewski
2014-10-17 14:54 ` [PATCH/RFC v2 2/4] Add media device related data structures and API Jacek Anaszewski
2014-10-22 10:03   ` Sakari Ailus
2014-10-22 18:45     ` Laurent Pinchart
2014-10-17 14:54 ` [PATCH/RFC v2 3/4] Add wrappers for media device related ioctl calls Jacek Anaszewski
2014-10-17 14:54 ` [PATCH/RFC v2 4/4] Add a libv4l plugin for Exynos4 camera Jacek Anaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.