All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv5 0/4] v4l: extended crop/compose api
@ 2011-08-31 12:28 Tomasz Stanislawski
  2011-08-31 12:28 ` [PATCH 1/4] v4l: add support for selection api Tomasz Stanislawski
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Tomasz Stanislawski @ 2011-08-31 12:28 UTC (permalink / raw)
  To: linux-media
  Cc: m.szyprowski, t.stanislaws, kyungmin.park, hverkuil,
	laurent.pinchart, sakari.ailus

Hello Everyone,

This is the fifth version of extended crop/compose RFC. It was updated after
Laurent's review. The patch-set introduces new ioctls to V4L2 API for
configuration of selection rectangles like crop and compose areas. The last
patch adds selection support for s5p-tv driver. Please refer to discussion
below for more details about api development.

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

Changelog:

v4:
- removed returning best-hit rectangle on failure of VIDIOC_S_SELECTION
- fixed typos and naming
- removed enums from structures
- code style cleanup

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 (4):
  v4l: add support for selection api
  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         |    4 +-
 Documentation/DocBook/media/v4l/selection-api.xml  |  278 ++
 Documentation/DocBook/media/v4l/v4l2.xml           |    1 +
 .../DocBook/media/v4l/vidioc-g-selection.xml       |  281 ++
 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                   |  114 +-
 include/linux/videodev2.h                          |   46 +
 include/media/v4l2-ioctl.h                         |    4 +
 14 files changed, 4210 insertions(+), 209 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] 29+ messages in thread

end of thread, other threads:[~2011-10-17 16:54 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 12:28 [PATCHv5 0/4] v4l: extended crop/compose api Tomasz Stanislawski
2011-08-31 12:28 ` [PATCH 1/4] v4l: add support for selection api Tomasz Stanislawski
2011-09-05 10:25   ` Sakari Ailus
2011-09-05 12:52     ` Laurent Pinchart
2011-09-05 12:55       ` Sakari Ailus
2011-09-23  8:33   ` Laurent Pinchart
2011-09-27  8:28   ` Hans Verkuil
2011-09-29 13:41     ` Tomasz Stanislawski
2011-10-12 11:48   ` Sakari Ailus
2011-10-12 15:08     ` Tomasz Stanislawski
2011-10-12 16:31       ` Sakari Ailus
2011-10-14 17:19       ` Sakari Ailus
2011-10-17 13:31         ` Tomasz Stanislawski
2011-10-17 16:54           ` Sakari Ailus
2011-08-31 12:28 ` [PATCH 2/4] v4l: add documentation for selection API Tomasz Stanislawski
2011-09-22 22:41   ` Laurent Pinchart
2011-09-23 12:36     ` Tomasz Stanislawski
2011-09-23 13:13       ` Laurent Pinchart
2011-09-23 15:22         ` Tomasz Stanislawski
2011-09-27 11:17           ` Laurent Pinchart
2011-09-27 14:17             ` Tomasz Stanislawski
2011-09-27 15:32               ` Kamil Debski
2011-09-27  9:20   ` Hans Verkuil
2011-09-27 11:11     ` Laurent Pinchart
2011-09-27 11:27       ` Hans Verkuil
2011-09-27 13:36     ` Tomasz Stanislawski
2011-09-27 13:52       ` Hans Verkuil
2011-08-31 12:28 ` [PATCH 3/4] v4l: emulate old crop API using extended crop/compose API Tomasz Stanislawski
2011-08-31 12:28 ` [PATCH 4/4] v4l: s5p-tv: mixer: add support for selection API Tomasz Stanislawski

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.