linux/drivers/media
Hans Verkuil 2151bdc887 [media] v4l2-event: add optional merge and replace callbacks
When the event queue for a subscribed event is full, then the oldest
event is dropped. It would be nice if the contents of that oldest
event could be merged with the next-oldest. That way no information is
lost, only intermediate steps are lost.

This patch adds optional replace() (called when only one kevent was allocated)
and merge() (called when more than one kevent was allocated) callbacks that
will be called to do this job.

These two callbacks are implemented for the V4L2_EVENT_CTRL event.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-07-27 17:53:31 -03:00
..
common [media] xc4000: make checkpatch.pl happy 2011-07-27 17:52:40 -03:00
dvb [media] drxd, siano: Remove unused include linux/version.h 2011-07-27 17:53:12 -03:00
radio [media] v4l2-ctrls: fix and improve volatile control handling 2011-07-27 17:53:17 -03:00
rc [media] rc-core: lirc use unsigned int 2011-07-27 17:52:59 -03:00
video [media] v4l2-event: add optional merge and replace callbacks 2011-07-27 17:53:31 -03:00
Kconfig [media] DVB: dvb-net, make the kconfig text helpful 2011-07-27 17:53:09 -03:00
Makefile [media] media: Entities, pads and links 2011-03-22 04:53:10 -03:00
media-device.c [media] media: Links setup 2011-03-22 04:53:16 -03:00
media-devnode.c [media] media: Fix media device minor registration 2011-06-01 13:24:23 -03:00
media-entity.c [media] media: Properly handle link flags in link setup, link notify callback 2011-04-17 07:43:32 -03:00