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>
Tue, 18 Nov 2014 02:59:32 +0000 (11:59 +0900)
commitd14d18bf03c70cf336673a9a9e1494480ac86eba
tree841e341b961450173206f499f4968620751fa06c
parent3d6b90310cdcab984e80e643c702b3492c1bce99
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