media: amphion: encoder copy timestamp from output to capture
authorMing Qian <ming.qian@nxp.com>
Wed, 20 Apr 2022 11:34:54 +0000 (13:34 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:19 +0000 (11:02 +0200)
commit455e583638bd3a4066a1b22a11068871b0b48e47
treefa078c3c4203df021d9c826fafb9a4d255ee97bc
parenta4dca209f23470f20b61b40cca417a5bf6ea8533
media: amphion: encoder copy timestamp from output to capture

copy the timestamp using the helper function
V4L2_BUF_FLAG_TIMESTAMP_COPY

To implement this, driver will keep the output buffer until it's
encoded, in previous, driver will return the output buffer immediately
after firmware return it

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/amphion/venc.c