upstream: [media] v4l: Add source change event
authorArun Kumar K <arun.kk@samsung.com>
Wed, 14 May 2014 06:59:42 +0000 (03:59 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:27:11 +0000 (14:27 +0900)
commit1ba127cdf10ddf84163112d6f35e46562752c8f6
tree09801e4df3a3ae585710d9912c42a48070b503fb
parent4ade2833c4c23f8cb33a4fb5c25cb93b00e79d62
upstream: [media] v4l: Add source change event

This event indicates that the video device has encountered
a source parameter change during runtime. This can typically be a
resolution change detected by a video decoder OR a format change
detected by an input connector.

This needs to be nofified to the userspace and the application may
be expected to reallocate buffers before proceeding. The application
can subscribe to events on a specific pad or input port which
it is interested in.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Documentation/DocBook/media/v4l/vidioc-dqevent.xml
Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml
drivers/media/v4l2-core/v4l2-event.c
include/media/v4l2-event.h
include/uapi/linux/videodev2.h