media: vivid: Improve timestamping
Simulate a more precise timestamp by calculating it based on the current framerate. Signed-off-by:Gabriel Francisco Mandaji <gfmandaji@gmail.com> Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil-cisco@xs4all.nl: replaced division by 2 with bit shift] Signed-off-by:
Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Showing
- drivers/media/platform/vivid/vivid-core.h 3 additions, 0 deletionsdrivers/media/platform/vivid/vivid-core.h
- drivers/media/platform/vivid/vivid-kthread-cap.c 37 additions, 14 deletionsdrivers/media/platform/vivid/vivid-kthread-cap.c
- drivers/media/platform/vivid/vivid-vbi-cap.c 0 additions, 4 deletionsdrivers/media/platform/vivid/vivid-vbi-cap.c
Loading
Please register or sign in to comment