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, 27 Jan 2021 19:13:06 +0000 (19:13 +0000)
commit40ce8267cb747b3a4f526ac2cf2f633a273c92ae
tree491f7aaed70dc5a3fceeebc691829deb109ec538
parent705f9fd8ce906f99cda12947747125ac9ceb29b3
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