[media] usbtv: Fix deinterlacing
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 2 Jul 2013 10:56:38 +0000 (07:56 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 13:29:52 +0000 (10:29 -0300)
commita34cacab1565fdee77544b12407274ffb4d9daa0
treee5a8bd2aa38281401f3be684edae3e3b59daf6b4
parent81913283c80be8c0b7e038c26e2a611ab38394f1
[media] usbtv: Fix deinterlacing

The image data is laid out a bit more weirdly and thus needs more work to
properly interlace. What we get from hardware is V4L2_FIELD_ALTERNATE, but
since userspace support for it is practically nonexistent, thus we make
V4L2_FIELD_INTERLACED from it so that it's more easily interpreted.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/usbtv/usbtv.c