diff options
| author | Ricardo Ribalda <[email protected]> | 2024-03-23 10:48:05 +0000 |
|---|---|---|
| committer | Laurent Pinchart <[email protected]> | 2024-06-17 00:58:45 +0300 |
| commit | 6243c83be6ee8d95cf5661b5a123621106491974 (patch) | |
| tree | fadc2d5224611a8449726b7ce44e36616040bbea /tools/perf/scripts/python | |
| parent | 9183c6f1a21e0da4415762c504e2d7f784304d12 (diff) | |
media: uvcvideo: Allow hw clock updates with buffers not full
With UVC 1.5 we get as little as one clock sample per frame. Which means
that it takes 32 frames to move from the software timestamp to the
hardware timestamp method.
This results in abrupt changes in the timestamping after 32 frames (~1
second), resulting in noticeable artifacts when used for encoding.
With this patch we modify the update algorithm to work with whatever
amount of values are available.
Tested-by: HungNien Chen <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Ricardo Ribalda <[email protected]>
Reviewed-by: Tomasz Figa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions