Re: [PATCHv6 1/8] v4l2-mem2mem: add v4l2_m2m_buf_copy_data helper function

2019-01-17 Thread Ezequiel Garcia
On Mon, 2019-01-07 at 12:34 +0100, hverkuil-ci...@xs4all.nl wrote: > From: Hans Verkuil > > 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-o

[PATCHv6 1/8] v4l2-mem2mem: add v4l2_m2m_buf_copy_data helper function

2019-01-07 Thread hverkuil-cisco
From: Hans Verkuil 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 Reviewed-by: Paul Kocialkowski Reviewed-by: Alexandre Courbot