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

2012-10-01 Thread Mauro Carvalho Chehab
Em 27-09-2012 16:49, Sakari Ailus escreveu: Hi Mauro, Mauro Carvalho Chehab wrote: Em Fri, 14 Sep 2012 23:57:48 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: ... struct omap3isp_stat_data { -struct timeval ts; +struct timespec ts; NACK. That breaks

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

2012-09-27 Thread Mauro Carvalho Chehab
Em Fri, 14 Sep 2012 23:57:48 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: 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

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

2012-09-27 Thread Sakari Ailus
Hi Mauro, Mauro Carvalho Chehab wrote: Em Fri, 14 Sep 2012 23:57:48 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: V4L2 buffers use the monotonic clock, while statistics buffers use wall time. This makes it difficult to correlate video frames and statistics. Switch

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

2012-09-27 Thread Laurent Pinchart
Hi Mauro, On Thursday 27 September 2012 22:49:34 Sakari Ailus wrote: Mauro Carvalho Chehab wrote: Laurent Pinchart laurent.pinch...@ideasonboard.com escreveu: V4L2 buffers use the monotonic clock, while statistics buffers use wall time. This makes it difficult to correlate video frames and

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

2012-09-15 Thread Sakari Ailus
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

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

2012-09-14 Thread Laurent Pinchart
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