[GIT PULL FOR v3.17] Add support for compound controls, use in solo/go7007

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

 



Hi Mauro,

This is the revised pull request for the compound control patch series that
you wanted. The only change made since the previous pull request is that the
max dimensions is reduced to 4.

The previous pull request is here:

https://patchwork.linuxtv.org/patch/24546/

I have added support for getting/setting multidimensional arrays to
v4l2-ctl here:

http://git.linuxtv.org/cgit.cgi/hverkuil/v4l-utils.git/log/?h=compound

I've also tested this with the solo and go7007 driver.

Regards,

	Hans

(1) https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg75929.html
(2) http://www.spinics.net/lists/linux-media/msg77233.html

[GIT PULL FOR v3.17]

The following changes since commit 3c0d394ea7022bb9666d9df97a5776c4bcc3045c:

  [media] dib8000: improve the message that reports per-layer locks (2014-07-07 09:59:01 -0300)

are available in the git repository at:

  git://linuxtv.org/hverkuil/media_tree.git propapi-part5

for you to fetch changes up to a0199b540f53413f37fe5a511762b897a5a3630a:

  go7007: add motion detection support. (2014-07-16 16:41:49 +0200)

----------------------------------------------------------------
Hans Verkuil (34):
      v4l2-ctrls: increase internal min/max/step/def to 64 bit
      v4l2-ctrls: use pr_info/cont instead of printk.
      videodev2.h: add initial support for compound controls.
      videodev2.h: add struct v4l2_query_ext_ctrl and VIDIOC_QUERY_EXT_CTRL.
      v4l2-ctrls: add support for compound types.
      v4l2: integrate support for VIDIOC_QUERY_EXT_CTRL.
      v4l2-ctrls: create type_ops.
      v4l2-ctrls: rewrite copy routines to operate on union v4l2_ctrl_ptr.
      v4l2-ctrls: compare values only once.
      v4l2-ctrls: use ptrs for all but the s32 type.
      v4l2-ctrls: prepare for array support
      v4l2-ctrls: prepare for array support.
      v4l2-ctrls: type_ops can handle array elements.
      v4l2-ctrls: add array support.
      v4l2-ctrls: return elem_size instead of strlen
      v4l2-ctrl: fix error return of copy_to/from_user.
      DocBook media: document VIDIOC_QUERY_EXT_CTRL.
      DocBook media: update VIDIOC_G/S/TRY_EXT_CTRLS.
      DocBook media: fix coding style in the control example code
      DocBook media: improve control section.
      DocBook media: update control section.
      v4l2-controls.txt: update to the new way of accessing controls.
      v4l2-ctrls/videodev2.h: add u8 and u16 types.
      DocBook media: document new u8 and u16 control types.
      v4l2-ctrls: fix comments
      v4l2-ctrls/v4l2-controls.h: add MD controls
      DocBook media: document new motion detection controls.
      v4l2: add a motion detection event.
      DocBook: document new v4l motion detection event.
      solo6x10: implement the new motion detection controls.
      solo6x10: implement the motion detection event.
      solo6x10: fix 'dma from stack' warning.
      solo6x10: check dma_map_sg() return value
      go7007: add motion detection support.

 Documentation/DocBook/media/v4l/controls.xml               | 278 ++++++++++++++++------
 Documentation/DocBook/media/v4l/vidioc-dqevent.xml         |  44 ++++
 Documentation/DocBook/media/v4l/vidioc-g-ext-ctrls.xml     |  51 +++-
 Documentation/DocBook/media/v4l/vidioc-queryctrl.xml       | 232 +++++++++++++++---
 Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml |   8 +
 Documentation/video4linux/v4l2-controls.txt                |  63 +++--
 drivers/media/i2c/mt9v032.c                                |   4 +-
 drivers/media/i2c/smiapp/smiapp-core.c                     |   8 +-
 drivers/media/pci/ivtv/ivtv-controls.c                     |   4 +-
 drivers/media/platform/vivi.c                              |   9 +-
 drivers/media/radio/si4713/si4713.c                        |   4 +-
 drivers/media/v4l2-core/v4l2-common.c                      |   6 +-
 drivers/media/v4l2-core/v4l2-ctrls.c                       | 847 +++++++++++++++++++++++++++++++++++++++++++++--------------------
 drivers/media/v4l2-core/v4l2-dev.c                         |   2 +
 drivers/media/v4l2-core/v4l2-ioctl.c                       |  33 +++
 drivers/media/v4l2-core/v4l2-subdev.c                      |   3 +
 drivers/staging/media/go7007/go7007-driver.c               | 127 +++++++---
 drivers/staging/media/go7007/go7007-fw.c                   |  28 ++-
 drivers/staging/media/go7007/go7007-priv.h                 |  16 ++
 drivers/staging/media/go7007/go7007-v4l2.c                 | 317 ++++++++++++++++--------
 drivers/staging/media/go7007/go7007.h                      |  40 ----
 drivers/staging/media/go7007/saa7134-go7007.c              |   1 -
 drivers/staging/media/msi3101/msi001.c                     |   2 +-
 drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c           |   6 +-
 drivers/staging/media/solo6x10/solo6x10-disp.c             |  14 +-
 drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c         | 183 +++++++-------
 drivers/staging/media/solo6x10/solo6x10.h                  |  26 +-
 include/media/v4l2-ctrls.h                                 | 123 +++++++---
 include/media/v4l2-ioctl.h                                 |   2 +
 include/uapi/linux/v4l2-controls.h                         |  17 ++
 include/uapi/linux/videodev2.h                             |  51 +++-
 31 files changed, 1805 insertions(+), 744 deletions(-)
 delete mode 100644 drivers/staging/media/go7007/go7007.h
--
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