Re: [PATCH v2] omap3isp: Use monotonic timestamps for statistics buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Laurent!

On Fri, Sep 14, 2012 at 11:57:48PM +0200, Laurent Pinchart wrote:
> V4L2 buffers use the monotonic clock, while statistics buffers use wall
> time. This makes it difficult to correlate video frames and statistics.
> 
> Switch statistics buffers to the monotonic clock to fix this, and
> replace struct timeval with struct timespec.
> 
> Reported-by: Antoine Reversat <a.reversat@xxxxxxxxx>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> ---
>  drivers/media/platform/omap3isp/ispstat.c |    2 +-
>  drivers/media/platform/omap3isp/ispstat.h |    2 +-
>  include/linux/omap3isp.h                  |    7 ++++++-
>  3 files changed, 8 insertions(+), 3 deletions(-)

Acked-by: Sakari Ailus <sakari.ailu@xxxxxx>

-- 
Sakari Ailus
e-mail: sakari.ailus@xxxxxx	XMPP: sailus@xxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux