diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2018-11-13 09:52:18 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-01-07 19:15:36 +0100 |
commit | e2d8ffe2e76028457759988ba6216fd13eeea01b (patch) | |
tree | f82891b23fd68cbde4670c099674bbc7b001fd35 /include/media/v4l2-fwnode.h | |
parent | ipu3: add missing #include (diff) | |
download | linux-e2d8ffe2e76028457759988ba6216fd13eeea01b.tar.xz linux-e2d8ffe2e76028457759988ba6216fd13eeea01b.zip |
media: v4l2-mem2mem: add v4l2_m2m_buf_copy_data helper function
Memory-to-memory devices should copy various parts of
struct v4l2_buffer from the output buffer to the capture buffer.
Add a helper function that does that to simplify the driver code.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media/v4l2-fwnode.h')
0 files changed, 0 insertions, 0 deletions