OSDN Git Service

[media] vivid: add support to set CVT, GTF timings
authorPrashant Laddha <prladdha@cisco.com>
Sat, 21 Mar 2015 12:29:14 +0000 (09:29 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 8 Apr 2015 09:32:28 +0000 (06:32 -0300)
commit5190931d1d992fadc6ad9cc53b630783cf8e39c5
treea3d096f1ebe11014238c65aa3466b18ce2526e89
parent29103668e9be0aa28e3c893b398cb69978b920ad
[media] vivid: add support to set CVT, GTF timings

In addition to v4l2_find_dv_timings_cap(), where timings are searched
against the list of preset timings, the incoming timing from v4l2-ctl
is checked against CVT and GTF standards. If it confirms to be CVT or
GTF, it is treated as valid timing and vivid format is updated with
new timings.

Signed-off-by: Prashant Laddha <prladdha@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-vid-cap.c