public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/5] v4l: extended crop/compose api
@ 2011-09-29 14:22 Tomasz Stanislawski
  2011-09-29 14:22 ` [PATCH 1/5] v4l: add support for selection api Tomasz Stanislawski
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Tomasz Stanislawski @ 2011-09-29 14:22 UTC (permalink / raw)
  To: linux-media
  Cc: m.szyprowski, t.stanislaws, kyungmin.park, hverkuil,
	laurent.pinchart, sakari.ailus, mchehab

Hello Everyone,

This is the fifth version of extended crop/compose RFC.  The patch-set
introduces new ioctls to V4L2 API for the configuration of the selection
rectangles like crop and compose areas. Please refer to the link below for more
details about the API development.

http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/32152

Changelog:

v4:
- typos, style fixes
- added piorority support to VIDIOC_S_SELECTION
- removed deprecation of current crop API
- marked selection as experimental API
- removed references to pipeline configuration rules
- added subsection about deficiencies of current cropping API
- moved patches to binaries to separate patch
- updated V4L2 changelog

v3:
- added target for padded buffer
- reduced number of constraint flags to SIZE_LE and SIZE_GE
- removed try flag
- added documentation for selection ioctls
- added documentation for new model of cropping, composing and scaling
- support of selection api for s5p-tv
- fixed returning ioctl's structures on failure

v2:
- reduced number of hints and its semantics to be more practical and less
  restrictive
- combined EXTCROP and COMPOSE ioctls into VIDIOC_{S/G}_SELECTION
- introduced crop and compose targets
- introduced try flag that prevents passing configuration to a hardware
- added usage examples

Tomasz Stanislawski (5):
  v4l: add support for selection api
  doc: v4l: add binary images for selection API
  doc: v4l: add documentation for selection API
  v4l: emulate old crop API using extended crop/compose API
  v4l: s5p-tv: mixer: add support for selection API

 Documentation/DocBook/media/constraints.png.b64    |  134 +
 Documentation/DocBook/media/selection.png.b64      | 2937 ++++++++++++++++++++
 Documentation/DocBook/media/v4l/common.xml         |    2 +
 Documentation/DocBook/media/v4l/compat.xml         |    9 +
 Documentation/DocBook/media/v4l/selection-api.xml  |  327 +++
 Documentation/DocBook/media/v4l/v4l2.xml           |    1 +
 .../DocBook/media/v4l/vidioc-g-selection.xml       |  303 ++
 drivers/media/video/s5p-tv/mixer.h                 |   14 +-
 drivers/media/video/s5p-tv/mixer_grp_layer.c       |  157 +-
 drivers/media/video/s5p-tv/mixer_video.c           |  339 ++-
 drivers/media/video/s5p-tv/mixer_vp_layer.c        |  108 +-
 drivers/media/video/v4l2-compat-ioctl32.c          |    2 +
 drivers/media/video/v4l2-ioctl.c                   |  120 +-
 include/linux/videodev2.h                          |   46 +
 include/media/v4l2-ioctl.h                         |    4 +
 15 files changed, 4295 insertions(+), 208 deletions(-)
 create mode 100644 Documentation/DocBook/media/constraints.png.b64
 create mode 100644 Documentation/DocBook/media/selection.png.b64
 create mode 100644 Documentation/DocBook/media/v4l/selection-api.xml
 create mode 100644 Documentation/DocBook/media/v4l/vidioc-g-selection.xml

-- 
1.7.6


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCHv6 0/5] v4l: introduce selection API
@ 2011-11-10 11:53 Tomasz Stanislawski
  2011-11-10 11:53 ` [PATCH 3/5] doc: v4l: add documentation for " Tomasz Stanislawski
  0 siblings, 1 reply; 11+ messages in thread
From: Tomasz Stanislawski @ 2011-11-10 11:53 UTC (permalink / raw)
  To: linux-media
  Cc: m.szyprowski, t.stanislaws, kyungmin.park, hverkuil,
	laurent.pinchart, sakari.ailus, mchehab

Hello Everyone,

This is the sixth version of extended crop/compose RFC.  The patch-set
introduces new ioctls to V4L2 API for the configuration of the selection
rectangles like crop and compose areas. Please refer to the link below for more
details about the API development.

http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/32152

Changelog:

v5:
- changed naming of constraints flags to form V4L2_SEL_FLAG_*
- changed naming of selection target to form V4L2_SEL_TGT_*
- size of PNG files in the documentation is greatly reduced
- fixes to handling of output queues for old cropping emulation
- VIDIOC_{S/G}_SELECTION for s5p-mixer accepts single- and multiplane buffers
  as VIDIOC_{S/G}_CROP did

v4:
- typos, style fixes
- added piorority support to VIDIOC_S_SELECTION
- removed deprecation of current crop API
- marked selection as experimental API
- removed references to pipeline configuration rules
- added subsection about deficiencies of current cropping API
- moved patches to binaries to separate patch
- updated V4L2 changelog

v3:
- added target for padded buffer
- reduced number of constraint flags to SIZE_LE and SIZE_GE
- removed try flag
- added documentation for selection ioctls
- added documentation for new model of cropping, composing and scaling
- support of selection api for s5p-tv
- fixed returning ioctl's structures on failure

v2:
- reduced number of hints and its semantics to be more practical and less
  restrictive
- combined EXTCROP and COMPOSE ioctls into VIDIOC_{S/G}_SELECTION
- introduced crop and compose targets
- introduced try flag that prevents passing configuration to a hardware
- added usage examples

Tomasz Stanislawski (5):
  v4l: add support for selection api
  doc: v4l: add binary images for selection API
  doc: v4l: add documentation for selection API
  v4l: emulate old crop API using extended crop/compose API
  v4l: s5p-tv: mixer: add support for selection API

 Documentation/DocBook/media/constraints.png.b64    |   59 ++++
 Documentation/DocBook/media/selection.png.b64      |  206 ++++++++++++
 Documentation/DocBook/media/v4l/common.xml         |    2 +
 Documentation/DocBook/media/v4l/compat.xml         |    9 +
 Documentation/DocBook/media/v4l/selection-api.xml  |  327 +++++++++++++++++++
 Documentation/DocBook/media/v4l/v4l2.xml           |    1 +
 .../DocBook/media/v4l/vidioc-g-selection.xml       |  304 +++++++++++++++++
 drivers/media/video/s5p-tv/mixer.h                 |   14 +-
 drivers/media/video/s5p-tv/mixer_grp_layer.c       |  157 +++++++--
 drivers/media/video/s5p-tv/mixer_video.c           |  342 +++++++++++++-------
 drivers/media/video/s5p-tv/mixer_vp_layer.c        |  108 ++++---
 drivers/media/video/v4l2-compat-ioctl32.c          |    2 +
 drivers/media/video/v4l2-ioctl.c                   |  116 +++++++-
 include/linux/videodev2.h                          |   46 +++
 include/media/v4l2-ioctl.h                         |    4 +
 15 files changed, 1495 insertions(+), 202 deletions(-)
 create mode 100644 Documentation/DocBook/media/constraints.png.b64
 create mode 100644 Documentation/DocBook/media/selection.png.b64
 create mode 100644 Documentation/DocBook/media/v4l/selection-api.xml
 create mode 100644 Documentation/DocBook/media/v4l/vidioc-g-selection.xml

-- 
1.7.5.4


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

end of thread, other threads:[~2011-11-10 11:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-29 14:22 [PATCH v5 0/5] v4l: extended crop/compose api Tomasz Stanislawski
2011-09-29 14:22 ` [PATCH 1/5] v4l: add support for selection api Tomasz Stanislawski
2011-09-29 14:22 ` [PATCH 2/5] doc: v4l: add binary images for selection API Tomasz Stanislawski
2011-09-30 16:54   ` Mauro Carvalho Chehab
2011-10-01  9:09     ` Hans Verkuil
2011-09-29 14:22 ` [PATCH 3/5] doc: v4l: add documentation " Tomasz Stanislawski
2011-09-30 16:52   ` Mauro Carvalho Chehab
2011-10-04  8:00     ` Tomasz Stanislawski
2011-09-29 14:22 ` [PATCH 4/5] v4l: emulate old crop API using extended crop/compose API Tomasz Stanislawski
2011-09-29 14:22 ` [PATCH 5/5] v4l: s5p-tv: mixer: add support for selection API Tomasz Stanislawski
  -- strict thread matches above, loose matches on Subject: below --
2011-11-10 11:53 [PATCHv6 0/5] v4l: introduce " Tomasz Stanislawski
2011-11-10 11:53 ` [PATCH 3/5] doc: v4l: add documentation for " Tomasz Stanislawski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox