public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [RFCv1 PATCH 0/6] Improved/New timings API
@ 2012-02-03 10:06 Hans Verkuil
  2012-02-03 10:06 ` [RFCv1 PATCH 1/6] videodev2.h: add enum/query/cap dv_timings ioctls Hans Verkuil
  2012-02-24  9:54 ` [RFCv1 PATCH 0/6] Improved/New timings API Hans Verkuil
  0 siblings, 2 replies; 18+ messages in thread
From: Hans Verkuil @ 2012-02-03 10:06 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvalho Chehab

Hi all,

This is an implementation of this RFC:

http://www.mail-archive.com/linux-media@vger.kernel.org/msg38168.html

The goal is that with these additions the existing DV_PRESET API can be
removed eventually. It's always painful to admit, but that wasn't the best
API ever :-)

To my dismay I discovered that some of the preset defines were even impossible:
there are no interlaced 1920x1080i25/29.97/30 formats.

I have been testing this new code with the adv7604 HDMI receiver as used here:

http://git.linuxtv.org/hverkuil/cisco.git/shortlog/refs/heads/test-timings

This is my development/test branch, so the code is a bit messy.

One problem that I always had with the older proposals is that there was no
easy way to just select a specific standard (e.g. 720p60). By creating the
linux/v4l2-dv-timings.h header this is now very easy to do, both for drivers
and applications.

I also took special care on how to distinguish between e.g. 720p60 and 720p59.94.
See the documentation for more information.

Note that the QUERY_DV_TIMINGS and DV_TIMINGS_CAP ioctls will be marked
experimental. Particularly the latter ioctl might well change in the future as
I do not have enough experience to tell whether DV_TIMINGS_CAP is sufficiently
detailed.

I would like to get some feedback on this approach, just to make sure I don't
need to start over.

In the meantime I will be working on code to detect CVT and GTF video timings
since that is needed to verify that that part works correctly as well.

And once everyone agrees to the API, then I will try and add this API to all
drivers that currently use the preset API. That way there will be a decent
path forward to eventually remove the preset API (sooner rather than later
IMHO).

Regards,

	Hans


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

end of thread, other threads:[~2012-02-28 12:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03 10:06 [RFCv1 PATCH 0/6] Improved/New timings API Hans Verkuil
2012-02-03 10:06 ` [RFCv1 PATCH 1/6] videodev2.h: add enum/query/cap dv_timings ioctls Hans Verkuil
2012-02-03 10:06   ` [RFCv1 PATCH 2/6] v4l2 framework: add support for the new " Hans Verkuil
2012-02-03 10:06   ` [RFCv1 PATCH 3/6] v4l2-dv-timings.h: definitions for CEA-861 and VESA DMT timings Hans Verkuil
2012-02-03 10:06   ` [RFCv1 PATCH 4/6] V4L2 spec: document the new V4L2 DV timings ioctls Hans Verkuil
2012-02-28 11:01     ` Mauro Carvalho Chehab
2012-02-28 11:09       ` Hans Verkuil
2012-02-03 10:06   ` [RFCv1 PATCH 5/6] v4l2-common: add new support functions to match DV timings Hans Verkuil
2012-02-28 11:03     ` Mauro Carvalho Chehab
2012-02-28 11:18       ` Hans Verkuil
2012-02-28 11:26         ` Mauro Carvalho Chehab
2012-02-03 10:06   ` [RFCv1 PATCH 6/6] tvp7002: add support for the new dv timings API Hans Verkuil
2012-02-28 10:54   ` [RFCv1 PATCH 1/6] videodev2.h: add enum/query/cap dv_timings ioctls Mauro Carvalho Chehab
2012-02-28 11:06     ` Hans Verkuil
2012-02-28 11:14       ` Mauro Carvalho Chehab
2012-02-24  9:54 ` [RFCv1 PATCH 0/6] Improved/New timings API Hans Verkuil
2012-02-28 11:13   ` Mauro Carvalho Chehab
2012-02-28 12:42     ` Hans Verkuil

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