]> asedeno.scripts.mit.edu Git - linux.git/commit
media: videobuf: use u64 for the timestamp internally
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 21 Jan 2019 13:32:23 +0000 (08:32 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 7 Feb 2019 17:11:19 +0000 (12:11 -0500)
commit15a40b27beb0a85d7f11d747bfc587dbeb69a96c
treedfb30013a9a2e6d5ff2ae27a329439d0321389db
parent63635b54e07f646aa1d8e54c96b099162a226f7d
media: videobuf: use u64 for the timestamp internally

Just like vb2 does, use u64 internally to store the timestamps
of the buffers. Only convert to timeval when interfacing with
userspace.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
13 files changed:
drivers/media/common/saa7146/saa7146_fops.c
drivers/media/pci/bt8xx/bttv-driver.c
drivers/media/pci/cx18/cx18-mailbox.c
drivers/media/platform/davinci/vpfe_capture.c
drivers/media/platform/fsl-viu.c
drivers/media/platform/omap/omap_vout.c
drivers/media/usb/cx231xx/cx231xx-417.c
drivers/media/usb/cx231xx/cx231xx-vbi.c
drivers/media/usb/cx231xx/cx231xx-video.c
drivers/media/usb/tm6000/tm6000-video.c
drivers/media/usb/zr364xx/zr364xx.c
drivers/media/v4l2-core/videobuf-core.c
include/media/videobuf-core.h