]> git.karo-electronics.de Git - linux-beck.git/commit
[media] v4l2: use new V4L2_DV_BT_BLANKING/FRAME defines
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 29 Jul 2013 11:41:00 +0000 (08:41 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 18 Aug 2013 11:19:40 +0000 (08:19 -0300)
commite36552684e24f8b21569dec47381c36b50a7966b
treec300fbdd03bc67e03a895bc367837dd87ada4e3e
parenteacf8f9aa80e2231af43b589cfc18c054e417220
[media] v4l2: use new V4L2_DV_BT_BLANKING/FRAME defines

Use the new blanking and frame size defines. This also fixed a bug in
these drivers: they assumed that the height for interlaced formats was
the field height, however height is the frame height. So the height
for a field is actually bt->height / 2.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/davinci/vpif_capture.c
drivers/media/platform/davinci/vpif_display.c