upstream: [media] usbtv: Fix deinterlacing
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 2 Jul 2013 10:56:38 +0000 (07:56 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:18 +0000 (11:55 +0900)
commit93bb7877e6d70add1c3a22ba5833f3c98bedaad9
tree56dd5d703d349185d52d112fc00ed5698b75b216
parentef3698c7295d4422ed9e7080d29e33e97a25f53f
upstream: [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>
Cc: stable@vger.kernel.org
drivers/media/usb/usbtv/usbtv.c