[media] v4l: omap3isp: preview: Mark output buffer done first
authorSakari Ailus <sakari.ailus@iki.fi>
Tue, 10 Nov 2015 23:34:18 +0000 (21:34 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 10:29:06 +0000 (08:29 -0200)
commit61d5b9d46d2ea4b3ae9534ed6da608a78ce29ac5
tree5fef8a279e70d7e3640dd7c6b60c5b7dae94f2bb
parent514580f99af8eae246820fe324a78087972a7d63
[media] v4l: omap3isp: preview: Mark output buffer done first

The sequence number counter is incremented on each output buffer, and that
incremented value is used as the sequence number of that buffer. The input
buffer sequence numbering is based just on reading the same counter. If
the input buffer is marked done first, its sequence number ends up being
that of the output buffer - 1.

This is how the resizer works as well.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/omap3isp/isppreview.c
This page took 0.033439 seconds and 5 git commands to generate.