summaryrefslogtreecommitdiff
path: root/include/media/mpeg2-ctrls.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2018-10-24 13:51:01 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-01-07 21:19:48 +0300
commit245ede423b43a6e081e94e0e5d4e895bd1f31228 (patch)
treeac7bbb0d68e33af0c5edc24a1c63e0b5c6a56099 /include/media/mpeg2-ctrls.h
parentc2eb8effb265ac5cdd960d8e61ecb931e9c767cd (diff)
downloadlinux-245ede423b43a6e081e94e0e5d4e895bd1f31228.tar.xz
media: vb2: add vb2_find_timestamp()
Use v4l2_timeval_to_ns instead of timeval_to_ns to ensure that both kernelspace and userspace will use the same conversion function. Next add a new vb2_find_timestamp() function to find buffers with a specific timestamp. This function will only look at DEQUEUED and DONE buffers, i.e. buffers that are already processed. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media/mpeg2-ctrls.h')
0 files changed, 0 insertions, 0 deletions