Re: [PATCH v2] media: ov5670: Fix incorrect frame timing reported to user

2017-08-10 Thread Sakari Ailus
On Thu, Aug 10, 2017 at 04:00:05PM +0900, Tomasz Figa wrote: > Hi Chiranjeevi, > > On Thu, Aug 10, 2017 at 6:59 AM, Chiranjeevi Rapolu > wrote: > > Previously, pixel-rate/(pixels-per-line * lines-per-frame) was > > yielding incorrect frame timing for the user. > > >

Re: [PATCH v2] media: ov5670: Fix incorrect frame timing reported to user

2017-08-10 Thread Tomasz Figa
Hi Chiranjeevi, On Thu, Aug 10, 2017 at 6:59 AM, Chiranjeevi Rapolu wrote: > Previously, pixel-rate/(pixels-per-line * lines-per-frame) was > yielding incorrect frame timing for the user. > > OV sensor is using internal timing and this requires > conversion

[PATCH v2] media: ov5670: Fix incorrect frame timing reported to user

2017-08-09 Thread Chiranjeevi Rapolu
Previously, pixel-rate/(pixels-per-line * lines-per-frame) was yielding incorrect frame timing for the user. OV sensor is using internal timing and this requires conversion (internal timing -> PPL) for correct HBLANK calculation. Now, change pixels-per-line domain from internal sensor clock to