[media] media: v4l2-mem2mem: extend m2m APIs for more accurate buffer management
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Thu, 15 Jun 2017 16:31:42 +0000 (13:31 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 11:53:39 +0000 (08:53 -0300)
commitd498756451a93e233eb980e03905f5f8950ad159
tree65040e738c68abfacd78eb872bb23decc28c5541
parentff6ccad361df4dfda42b60897cb7e55b3ba13439
[media] media: v4l2-mem2mem: extend m2m APIs for more accurate buffer management

this add functions for:
  - remove buffers from src/dst queue by index
  - remove exact buffer from src/dst queue

also extends m2m API to iterate over a list of src/dst buffers
in safely and non-safely manner.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/v4l2-mem2mem.c
include/media/v4l2-mem2mem.h