public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add resolution change event
@ 2014-05-08 11:49 Arun Kumar K
  2014-05-08 11:49 ` [PATCH v3 1/2] [media] v4l: Add source " Arun Kumar K
  2014-05-08 11:49 ` [PATCH v3 2/2] [media] s5p-mfc: Add support for resolution " Arun Kumar K
  0 siblings, 2 replies; 6+ messages in thread
From: Arun Kumar K @ 2014-05-08 11:49 UTC (permalink / raw)
  To: linux-media, linux-samsung-soc
  Cc: k.debski, s.nawrocki, hverkuil, laurent.pinchart, posciak,
	arunkk.samsung

This patchset adds a source_change event to the v4l2-events.
This can be used for notifying the userspace about runtime
format changes happening on video nodes / pads like resolution
change in video decoder.

This version includes suggestions from Hans and Laurent
to make it more generic and to be used by all kinds of
video devices to notify userspace about runtime parameter
changes. The discussion can be seen here [1]

If this is accepted, I can send another series implementing
v4l2_event_init() for zeoring the data array addressing
compatibility issues as discussed in [1].

[1] https://patchwork.kernel.org/patch/4023131/

Changes from v2
---------------
- Event can be subscribed on specific pad / port as
  suggested by Hans.

Changes from v1
---------------
- Addressed review comments from Hans and Laurent
  https://patchwork.kernel.org/patch/4000951/

Arun Kumar K (1):
  [media] v4l: Add source change event

Pawel Osciak (1):
  [media] s5p-mfc: Add support for resolution change event

 Documentation/DocBook/media/v4l/vidioc-dqevent.xml |   32 +++++++++++++++++
 .../DocBook/media/v4l/vidioc-subscribe-event.xml   |   19 +++++++++++
 drivers/media/platform/s5p-mfc/s5p_mfc.c           |    7 ++++
 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c       |    2 ++
 drivers/media/v4l2-core/v4l2-event.c               |   36 ++++++++++++++++++++
 include/media/v4l2-event.h                         |    4 +++
 include/uapi/linux/videodev2.h                     |    8 +++++
 7 files changed, 108 insertions(+)

-- 
1.7.9.5


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

end of thread, other threads:[~2014-05-12 12:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 11:49 [PATCH v3 0/2] Add resolution change event Arun Kumar K
2014-05-08 11:49 ` [PATCH v3 1/2] [media] v4l: Add source " Arun Kumar K
2014-05-09 13:09   ` Laurent Pinchart
2014-05-09 13:15     ` Hans Verkuil
2014-05-12 12:16       ` Arun Kumar K
2014-05-08 11:49 ` [PATCH v3 2/2] [media] s5p-mfc: Add support for resolution " Arun Kumar K

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