]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f5882bbf44075e75b772265884bc6eb5efb6427
treefa078c3c4203df021d9c826fafb9a4d255ee97bc
parentd88c496e69948ff70aaddfc9860173264ba7c95b
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