media: v4l2-mem2mem: allow request job buffer processing after job finish
authorJohn Cox <jc@kynesim.co.uk>
Thu, 5 Mar 2020 14:46:54 +0000 (14:46 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:31 +0000 (16:33 +0100)
commit6049bd5208afee1ad63945d0ea372318ffad9fd3
tree821385c2471858724fb928638b64276eee352740
parentac940621bc42edd18e57e70baccc51a99d441d72
media: v4l2-mem2mem: allow request job buffer processing after job finish

Allow the capture buffer to be detached from a v4l2 request job such
that another job can start before the capture buffer is returned. This
allows h/w codecs that can process multiple requests at the same time
to operate more efficiently.

Signed-off-by: John Cox <jc@kynesim.co.uk>
drivers/media/v4l2-core/v4l2-mem2mem.c
include/media/v4l2-mem2mem.h
include/media/videobuf2-v4l2.h