public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Support for interlaced in cvt/gtf timings
@ 2015-04-23  8:59 Prashant Laddha
  2015-04-23  8:59 ` [RFC PATCH 1/4] v4l2-dv-timings: Add interlace support in detect cvt/gtf Prashant Laddha
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Prashant Laddha @ 2015-04-23  8:59 UTC (permalink / raw)
  To: linux-media

Currently, detect_cvt/gtf() functions in v4l2-dv-timings do not calculate
timings for interlaced format. Besides the set-dv-bt-timings control in
vivid, drivers for adv7604 and adv7842 may also need cvt/gtf timings for
interlaced format. This patch series is a proposal for adding interlaced
support in cvt/gtf timing calculation. Previously, I had submitted a patch
for the same. https://patchwork.linuxtv.org/patch/29130/  Hans had reviewed
and asked to rework and resubmit the patches as RFC.

Patch 1/4 extends the detect_cvt/gtf() API to pass on an interlaced flag
(this flag, if true, indicates interlaced format type). This patch adds the
timings calculation for interlaced format. Since detect_cvt/gtf() API is
changed, all caller functions also modified in the same patch. To begin with,
interlaced flag is passed as false.

Subsequent patches 2/4 to 4/4, contain changes in caller functions to pass the
appropriate values for interlaced flag.

Please review this patch series and share your comments, suggestions.

Regards,
Prashant


Prashant Laddha (4):
  v4l2-dv-timings: Add interlace support in detect cvt/gtf
  vivid: Use interlaced info for cvt/gtf timing detection
  adv7604: Use interlaced info for cvt/gtf timing detection
  adv7842: Use interlaced info for cvt/gtf timing detection

 drivers/media/i2c/adv7604.c                  |  4 +--
 drivers/media/i2c/adv7842.c                  |  4 +--
 drivers/media/platform/vivid/vivid-vid-cap.c |  5 ++--
 drivers/media/v4l2-core/v4l2-dv-timings.c    | 39 +++++++++++++++++++++++-----
 include/media/v4l2-dv-timings.h              |  6 +++--
 5 files changed, 44 insertions(+), 14 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-17 14:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-23  8:59 [RFC PATCH 0/4] Support for interlaced in cvt/gtf timings Prashant Laddha
2015-04-23  8:59 ` [RFC PATCH 1/4] v4l2-dv-timings: Add interlace support in detect cvt/gtf Prashant Laddha
2015-05-15  9:58   ` Hans Verkuil
2015-05-17 14:18     ` Prashant Laddha (prladdha)
2015-04-23  8:59 ` [RFC PATCH 2/4] vivid: Use interlaced info for cvt/gtf timing detection Prashant Laddha
2015-04-23  8:59 ` [RFC PATCH 3/4] adv7604: " Prashant Laddha
2015-04-23  8:59 ` [RFC PATCH 4/4] adv7842: " Prashant Laddha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox